mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-13 02:00:35 +05:00
Code clean-up, remove trailing white spaces
This commit is contained in:
parent
8bdb4879a4
commit
ae18a6997b
@ -179,6 +179,7 @@ bool ShapeRec_FeatureDetector::ComputeContours( bool useROI, ShapeRec_Parameters
|
||||
float hranges[] = { 0, 180 };
|
||||
float sranges[] = { 0, 256 };
|
||||
float* ranges[] = { hranges, sranges };
|
||||
|
||||
sample_hist = cvCreateHist( 2, aColorFilterParameters->histSize, aColorFilterParameters->histType, ranges );
|
||||
|
||||
//calculate hue /saturation histogram
|
||||
@ -295,6 +296,7 @@ void ShapeRec_FeatureDetector::SetROI( const QRect& theRect )
|
||||
*/
|
||||
std::string ShapeRec_FeatureDetector::CroppImage()
|
||||
{
|
||||
#if 0
|
||||
IplImage* src = cvLoadImage(imagePath.c_str(),CV_LOAD_IMAGE_COLOR);
|
||||
|
||||
cvSetImageROI(src, rect);
|
||||
@ -310,6 +312,7 @@ std::string ShapeRec_FeatureDetector::CroppImage()
|
||||
cvReleaseImage(&cropped_image);
|
||||
|
||||
return "/tmp/cropped_image.bmp";
|
||||
#endif
|
||||
}
|
||||
|
||||
/*!
|
||||
|
Loading…
Reference in New Issue
Block a user