
Public Member Functions | |
| UnpackModule () | |
| Creates an instance of class UnpackModule. | |
| void | Dispose () |
| Releases all resources used by this class. | |
| override Image | Process (Image inputImage) |
| Converts a packed pixel format image into an unpacked Bayer or monochrome format. | |
| override void | ResetToDefault () |
| Resets all settings to their defaults. | |
| void | ReleaseBuffers () |
| Frees unused internal buffers. | |
| override void | Serialize (IArchive archive) |
| This function has no effect on the Unpack module. | |
| override void | Deserialize (IArchive archive) |
| This function has no effect on the Unpack module. | |
| virtual object | Process (object input) |
| Processes input data and returns the result.This function is called by the pipeline to process a unit of data. | |
Static Public Attributes | |
| const uint | DefaultTargetBitDepth = 8 |
| The default target bit depth. | |
| const ProcessingPolicy | DefaultProcessingPolicy = ProcessingPolicy.Fast |
| The default processing policy. | |
Properties | |
| override string | TypeId [get] |
| The unique type identifier for this module implementation.This should be a unique string identifying the specific implementation of the module. | |
| uint | TargetBitDepth = DefaultTargetBitDepth [get, set] |
| The target bit depth used during image processing. | |
| ProcessingPolicy | ProcessingPolicy = DefaultProcessingPolicy [get, set] |
| The current processing policy. | |
| override bool | IsEnabled [get, set] |
Gets a value indicating whether the unpack module is enabled. This property always returns true. | |
| int | Version = 1 [get] |
| The module version. | |
Unpack is an image pipeline module that converts packed pixel formats into corresponding unpacked Bayer or mono formats.
The unpack module is always enabled and cannot be disabled. It converts input images with packed pixel formats into their corresponding unpacked Bayer or monochrome formats. The output bit depth depends on the applied processing policy and the specified target bit depth.
Default values:
|
inline |
Creates an instance of class UnpackModule.
|
inlinevirtual |
This function has no effect on the Unpack module.
Reimplemented from ModuleBase.
|
inline |
Releases all resources used by this class.
|
inlinevirtualinherited |
Processes input data and returns the result.This function is called by the pipeline to process a unit of data.
Implements IModule.
Reimplemented in ColorMatrixTransformationModule, DebayerModule, DownsamplingModule, GainModule, HotpixelCorrectionModule, SharpeningModule, ToneCurveCorrectionModule, and TransformationModule.
Converts a packed pixel format image into an unpacked Bayer or monochrome format.
This function unpacks the input image from a packed format to its corresponding unpacked Bayer or monochrome format.
| inputImage | The packed input image to unpack. |
|
inline |
Frees unused internal buffers.
This module uses pre-allocated internal buffers to accelerate conversions. When the image size or pixel format changes, new buffers are allocated, which may cause the internal buffer pool to grow over time. This function can be used to release unused buffers and reduce memory usage.
|
inlinevirtual |
Resets all settings to their defaults.
Default values:
Reimplemented from ModuleBase.
|
inlinevirtual |
This function has no effect on the Unpack module.
Reimplemented from ModuleBase.
|
static |
The default processing policy.
|
static |
The default target bit depth.
|
getset |
Gets a value indicating whether the unpack module is enabled. This property always returns true.
This property cannot be changed.
The module remains enabled to guarantee correct operation of following modules.
Implements IModule.
The current processing policy.
|
getset |
The target bit depth used during image processing.
This value specifies the bit depth the module will aim for when unpacking packed pixel formats. The actual output bit depth depends on the selected Types.ProcessingPolicy:
This allows you to downsample, preserve, or enhance bit depth depending on your use case.
|
get |
The unique type identifier for this module implementation.This should be a unique string identifying the specific implementation of the module.
Implements IModule.
|
getinherited |
The module version.