CalcHist throw expection at gray & big pictures (Bug #2244)
Description
Hi all,
the code is here:
float range[]= { 0, 256} ;
const float*histRange =range;
bool uniform = true; bool accumulate = false;
/// Compute the histograms:
calcHist(&c1,1,0,Mat(),hist,1,&histSize,&histRange,uniform, accumulate);
I try different size gray(8 bit) image to calcuate histogram, but i find some throw expection at big picture.The attachments is picture file and catch error picture.
Associated revisions
Merge pull request #2244 from ilya-lavrenov:tapi_device_cache
History
Updated by wuling Chang over 12 years ago
I think i find out the problem.
This picture is 8 bits gray format!
But I am confused that, when using imread ,this format become 24 bits format!
src=imread(filename,-1);
Updated by Marina Kolpakova over 12 years ago
- Category set to trash
- Target version set to 2.4.3
- Status changed from Open to Cancelled
Updated by Andrey Kamaev over 12 years ago
- Target version deleted (
2.4.3)