1
0
Fork 0
mirror of https://github.com/ruby-opencv/ruby-opencv synced 2023-03-27 23:22:12 -04:00

changed some files

This commit is contained in:
ser1zw 2011-04-30 04:39:07 +09:00
parent 1ca99720c5
commit 76ba4506ca
2 changed files with 3 additions and 3 deletions

4
.gitignore vendored
View file

@ -10,7 +10,7 @@ GPATH
GRTAGS GRTAGS
GSYMS GSYMS
GTAGS GTAGS
OpenCV-2.2.0 opencv
ruby-1.9.2-p136 ruby-1.9.2-p180
ext/opencv/test.txt ext/opencv/test.txt
pkg/ pkg/

View file

@ -517,7 +517,7 @@ high_pass_range(const IplImage *pImage, float lostPercentage, int &outLow, int &
lostPercentage = 0; lostPercentage = 0;
} }
outHigh = (int) min( pImage->width, pImage->height ); outHigh = (int) MIN( pImage->width, pImage->height );
outLow = (int) (lostPercentage * outHigh); outLow = (int) (lostPercentage * outHigh);
} }