fixed ~200 warnings for windows
minor build system changes (now cuda code in opencv_core is compiled using CUDA_ARCH* cmake variables)
This commit is contained in:
@@ -63,7 +63,7 @@ void downsamplePoints( const Mat& src, Mat& dst, size_t count )
|
||||
{
|
||||
for( int j = i; j < dists.cols; j++ )
|
||||
{
|
||||
float dist = norm(src.at<Point3_<uchar> >(i) - src.at<Point3_<uchar> >(j));
|
||||
float dist = (float)norm(src.at<Point3_<uchar> >(i) - src.at<Point3_<uchar> >(j));
|
||||
dists.at<float>(j, i) = dists.at<float>(i, j) = dist;
|
||||
}
|
||||
}
|
||||
|
@@ -231,6 +231,9 @@ private:
|
||||
bool _initLogRetinaSampling(const double reductionFactor, const double samplingStrenght);
|
||||
bool _initLogPolarCortexSampling(const double reductionFactor, const double samplingStrenght);
|
||||
|
||||
ImageLogPolProjection(const ImageLogPolProjection&);
|
||||
ImageLogPolProjection& operator=(const ImageLogPolProjection&);
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
@@ -260,7 +260,7 @@ public:
|
||||
* @param sensitivity: strenght of the sigmoide
|
||||
* @param maxOutputValue: the maximum output value
|
||||
*/
|
||||
inline void normalizeGrayOutputCentredSigmoide(const type meanValue=(type)0.0, const type sensitivity=(type)2.0, const type maxOutputValue=(type)255.0){normalizeGrayOutputCentredSigmoide(meanValue, sensitivity, 255.0, this->Buffer(), this->Buffer(), this->getNBpixels());};
|
||||
inline void normalizeGrayOutputCentredSigmoide(const type meanValue=(type)0.0, const type sensitivity=(type)2.0, const type maxOutputValue=(type)255.0){ (void)maxOutputValue; normalizeGrayOutputCentredSigmoide(meanValue, sensitivity, 255.0, this->Buffer(), this->Buffer(), this->getNBpixels());};
|
||||
|
||||
/**
|
||||
* sigmoide image normalization function (saturates min and max values), in this function, the sigmoide is centered on low values (high saturation of the medium and high values
|
||||
|
Reference in New Issue
Block a user