threshold functions gives illegal error (Bug #1558)
Description
Mat bwin;
Mat dst;
Mat in = imread(inputimage);
cvtColor(in, bwin, CV_RGB2GRAY);
dst=Mat::eye(in.rows, in.cols, CV_8U);
threshold(bwin, dst, 50.0, 1.0, THRESH_BINARY);
This opencv code runs fine in opencv 2.1, but produces following error in opencv 2.3.1:
Illegal instruction
Associated revisions
Merge pull request #1558 from SpecLad:Wparentheses-equality
History
Updated by festhead - about 13 years ago
- Status changed from Open to Done
- (deleted custom field) set to duplicate
Updated by Andrey Kamaev about 13 years ago
- Status changed from Done to Cancelled
Updated by Andrey Kamaev almost 13 years ago
- Target version set to 2.4.0