cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Convert Image to Matrix
Convert Image to Matrix
Sep 5, 2011 at 8:56am UTC
prefix1990
(10)
I want to convert image(ex .bmp or .jpg ...) to binary matrix.
When image was loaded,I want to convert it to array as a matrix.At black point is 1 and white point is 0.
Sep 5, 2011 at 9:02am UTC
webJose
(2948)
In Windows you can use GetDIBits() (
http://msdn.microsoft.com/en-us/library/dd144879(VS.85).aspx
). If other, then I don't know.
Topic archived. No new replies allowed.