I would like to process a raw image using OpenCV. As far I know, it is not possible to open raw image using OpenCV. I fllowed the instaction.
My raw picture is RGB with 24bits (the first 3 bytes represents the color values of red, green and blue in the same pixel).
My aim is to be able to process my picture using OpenCV functions.
How should I reshape my raw data? I thought of (3, 1280, 1080) based on what i saw in the internet
How could I visualized the three pictures as "normal" picture? and how could I visualized he three pictures separably?
As small example I tried to reshape the bytes I read using:
a = np.arange(18).reshape(3,2,3, order='F')
a: [[[ 0 6 12]
[ 3 9 15]]
[[ 1 7 13]
[ 4 10 16]]
[[ 2 8 14]
[ 5 11 17]]]