hi.. i need help to convert bitmap images into binary format.. im using visual c++.. can i get some sourcecodes? i really need it for my project.. thank u...
any sourcecodes to process image such as segmentation will be very helpful to me.. thank u!!
actualy im doin my project on character recognition using neural network.. but i don know what kind of weight i need to use to train the images.. so i thought of converting it to binary value then use it as the weight to represent each character.. can help me?
Still not clear. Bitmap images already contain binary data, as drwho78 said.
Maybe you are trying to write a program that decodes the image file format. That depends on the image type. If that's true, then try this web page: **broken link removed**
i think you need to convert from RGB to YUV. what you need may be just the Y component which is equivalent to grayscale.. U,V are color components.
from the Y component, you can convert to binary by having threshold (e.g. above 127 -> 1, below 127 ->0). you can search for some other methods which may use more than 1 threshold.
for RGB <->YUV conversion formula:
**broken link removed**