Skip to content
Snippets Groups Projects
Commit 80a60126 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Fixing bug in tnlRegionOfInterest.

parent 735da4f5
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ setup( const tnlParameterContainer& parameters,
{
if( roiLeft >= image->getWidth() )
{
cerr << "ROI left column is larger than image width ( " << image->getWidth() << ")." << cerr;
cerr << "ROI left column is larger than image width ( " << image->getWidth() << ")." << endl;
return false;
}
this->left = roiLeft;
......@@ -68,7 +68,7 @@ setup( const tnlParameterContainer& parameters,
{
if( roiRight >= image->getWidth() )
{
cerr << "ROI right column is larger than image width ( " << image->getWidth() << ")." << cerr;
cerr << "ROI right column is larger than image width ( " << image->getWidth() << ")." << endl;
return false;
}
this->right = roiRight;
......@@ -80,7 +80,7 @@ setup( const tnlParameterContainer& parameters,
{
if( roiTop >= image->getHeight() )
{
cerr << "ROI top line is larger than image height ( " << image->getHeight() << ")." << cerr;
cerr << "ROI top line is larger than image height ( " << image->getHeight() << ")." << endl;
return false;
}
this->top = roiTop;
......@@ -92,7 +92,7 @@ setup( const tnlParameterContainer& parameters,
{
if( roiBottom >= image->getHeight() )
{
cerr << "ROI bottom line is larger than image height ( " << image->getHeight() << ")." << cerr;
cerr << "ROI bottom line is larger than image height ( " << image->getHeight() << ")." << endl;
return false;
}
this->bottom = roiBottom;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment