Class in Zendir.Classes | Inherits from CameraImageCodingModelBase

Declaration

class CameraImageDecodingModel;

Description

Creates an image decoding model for a camera that simulates the process by which electrical pulse signals are decoded back into RGB pixel data and reconstructed into image frames. The system simulates a real-world camera interface pipeline, including clock synchronization, signal quantization, and analog-to-digital conversion.


Properties

DeclaredDescription
EnableProgressiveDisplayWhen enabled, updates Out_CameraImageMsg.Data progressively as pixels are decoded.IsValid remains false until decoding completes.
FMFrequencyMaxThe maximum frequency for FM modulation decoding.Used to normalize frequency values to intensity.
FMFrequencyMinThe minimum frequency for FM modulation decoding.Used to normalize frequency values to intensity.
In_ElectricalSignalMsgThe input electrical signal message containing the most recent encoded image data.
IsDecodingWhether decoding is currently in progress.
Out_CameraImageMsgThe output camera image message containing the decoded image data.
OutputBitPixFITS BITPIX value for FITS output. Only used when OutputImageType is FITS.
OutputBScaleFITS BSCALE value for FITS output. Only used when OutputImageType is FITS.
OutputBZeroFITS BZERO value for FITS output. Only used when OutputImageType is FITS.
OutputImageTypeThe desired output image type for decoded frames.When set to FITS, the decoder wraps reconstructed pixel data in a FITS container.Defaults to RGB for backward compatibility.
ProgressiveDefaultBDefault B value for not-yet-decoded pixels when progressive display is enabled.
ProgressiveDefaultGDefault G value for not-yet-decoded pixels when progressive display is enabled.
ProgressiveDefaultRDefault R value for not-yet-decoded pixels when progressive display is enabled.
InheritedDescription
DefaultClockPeriodThe default clock period in seconds when frequency is not available.
In_CameraConfigMsgThe input camera configuration message that contains the resolution and other camera settings.
In_ClockSignalMsgThe clock signal message that controls the rate at which encoding/decoding occurs.The frequency of this signal determines how fast data is processed.
IsEnabledIs true if the object is currently enabled.
MessageBufferLengthThe size of the message buffer array used for electrical signal messages.When set, this will resize the buffer arrays, removing oldest messages when shrinking.
ModelProgressThe conversion progress of the model.
ModulationTypeThe type of modulation used for encoding/decoding (AM, FM, PWM, or PPM).
NameThe display name or tag of this object.
ParentThe currently attached parent object.

Methods

DeclaredDescription
FlushBufferFlushes the input signal message and buffer by clearing signal properties and removing buffer entries.
InheritedDescription
FindParentWithIDReturns an attached parent that satisfies the specified ID.
FindParentWithTypeReturns an attached parent that satisfies the specified type.
FindRootWithIDReturns a root object that satisfies the specified ID.
FindRootWithTypeReturns a root object that satisfies the specified type.