ajay_itbhu wrote:
Hi everyone, I want to read the pixel values of 2 similar images in
bitmap format like 2 continuous frame of a video for calculating the
median. But i dont know how to read the pixel values of bitmap
image.so please help me in doing this in c++.
"bitmap format", "video", "pixel values", are all undefined in C++.
You need to ask this in a newsgroup where "bitmap" is on topic, most
likely the newsgroup for your operating system.
Generally, reading a pixel in a pixmap involves opening a file,
reading its header, figuring out the layout of the file depending
on the format, then getting to the content part (image), reading the
(potentially encoded, packed) scan lines, then, using the offsets
calculated from the header information, extracting the color and/or
other information from the (decoded, unpacked) lines. All this
has nothing to do with the language itself.
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask