Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Bayers format to bmp format

Status
Not open for further replies.

yogi

Full Member level 6
Joined
Jan 8, 2005
Messages
339
Helped
22
Reputation
44
Reaction score
5
Trophy points
1,298
Activity points
2,177
bayer to bmp

How to convert Bayers format to bmp format

I am taking data from cmos image sensor

B G B G .............
R G R G ...............

I am taking the intensity of these, how can i convert this to bmp image,I am using windows, and parallel port interfacing. I know C and Java. How to edit image. I wanted to make a webcam.

Bibin JOhn
www.bibinjohn.tk
 

amraldo

Advanced Member level 4
Joined
Aug 29, 2004
Messages
1,185
Helped
145
Reputation
290
Reaction score
40
Trophy points
1,328
Location
Egypt
Activity points
5,880
how to convert bayer pattern to bmp

u must first know the headers of the bmp image format. i suggest the attached word file & the following book "Addison Wesley - Compressed Image File Formats-JPEG, PNG, GIF, XBM, BMP (Miano) (1999).pdf". they were very helpful in implementing a jpeg encoder using ANSI C with my parteners.
 

samsuffy

Member level 4
Joined
Jul 23, 2002
Messages
75
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Activity points
533
bayer format to bmp format

There is no public software that can convert directly Bayer pattern to BMP (RGB !) image.
The bayer pattern is the raw output of your sensor and need some processings related to the sensor characteristic (filter responses...)

you can find some help on color reconstruction following :
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top