Class PhotosensorTranscoder
The PhotosensorTranscoder is a specialized transcoder used when doing data processing on the output of the photosensor. Most of the photosensor transcoders will pack or format samples measured by the photosensor in a way that correspond to what a device API/firmware would do.
Every time it receives an inTranscode signal, it reads the output buffer of the photosensor and fills its output buffer according to the format selected by the developer.
Inherited Members
NodeRuntime._parent
NodeRuntime._portList
NodeRuntime._queryPath
NodeRuntime._tickCPUTimeNs
NodeRuntime.Initialize(SystemGraphComponent)
NodeRuntime.Enable(Scheduler.ClockState)
NodeRuntime.Disable()
NodeRuntime.FixedUpdate()
NodeRuntime.InitializeDynamicPorts(SystemGraphComponent)
Namespace: Mechatronics.SensorSDK
Assembly: solution.dll
Syntax
public abstract class PhotosensorTranscoder : Transcoder
Fields
Name | Description |
---|---|
frame |
Properties
Name | Description |
---|---|
SampleCountPerFrame | The number of samples (pixels, for images) per output frame. |
Methods
Name | Description |
---|---|
InitializeSensorSDKShaderKernel(string) | Load PhotosensorTranscoders.compute and find the kernel corresponding to the string given. |
IsValidForTranscode() | Confirms if the input frame and the compute shader are valid, to be invoked before execution. |