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:
parent
1ca99720c5
commit
76ba4506ca
2 changed files with 3 additions and 3 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -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/
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue