<Documentation code sample bug>Histogram Calculation (Bug #2422)
Description
Hi,
There becomes a heap allocation problem in the given code at the page :
how it is now :
/// Separate the image in 3 places ( B, G and R )
vector<Mat> bgr_planes;
split( src, bgr_planes );
how it should be :
/// Separate the image in 3 places ( B, G and R )
vector<Mat> bgr_planes*(3)*;
split( src, bgr_planes );
History
Updated by Andrey Kamaev about 12 years ago
The original code should work fine. Heap error usually means that OpenCV and your code are compiled with different versions of C++ runtime.
- Status changed from Open to Cancelled
- Target version set to 3.0