...
Block Diagram
Block Descriptions
DevWare Plug-in GrabFrame() Hook
Insert JPEG Header
Descramble
Deinterlace
YCbCr Column-wise Stereo Separation
Array Image Repacking
Bayer Decompression
DevWare Plug-in RawImageData() Hook
Multiple Exposure Combining
DevWare Plug-in LinearImageData() Hook
Normalize Bayer
Adaptive Local Tone Mapping
Clean JPEG
Optical Black
Auto-Exposure
Software Gain
Noise Removal
Lens Correction
Defect Correction
Local Green Balance
Noise Measurement
DevWare Plug-in ImageData() Hook
Auto-White Balance
Convert to RGB-48
Demosaic
Aperture Correction
Color Correction Matrix
Gamma Correction
Convert Original Pixel Type to RGB
ColorPipe Filter Plug-in
Digital Video Stabilization
Software Binning
Stereo Merge
Select Color Channel
Reorient
Noise Measurement
DevWare Plug-in ImageData() Hook
Auto-Focus
Calculate Focus Number
Embed Watch Data
Embed Overlays
Processing Images without a Device Connected
Anchor | ||||
---|---|---|---|---|
|
...
Below are descriptions of the blocks and which STATE variables control each one. See also the State STATE Variables document.
Anchor | ||||
---|---|---|---|---|
|
...
Remarks
A DevWare plug-in implementing the LinearImageData() hook can process the image here. If there was no multiple exposure combining, then this data is the same as the RawImageData() hook. The image format can't be changed.
Anchor |
---|
...
|
...
|
Remarks
Subtract black pedestal and rescale pixel data to 0…4095. (If raw data is less then 12 bits, then scale up to 12 bits. If raw data is more than 12 bits, then just use 12 of the bits and discard the rest, usually the 12 MSBs.) For all subsequent blocks, Bayer data is 12 bits with no pedestal.
STATE Variables
...
Exclusion Overlay | Exclusion window for AP0101 and similar. |
AWB Zones Enabled | AWB zone overlay for many SOCs. |
WB Zone Overlay | Software AWB zone overlay for old software algorithm. |
Auto Exposure Overlay | AE zone overlay for many SOCs. |
AE350 Zones | AE zone overlay for MT9V022 and similar. |
Array Imager Color Overlay | Color-code array imager focal planes. |
Show Defects | Defect overlay for MT9M111. |
Lens Correction Overlay | Show knee points for old SOCs with piecewise quadradic lens correction blocks. |
Lens Center Overlay | Show lens correction center. |
Auto Focus Overlay | Auto-focus window for many SOCs. |
MAE Overlay | Motion Auto Exposure overlay for MT9T111 and similar. |
CRA Overlay | Bullseye overlay. |
...
Anchor | ||||
---|---|---|---|---|
|
There are a couple of ways of processing an image without an actual device being attached;
- If you have a raw image file you want to run through the colorpipe:
ap_CreateFromImageFile()
ap_GrabFrame()
ap_ColorPipe() - If you have image data in memory imitating the output of a sensor:
ap_CreateVirtual(path_to_sensor_xsdat_file)
ap_SetImageFormat()
ap_ColorPipe()