GCGraph::maxFlow ignores first non-terminal edge (Bug #1086)


Added by Sergey Popov almost 14 years ago. Updated almost 14 years ago.


Status:Done Start date:
Priority:High Due date:
Assignee:Maria Dimashova % Done:

0%

Category:imgproc, video
Target version:-
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

modules/imgproc/src/gcgraph.hpp

See for loops on line 195, 297 and 353:

for( ei = v->first; ei != 0; ei = edgePtr[ei].next )

First non-terminal edge added to the graph (edgesr0) is not processed by this loops.


_gcgraph.diff - Bug fix (651 Bytes) Sergey Popov, 2011-05-23 01:53 pm


Associated revisions

Revision 4d569732
Added by Roman Donchenko over 11 years ago

Merge pull request #1086 from melody-rain:2.4_fix_oclMat_constructor

History

Updated by Vadim Pisarevsky almost 14 years ago

  • Status deleted (Open)

Updated by Maria Dimashova almost 14 years ago

Many thanks for the patch. The same fixes have been made in r5325.

  • Status set to Done
  • (deleted custom field) set to fixed

Also available in: Atom PDF