Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

Can not show threshold imange after using findcontour function

$
0
0
Hi everyone, I want to dislay threshold image to window using imshow function, it worked if I dont use findcontour function (by commenting) Mat imgInContour, imgThresholded; findContours(imgThresholded, contours, hierarchy, CV_RETR_LIST, CV_CHAIN_APPROX_SIMPLE, cvPoint(0, 0)); After using findContours, a binary image with edge (due to findContours processed) not Threshold Image as my desired, so findContours function changed the imgThresholded variable. Please help me to find a way to show the thresholded image separate with the contours. Thank in advance!

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>