Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

converting xrayImg to 1 channel image using

cv::cvtColor(xrayImg,xray1Channel,CV_BGR2GRAY);

solved the roblem.