Merge pull request #1405 from SpecLad:retina-ocl-warn
This commit is contained in:
commit
f88d8b9545
@ -1040,9 +1040,6 @@ const oclMat &MagnoRetinaFilter::runFilter(const oclMat &OPL_ON, const oclMat &O
|
||||
x##_slices[_SLICE_INDEX_] = x(getROI(_SLICE_INDEX_));\
|
||||
}
|
||||
|
||||
static float _LMStoACr1Cr2[] = {1.0, 1.0, 0.0, 1.0, -1.0, 0.0, -0.5, -0.5, 1.0};
|
||||
static float _LMStoLab[] = {0.5774f, 0.5774f, 0.5774f, 0.4082f, 0.4082f, -0.8165f, 0.7071f, -0.7071f, 0.f};
|
||||
|
||||
RetinaColor::RetinaColor(const unsigned int NBrows, const unsigned int NBcolumns, const int samplingMethod)
|
||||
: BasicRetinaFilter(NBrows, NBcolumns, 3),
|
||||
_RGBmosaic(NBrows * 3, NBcolumns, CV_32FC1),
|
||||
|
@ -160,14 +160,15 @@ public:
|
||||
};
|
||||
|
||||
protected:
|
||||
cv::ocl::oclMat _filterOutput;
|
||||
cv::ocl::oclMat _localBuffer;
|
||||
|
||||
int _NBrows;
|
||||
int _NBcols;
|
||||
unsigned int _halfNBrows;
|
||||
unsigned int _halfNBcolumns;
|
||||
|
||||
cv::ocl::oclMat _filterOutput;
|
||||
cv::ocl::oclMat _localBuffer;
|
||||
|
||||
std::valarray <float>_filteringCoeficientsTable;
|
||||
float _v0;
|
||||
float _maxInputValue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user