mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 09:25:45 +08:00
warnings under windows
This commit is contained in:
parent
c560a78c65
commit
46874d40df
@ -54,6 +54,7 @@ void FAST_t(InputArray _img, std::vector<KeyPoint>& keypoints, int threshold, bo
|
|||||||
const int K = patternSize/2, N = patternSize + K + 1;
|
const int K = patternSize/2, N = patternSize + K + 1;
|
||||||
#if CV_SSE2
|
#if CV_SSE2
|
||||||
const int quarterPatternSize = patternSize/4;
|
const int quarterPatternSize = patternSize/4;
|
||||||
|
(void)quarterPatternSize;
|
||||||
#endif
|
#endif
|
||||||
int i, j, k, pixel[25];
|
int i, j, k, pixel[25];
|
||||||
makeOffsets(pixel, (int)img.step, patternSize);
|
makeOffsets(pixel, (int)img.step, patternSize);
|
||||||
@ -64,6 +65,9 @@ void FAST_t(InputArray _img, std::vector<KeyPoint>& keypoints, int threshold, bo
|
|||||||
|
|
||||||
#if CV_SSE2
|
#if CV_SSE2
|
||||||
__m128i delta = _mm_set1_epi8(-128), t = _mm_set1_epi8((char)threshold), K16 = _mm_set1_epi8((char)K);
|
__m128i delta = _mm_set1_epi8(-128), t = _mm_set1_epi8((char)threshold), K16 = _mm_set1_epi8((char)K);
|
||||||
|
(void)K16;
|
||||||
|
(void)delta;
|
||||||
|
(void)t;
|
||||||
#endif
|
#endif
|
||||||
uchar threshold_tab[512];
|
uchar threshold_tab[512];
|
||||||
for( i = -255; i <= 255; i++ )
|
for( i = -255; i <= 255; i++ )
|
||||||
|
@ -411,7 +411,7 @@ protected:
|
|||||||
enum { DO_CANNY_PRUNING = 1, SCALE_IMAGE = 2,
|
enum { DO_CANNY_PRUNING = 1, SCALE_IMAGE = 2,
|
||||||
FIND_BIGGEST_OBJECT = 4, DO_ROUGH_SEARCH = 8 };
|
FIND_BIGGEST_OBJECT = 4, DO_ROUGH_SEARCH = 8 };
|
||||||
|
|
||||||
friend struct CascadeClassifierInvoker;
|
friend class CascadeClassifierInvoker;
|
||||||
|
|
||||||
template<class FEval>
|
template<class FEval>
|
||||||
friend int predictOrdered( CascadeClassifier& cascade, Ptr<FeatureEvaluator> &featureEvaluator, double& weight);
|
friend int predictOrdered( CascadeClassifier& cascade, Ptr<FeatureEvaluator> &featureEvaluator, double& weight);
|
||||||
|
Loading…
Reference in New Issue
Block a user