Skip to content
Snippets Groups Projects
Commit 8cb96644 authored by Julien Michel's avatar Julien Michel
Browse files

ENH: Rewrite GetOverviewsInfo() method to report available resolutions more...

ENH: Rewrite GetOverviewsInfo() method to report available resolutions more consistently (JPEG2000ImageIO)
parent 08961764
No related branches found
No related tags found
No related merge requests found
......@@ -920,7 +920,8 @@ unsigned int JPEG2000ImageIO::GetOverviewsCount()
itkExceptionMacro(<< "Available resolutions in JPEG2000 is empty");
}
return tempResList.size() - 1;
// count includes full resolution
return tempResList.size();
}
// Read image
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment