output mask from cv::findHomography only contains zeroes (Bug #236)


Added by David Ullmann almost 15 years ago. Updated almost 15 years ago.


Status:Done Start date:
Priority:High Due date:
Assignee:- % Done:

0%

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

Description

changing line 246 in cvfundam.cpp from

tempMask = cvCloneMat(mask);

to

tempMask = cvCreateMatHeader(1, count, CV_8U);
cvSetData(tempMask, mask->data.ptr, 0); }

solves the problem for me.


Associated revisions

Revision 35ac9593
Added by Andrey Kamaev about 12 years ago

Merge pull request #236 from asmorkalov:javadoc_fix

Revision a23fe1ce
Added by Vadim Pisarevsky about 10 years ago

Merge pull request #236 from jet47:cuda-arithm-refactoring

History

Updated by anonymous - almost 15 years ago

thanks! fixed in r2960

  • Status changed from Open to Done
  • (deleted custom field) set to fixed

Also available in: Atom PDF