![]() |
IDS peak ICV v1.0.0
|
#include <peak_icv/pipeline/detail/peak_icv_unpack_module.hpp>


Public Member Functions | |
| UnpackModule () | |
| Creates an instance of class UnpackModule. | |
| ~UnpackModule () override | |
| UnpackModule (const UnpackModule &other)=delete | |
| Copy constructor for class UnpackModule is deleted. | |
| UnpackModule (UnpackModule &&other) noexcept | |
| UnpackModule & | operator= (const UnpackModule &other)=delete |
| Copy assignment for class UnpackModule is deleted. | |
| UnpackModule & | operator= (UnpackModule &&other) noexcept |
| void | Serialize (peak::common::serialization::IArchive &archive) const override |
| This function has no effect on the Unpack module. | |
| void | Deserialize (const peak::common::serialization::IArchive &archive) override |
| This function has no effect on the unpack module. | |
| void | SetEnabled (bool enable) override |
| Does nothing for the unpack module. | |
| bool | IsEnabled () const override |
| Returns true since the unpack module is always enabled. | |
| const char * | GetType () const override |
| Returns the type of the module for serialization purposes. | |
| void | ResetToDefault () override |
| Does nothing for the unpack module. | |
| void | SetTargetBitDepth (size_t bitDepth) |
| Set the target bit depth. | |
| void | SetProcessingPolicy (ProcessingPolicy policy) |
| Set the processing policy. | |
| peak::icv::Image | Process (const peak::icv::Image &input) const |
| Converts a packed pixel format image into an unpacked Bayer or mono format. | |
| peak::common::Any | Process (const peak::common::Any &input) const override |
| Converts a packed pixel format image into an unpacked Bayer or mono format. | |
| void | ReleaseBuffers () const |
| Frees unused internal buffers. | |
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, preserving the original bit depth of the image.
Definition at line 38 of file peak_icv_unpack_module.hpp.
|
inline |
Creates an instance of class UnpackModule.
Definition at line 229 of file peak_icv_unpack_module.hpp.
|
inlineoverride |
Definition at line 236 of file peak_icv_unpack_module.hpp.
|
delete |
Copy constructor for class UnpackModule is deleted.
|
inlinenoexcept |
Definition at line 244 of file peak_icv_unpack_module.hpp.
|
inlineoverridevirtual |
This function has no effect on the unpack module.
Implements ISerializable.
Definition at line 264 of file peak_icv_unpack_module.hpp.
|
inlineoverridevirtual |
Returns the type of the module for serialization purposes.
Implements IModule.
Definition at line 279 of file peak_icv_unpack_module.hpp.
|
inlineoverridevirtual |
Returns true since the unpack module is always enabled.
Implements IModule.
Definition at line 274 of file peak_icv_unpack_module.hpp.
|
delete |
Copy assignment for class UnpackModule is deleted.
|
inlinenoexcept |
Definition at line 249 of file peak_icv_unpack_module.hpp.
|
inlineoverridevirtual |
Converts a packed pixel format image into an unpacked Bayer or mono format.
This function unpacks the input image from a packed format to its corresponding unpacked Bayer or monochrome format, preserving the input bit depth.
| input | The packed input image to unpack. |
| peak::common::InvalidCastException | If the input cast to peak::icv::Image failed. |
Implements IModule.
Definition at line 439 of file peak_icv_unpack_module.hpp.
|
inline |
Converts a packed pixel format image into an unpacked Bayer or mono format.
This function unpacks the input image from a packed format to its corresponding unpacked Bayer or monochrome format, preserving the input bit depth.
| input | The packed input image to unpack. |
Definition at line 421 of file peak_icv_unpack_module.hpp.
|
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.
Definition at line 464 of file peak_icv_unpack_module.hpp.
|
inlineoverridevirtual |
Does nothing for the unpack module.
Implements IModule.
Definition at line 408 of file peak_icv_unpack_module.hpp.
|
inlineoverridevirtual |
This function has no effect on the Unpack module.
Implements ISerializable.
Definition at line 259 of file peak_icv_unpack_module.hpp.
|
inlineoverridevirtual |
Does nothing for the unpack module.
Implements IModule.
Definition at line 269 of file peak_icv_unpack_module.hpp.
|
inline |
Set the processing policy.
Defines how the bit depth is handled during image processing — whether it is increased, decreased, or preserved.
| policy | The desired processing policy |
Definition at line 416 of file peak_icv_unpack_module.hpp.
|
inline |
Set the target bit depth.
Specifies the desired bit depth for image processing. Whether the actual bit depth is increased, decreased, or preserved depends on the selected processing policy and the bit depth of the input image.
| bitDepth | The target bit depth to use during processing. |
Definition at line 411 of file peak_icv_unpack_module.hpp.