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!