Ask Your Question

Revision history [back]

Scan first row of you image when pixel value is 0 i.e. black and then take above part from that row as region of interest and so your final output. I hope it will help you!!