AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2001.05.17 20:14 "", by Siddarth S Kalasapur
2001.05.18 00:00 "Re: Removing dark areas", by
2001.05.22 23:23 "Re: Removing dark areas", by Siddarth S Kalasapur
2001.05.23 12:53 "RE: Removing dark areas", by Chris Losinger
2001.05.29 21:33 "RE: Removing dark areas", by Siddarth S Kalasapur

2001.05.29 21:33 "RE: Removing dark areas", by Siddarth S Kalasapur

Howdy Folks!

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,
Siddarth