www.pudn.com > GPUVision_5-13-05-2.zip > IsoFindMaximum.h
#ifndef _ISO_FIND_MAXIMUM_H
#define _ISO_FIND_MAXIMUM_H
#include "MtxOps.h"
class IsoFindMaximum : public MtxOps {
//Multiplication between Sparse Matrix and a vetor.
//We supposed every diagonal elements are 1,
//and each row has 4 elements except the diagonal elements.
//(each elements are adjacent elements in org. img. and stored in RGBA channel.)
private:
int _height;
int _width;
CGparameter _textureAParam, _kParam, _borderParam;
void _initParameters();
public:
IsoFindMaximum(CGcontext context = NULL);
~IsoFindMaximum();
virtual GLfloat* interpreteResult (GLfloat *colBuffer);
virtual void execute(GPUVision *outImg, int arg1);
virtual void execute(GPUVision *outImg, int arg1, bool removeBorder);
void showResultMtx(GPUVision* gpuVis, int m, int n);
};
#endif