First time here? Check out the FAQ!
answered 2016-10-19 05:12:11 -0600
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!!