Home  |  Site Map  |  Contact   


Product Support
: Knowledge Base

Our on-line Knowledge Base contains answers to some of the most common support questions. It has information about all PGR products and was developed to help customers resolve product issues. It is constantly updated, expanded, and refined to ensure that our customers have access to the latest information.

Knowledge Base Search

Search For: In:
Any Word All Words Exact Phrase
Show:
 
Relationship between color processing and number of bits per pixel.
Article 104: Relationship between color processing and number of bits per pixel.

SUMMARY:
This article describes how color processing, performed on the PC, can affect the number of bits per pixel of the image.

APPLICABLE PRODUCTS :
Dragonfly (NANC) •  Scorpion •  Flea (NANC) •  Chameleon •  Dragonfly Express (NANC) •  Firefly MV • 

ANSWER:
When selecting different stipple formats (with the flycaptureSetColorTileFormat() function), this does not affect the programming of the CCD sensorís Bayer tile mapping. The Bayer tiling on the chip is fixed - when setting different stipple formats, this simply changes the interpretation of the image pixels for color processing.

When color processing is disabled via the flycaptureSetColorProcessingMethod() function, an 8-bit per pixel image is delivered (unless the camera is in 16-bit mode, or Y16, then it's 16 bits/pixel), so for a 640x480 image, 640 * 480 * 1 byte of memory is used. Also, when calling any of the flycaptureStippledTo*() functions, the 8 bit image is upsampled to 24 or 32 bits. For example, the flycaptureStippledtoBGR() function yields 24-bit BGR (in Windows format, where R and B are reversed), while flycaptureStippledToBGRU() yields 32-bit BGRU pixels (where U stands for Unused - although it usually stands for Alpha, but the byte doesnít contain any meaningful information).

The call to flycaptureGrabImage() always returns the raw 8-bit Bayer stippled image (unless the camera is in Y16 mode), then as a secondary processing step, a call to flycaptureStippledToBGR*() retrieves the color buffer.

RELATED ARTICLES :
KB Article 33: Different color processing algorithms.
KB Article 37: Writing color processing software and color interpolation algorithms.
KB Article 89: How is color processing performed on my cameraís images?
KB Article 149: PGR FlyCapture SDK color processing algorithm performance.
KB Article 187: How to determine and interpret the Bayer Tile pixel format of a PGR camera.
KB Article 343: Achieving greater color balance across multiple cameras


ARTICLE INFO:
Article ID:
104
Published:
12:00:00 AM
Last Modified:
4/3/2009 11:41:17 AM



ARTICLE FEEDBACK:
How useful was this article?
less
more
1
2
3
4
5
Additional comments or suggestions?

Go Back Printable Version Email This Article Bookmark This Article

 
 
 

Point Grey Fly Capture
FlyCapture 2.7 Release 8 is available for download!
Download Software