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:
parent
42c6f5cc37
commit
14659f0f90
39 changed files with 119 additions and 172 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue