Advertisement

Binary Recongition

Started by April 13, 2003 06:39 PM
0 comments, last by That_0ne_Guy 21 years, 4 months ago
Ok, I have a grayscale JPEG image of a binary data page(lighter intesity representing 0s and darker intensity representing 1s) that I want to use as a control. I then have another JPEG image of the exact same thing except less defined. How would I be able to calculate the decrease in intensity from the the control image to the second image. Should I use a Neural Network? Also, how would I ''read in'' the JPEG file?
You don''t need AI for this problem. You''d need to integrate the intensity over the two jpeg images and compare these values... which isn''t that hard, since it''s just a compressed, more detailed (read more information rich) version of a bitmap. I''d suggest first converting to an uncompressed format, e.g. GIF. Then simply add up all pixel values in the image data array (I''ve forgotten how long the GIF header is... you should be able to find the file format online).

Timkin

This topic is closed to new replies.

Advertisement