SWITCH TO MANUAL
Class in Zendir.Classes | Inherits from CameraImageCodingModelBase
Declaration
class CameraImageEncodingModel ;
Description
Creates an image encoding model for a camera that simulates the process
by which RGB pixel data from a digital camera sensor is encoded into electrical
pulse signals. The system simulates a real-world camera interface pipeline,
including clock synchronization, signal quantization, and digital-to-analog conversion.
Properties
Declared Description FMFrequencyMax The maximum frequency for FM modulation encoding.Used to map intensity values to frequency range. FMFrequencyMin The minimum frequency for FM modulation encoding.Used to map intensity values to frequency range. In_CameraImageMsg The input camera image message containing the image data to be encoded. IsEncoding Whether encoding is currently in progress. Out_ElectricalSignalMsg The output electrical signal message containing the most recent encoded image data.
Inherited Description DefaultClockPeriod The default clock period in seconds when frequency is not available. In_CameraConfigMsg The input camera configuration message that contains the resolution and other camera settings. In_ClockSignalMsg The clock signal message that controls the rate at which encoding/decoding occurs.The frequency of this signal determines how fast data is processed. IsEnabled Is true if the object is currently enabled. MessageBufferLength The size of the message buffer array used for electrical signal messages.When set, this will resize the buffer arrays, removing oldest messages when shrinking. ModelProgress The conversion progress of the model. ModulationType The type of modulation used for encoding/decoding (AM, FM, PWM, or PPM). Name The display name or tag of this object. Parent The currently attached parent object.
Methods
Declared Description FlushBuffer Flushes the output signal message and all registered decoder buffers. LinkDecoder Links this encoder to a decoder model. The encoder will write to the decoder’s buffer array. UnlinkDecoder Unlinks this encoder from a decoder model.