Code clean-up, remove trailing white spaces

This commit is contained in:
Pascal Obry 2020-05-13 14:04:44 +02:00
parent 8bdb4879a4
commit ae18a6997b
2 changed files with 56 additions and 53 deletions

View File

@ -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
}
/*!