Ask Your Question
-1

Conversion JPEG to raw image

asked 2020-07-23 06:01:54 -0600

updated 2020-07-23 06:34:32 -0600

Hi All,

I have a requirement to convert jpeg image to raw image for further processing. Could you please guide how ican i do this through OPEN CV

Thanks in advance, Abhishek

edit retag flag offensive close merge delete

Comments

If by "raw" you mean a bayer "image", you can't, and that would be a silly thing to do

mvuori gravatar imagemvuori ( 2020-07-23 07:52:46 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2020-07-23 06:22:31 -0600

berak gravatar image

you probably should start reading the opencv tutorials

then, a simple

Mat img = imread("my.jpg")

will give you a decoded image, you can work on further

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-07-23 06:01:54 -0600

Seen: 1,277 times

Last updated: Jul 23 '20