Fix build error on Mac

pull/1309/head
peng xiao 12 years ago
parent 3cccded86d
commit 9b20b51389
  1. 8
      modules/bioinspired/src/retina_ocl.cpp

@ -733,7 +733,7 @@ void BasicRetinaFilter::_verticalCausalFilter_Irregular(oclMat &outputFrame, con
openCLExecuteKernel(ctx, &retina_kernel, "verticalCausalFilter_Irregular", globalSize, localSize, args, -1, -1);
}
void cv::bioinspired::ocl::normalizeGrayOutput_0_maxOutputValue(oclMat &inputOutputBuffer, const float maxOutputValue)
void normalizeGrayOutput_0_maxOutputValue(oclMat &inputOutputBuffer, const float maxOutputValue)
{
double min_val, max_val;
ocl::minMax(inputOutputBuffer, &min_val, &max_val);
@ -743,7 +743,7 @@ void cv::bioinspired::ocl::normalizeGrayOutput_0_maxOutputValue(oclMat &inputOut
ocl::add(inputOutputBuffer, offset, inputOutputBuffer);
}
void cv::bioinspired::ocl::normalizeGrayOutputCentredSigmoide(const float meanValue, const float sensitivity, oclMat &in, oclMat &out, const float maxValue)
void normalizeGrayOutputCentredSigmoide(const float meanValue, const float sensitivity, oclMat &in, oclMat &out, const float maxValue)
{
if (sensitivity == 1.0f)
{
@ -771,7 +771,7 @@ void cv::bioinspired::ocl::normalizeGrayOutputCentredSigmoide(const float meanVa
openCLExecuteKernel(ctx, &retina_kernel, "normalizeGrayOutputCentredSigmoide", globalSize, localSize, args, -1, -1);
}
void cv::bioinspired::ocl::normalizeGrayOutputNearZeroCentreredSigmoide(oclMat &inputPicture, oclMat &outputBuffer, const float sensitivity, const float maxOutputValue)
void normalizeGrayOutputNearZeroCentreredSigmoide(oclMat &inputPicture, oclMat &outputBuffer, const float sensitivity, const float maxOutputValue)
{
float X0cube = sensitivity * sensitivity * sensitivity;
@ -791,7 +791,7 @@ void cv::bioinspired::ocl::normalizeGrayOutputNearZeroCentreredSigmoide(oclMat &
openCLExecuteKernel(ctx, &retina_kernel, "normalizeGrayOutputNearZeroCentreredSigmoide", globalSize, localSize, args, -1, -1);
}
void cv::bioinspired::ocl::centerReductImageLuminance(oclMat &inputoutput)
void centerReductImageLuminance(oclMat &inputoutput)
{
Scalar mean, stddev;
cv::meanStdDev((Mat)inputoutput, mean, stddev);

Loading…
Cancel
Save