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

removed some unused codes, and uniformed code format

This commit is contained in:
ser1zw 2011-08-12 03:04:22 +09:00
parent 42c6f5cc37
commit 14659f0f90
39 changed files with 119 additions and 172 deletions

View file

@ -313,7 +313,7 @@ rb_smoothness(int argc, VALUE *argv, VALUE self)
pFourierImage = create_fourier_image(p64DepthImage);
}
Smoothness result = compute_smoothness(pFourierImage, f_lowFreqRatio, f_blankDensity, f_messyDnsity,
Smoothness result = compute_smoothness(pFourierImage, f_lowFreqRatio, f_blankDensity, f_messyDensity,
f_highFreqRatio, outLowDensity, outHighDensity);
cvReleaseImage(&pFourierImage);
@ -339,7 +339,7 @@ rb_smoothness(int argc, VALUE *argv, VALUE self)
*/
Smoothness
compute_smoothness(const IplImage *pFourierImage, const double lowFreqRatio, const double blankDensity,
const double messyDensity, const double highFreqRatio, double &outLowDensity
const double messyDensity, const double highFreqRatio, double &outLowDensity,
double &outHighDensity)
{
int low, high;