eBUS SDK .NET API
  • Getting Started
    • Getting started with the eBUS SDK .NET API
    • Configuring Your IDE
    • Receiving Data from a GigE Vision or USB3 Vision Transmitter
    • Sample Applications
    • GigE Vision Device Communication Parameters
    • USB3 Vision Device Communication Parameters
    • PvStream USB3 Vision Parameters
    • PvStream GigE Vision Parameters
  • eBUS SDK .NET API Reference
    • API Overview
    • eBUSDotNet
    • eBUSDotNetReceive
    • eBUSDotNetEdge
Search Results for

    Show / Hide Table of Contents
      • IPvDeviceAdapter
      • IPvDeviceAdapterSwigInterface
      • IUpdaterObserver
      • OnAcquisitionStateChanged
      • OnBufferCreated
      • OnBufferDeleted
      • OnBufferDisplay
      • OnBufferDone
      • OnBufferLog
      • OnBufferRetrieved
      • OnBufferTextOverlay
      • OnBufferTooSmall
      • OnCmdLinkRead
      • OnCmdLinkReadSafe
      • OnCmdLinkWrite
      • OnCmdLinkWriteSafe
      • OnEvent
      • OnEventGenICam
      • OnEventSafe
      • OnLinkDisconnectedHandler
      • OnLinkReconnectedHandler
      • OnReset
      • OnStart
      • OnStop
      • PvAccessType
      • PvAcquisitionState
      • PvAcquisitionStateEventSink
      • PvAcquisitionStateManager
      • PvActionAckStatusEnum
      • PvBayerFilterType
      • PvBiColorFilterType
      • PvBufferConverter
      • PvBufferConverterRGBFilter
      • PvBufferFormatType
      • PvBufferWriter
      • PvCameraBridge
      • PvCameraBridgeEventSink
      • PvCameraBridgeType
      • PvConfigurationReader
      • PvConfigurationWriter
      • PvDataReceiverType
      • PvDevice
      • PvDeviceAdapter
      • PvDeviceEventSink
      • PvDeviceEventSinkSwigInterface
      • PvDeviceGEV
      • PvDeviceI2CBus
      • PvDevicePleoraProtocol
      • PvDeviceSPIBus
      • PvDeviceSerial
      • PvDeviceSerialPort
      • PvDeviceSerialPortEchoSink
      • PvDeviceU3V
      • PvDisplayThread
      • PvGenFUUpdater
      • PvParity
      • PvPipeline
      • PvPipelineEventSink
      • PvProperty
      • PvPropertyList
      • PvSerialPortConfiguration
      • PvStream
      • PvStreamEventSink
      • PvStreamGEV
      • PvStreamInfo
      • PvStreamRTP
      • PvStreamType
      • PvStreamU3V
      • PvThreadPriority
      • PvTruesenseConverter
      • SWIGTYPE_p_IPvDeviceEventSink
      • SWIGTYPE_p_PvDeinterlacingType
      • SWIGTYPE_p_PvSessionInfoSDP
      • SWIGTYPE_p_PvStringList
      • SWIGTYPE_p_PvTapGeometryEnum
      • SWIGTYPE_p_bool
      • SWIGTYPE_p_double
      • eBUSDotNetReceive

    Class PvTruesenseConverter

    Converts images from TRUESENSE(TM) to RGB.

    Inheritance
    object
    PvTruesenseConverter
    Implements
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: eBUSDotNetReceive
    Assembly: eBUSDotNetReceive.dll
    Syntax
    public class PvTruesenseConverter : IDisposable
    Remarks

    This class can be used to convert Sparse Color Filter TRUESENSE(TM) images (SCF1) into RGB8 or RGBa8. The image quality is expected to be much better than SCF1 conversion performed using PvBufferConverter.

    The intense image processing algorithms used to obtain this high quality yields much higher 
    processing times. Various gain and filtering parameters can be used to tweak the image conversion.
    
    SCF1 12-unpacked is recommended as input pixel type for slightly better processing times.
    Other SCF1 pixel types are also supported but must internally be converted to 
    12-unpacked before being converted to RGB.
    

    Constructors

    View Source

    PvTruesenseConverter()

    Constructor

    Declaration
    public PvTruesenseConverter()

    Fields

    View Source

    swigCMemOwn

    Determines who is responsible for deleting the underlying C++ object.

    Declaration
    protected bool swigCMemOwn
    Field Value
    Type Description
    bool

    Properties

    View Source

    BlueGain

    Gets or sets the blue channel gain.

    Declaration
    public float BlueGain { get; set; }
    Property Value
    Type Description
    float
    View Source

    DarkFloor

    Gets or sets the dark floor level for the Truesense converter.

    Declaration
    public int DarkFloor { get; set; }
    Property Value
    Type Description
    int
    View Source

    GlobalGain

    Gets or sets the global gain applied to all channels.

    Declaration
    public float GlobalGain { get; set; }
    Property Value
    Type Description
    float
    View Source

    GreenGain

    Gets or sets the green channel gain.

    Declaration
    public float GreenGain { get; set; }
    Property Value
    Type Description
    float
    View Source

    HighLumaNoise

    Gets or sets the high luminance noise reduction level.

    Declaration
    public float HighLumaNoise { get; set; }
    Property Value
    Type Description
    float
    View Source

    LowLumaNoise

    Gets or sets the low luminance noise reduction level.

    Declaration
    public float LowLumaNoise { get; set; }
    Property Value
    Type Description
    float
    View Source

    MaxSharpen

    Gets or sets the maximum sharpening level.

    Declaration
    public float MaxSharpen { get; set; }
    Property Value
    Type Description
    float
    View Source

    PanGain

    Gets or sets the panchromatic channel gain.

    Declaration
    public float PanGain { get; set; }
    Property Value
    Type Description
    float
    View Source

    RedGain

    Gets or sets the red channel gain.

    Declaration
    public float RedGain { get; set; }
    Property Value
    Type Description
    float
    View Source

    SharpenParam

    Gets or sets the sharpening parameter.

    Declaration
    public float SharpenParam { get; set; }
    Property Value
    Type Description
    float

    Methods

    View Source

    Convert(PvImage, ref PvImage)

    Convert a buffer from one format to another.

    Declaration
    public PvResult Convert(PvImage aSource, ref PvImage aDestination)
    Parameters
    Type Name Description
    PvImage aSource

    The original image.

    PvImage aDestination

    The new image.

    Returns
    Type Description
    PvResult

    Includes:

    • #PvResult::Code::OK
    • #PvResult::Code::INVALID_DATA_FORMAT
    • #PvResult::Code::GENERIC_ERROR
    View Source

    Convert(PvImage, ref PvImage, bool)

    Convert a buffer from one format to another.

    Declaration
    public PvResult Convert(PvImage aSource, ref PvImage aDestination, bool aReallocIfNeeded)
    Parameters
    Type Name Description
    PvImage aSource

    The original image.

    PvImage aDestination

    The new image.

    bool aReallocIfNeeded

    Depending on the conversion, the memory footprint of the new image may be greater than aDestination current size. By setting this parameter to true, the buffer is re-allocated if aDestination is too small. If aDestination memory buffer is not owned by the #PvBuffer and is too small, #Convert fails.

    Returns
    Type Description
    PvResult

    Includes:

    • #PvResult::Code::OK
    • #PvResult::Code::INVALID_DATA_FORMAT
    • #PvResult::Code::GENERIC_ERROR
    View Source

    Dispose()

    Dispose.

    Declaration
    public void Dispose()
    View Source

    Dispose(bool)

    Dispose

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing
    View Source

    ~PvTruesenseConverter()

    Destructor.

    Declaration
    protected ~PvTruesenseConverter()
    View Source

    IsConversionSupported(PvPixelType, PvPixelType)

    Returns true if this converter class can be used for a source-to-destination conversion.

    Declaration
    public static bool IsConversionSupported(PvPixelType aSource, PvPixelType aDestination)
    Parameters
    Type Name Description
    PvPixelType aSource

    Pixel type of the source buffer.

    PvPixelType aDestination

    Pixel type of the destination buffer.

    Returns
    Type Description
    bool

    True if the conversion is supported, false if not.

    Implements

    IDisposable
    • View Source
    In this article
    Back to top Generated by DocFX