2001.05.29 21:33 "RE: Removing dark areas", by Siddarth S Kalasapur
Sorry for the frequent mails regarding the same problem. I have one question. I read each line of the image into a variable 'buf', of type t_buf. I now have to access each pixel of this line, whcih is in the variable buf. If I find a 0 followed by a 1, or vice versa, I have to stop. Can someone suggest a mechanism for the same?? My idea is that once I find a 0 after a series of 1s, I detect an edge. Since I am dealing with bilevel images only, this is a good enough solution for me.
Can someone who has already encountered such a situation before be kind enough to help me with this???
Thanks a ton, and regards,