I have some problem with image processing (24-color bmp and 8-bit grayscale).
I have read a *.bmp file.
Can anyone help to rotate and flip bitmap image(using C++, without openCV library)?
Jump to Post
Represent the image as a 2D array of pixels. Make a new blank 2D array of the same size.
For all width and all height, copy pixel[i, j] to newpixel[height-i, j] (remember to start counting at zero).
Rotation is a similar simple transformation. This is programming. The art, craft …
All 2 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.