threshold functions gives illegal error (Bug #1558)


Added by festhead - about 13 years ago. Updated almost 13 years ago.


Status:Cancelled Start date:
Priority:High Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:core
Target version:2.4.0
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

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

Revision 1b512706
Added by Roman Donchenko over 11 years ago

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

Also available in: Atom PDF