View Full Version : RGB to YIQ
January 8, 2004, 16:04:57
If I have a *.BMP pic. which is RGB24-bit. How can i convert it into YIQ format? Although I have the formula, I don't know how to manipulate the pixel value.. what should i do?
1. how to load the BMP into ram?
2. how to get a RGB value of a particular pixel(e.g. x=3, y=5)?
3. how to save the value back to form another BMP file?
any library that i can use or reference to?
January 9, 2004, 11:11:48
A good source for source codes of common problems is htttp:\\www.codeguru.com.
With the Windows API function “LoadImage()” you can load an image from file. Please refer to the MSDN library and search for “LoadImage”.
you can retrieve the properties of the loaded bitmap by calling the Windows API function “GetObject()“.
January 13, 2004, 09:51:12
I found another source, where you could get some help about image processing alghorithms:
Go to google, click on Groups, select comp and then sci.image.processing
Go to google, click on Groups, select comp and then graphics.algorithm
Powered by vBulletin® Version 4.2.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.