Skip to content

pylon/_ImageFormatConverterParams.h#

A parameter class containing all parameters as members that are available for Image Format Converter. More…

Namespaces#

Name
Basler_ImageFormatConverterParams

Classes#

Name
class Basler_ImageFormatConverterParams::CImageFormatConverterParams_Params_v7_1_0
A parameter class containing all parameters as members that are available for Image Format Converter.
class Basler_ImageFormatConverterParams::CImageFormatConverterParams_Params
A parameter class containing all parameters as members that are available for Image Format Converter.

Detailed Description#

A parameter class containing all parameters as members that are available for Image Format Converter.

The parameter class is used by the Pylon::CImageFormatConverter class. The Pylon::CImageFormatConverter creates new images by converting a source image to a different format. Once the format converter is configured it can convert almost all image formats supported by Basler camera devices. The Utility_ImageFormatConverter code sample shows the use of the Image Format Converter class.

Source code#

//-----------------------------------------------------------------------------
//  Basler pylon SDK
//  Copyright (c) 2010-2022 Basler AG
//  http://www.baslerweb.com
//-----------------------------------------------------------------------------

//-----------------------------------------------------------------------------
//  This file is generated automatically
//  Do not modify!
//-----------------------------------------------------------------------------

#ifndef BASLER_PYLON_IMAGEFORMATCONVERTERPARAMS_H
#define BASLER_PYLON_IMAGEFORMATCONVERTERPARAMS_H

#pragma once

// common parameter types
#include <pylon/ParameterIncludes.h>
#include <pylon/EnumParameterT.h>

namespace Basler_ImageFormatConverterParams
{
    //**************************************************************************************************
    // Enumerations
    //**************************************************************************************************
    enum InconvertibleEdgeHandlingEnums
    {
        InconvertibleEdgeHandling_Clip,  
        InconvertibleEdgeHandling_Extend,  
        InconvertibleEdgeHandling_SetZero  
    };

    enum MonoConversionMethodEnums
    {
        MonoConversionMethod_Gamma,  
        MonoConversionMethod_Truncate  
    };

    enum OutputBitAlignmentEnums
    {
        OutputBitAlignment_LsbAligned,  
        OutputBitAlignment_MsbAligned  
    };

    enum OutputOrientationEnums
    {
        OutputOrientation_BottomUp,  
        OutputOrientation_TopDown,  
        OutputOrientation_Unchanged  
    };




    //**************************************************************************************************
    // Parameter class CImageFormatConverterParams_Params_v7_1_0
    //**************************************************************************************************


    class PYLONBASE_API CImageFormatConverterParams_Params_v7_1_0
    {
    //----------------------------------------------------------------------------------------------------------------
    // Implementation
    //----------------------------------------------------------------------------------------------------------------
    protected:
    // If you want to show the following methods in the help file
    // add the string HIDE_CLASS_METHODS to the ENABLED_SECTIONS tag in the doxygen file

        CImageFormatConverterParams_Params_v7_1_0( void );

        ~CImageFormatConverterParams_Params_v7_1_0( void );

        void _Initialize( GENAPI_NAMESPACE::INodeMap* );


    private:
        class CImageFormatConverterParams_Params_v7_1_0_Data;
        CImageFormatConverterParams_Params_v7_1_0_Data* m_pCImageFormatConverterParams_Params_v7_1_0_Data;


    //----------------------------------------------------------------------------------------------------------------
    // References to features
    //----------------------------------------------------------------------------------------------------------------
    public:


        Pylon::IIntegerEx& AdditionalLeftShift;





        Pylon::IFloatEx& Gamma;





        Pylon::IEnumParameterT<InconvertibleEdgeHandlingEnums>& InconvertibleEdgeHandling;





        Pylon::IIntegerEx& MaxNumThreads;





        Pylon::IEnumParameterT<MonoConversionMethodEnums>& MonoConversionMethod;





        Pylon::IEnumParameterT<OutputBitAlignmentEnums>& OutputBitAlignment;





        Pylon::IEnumParameterT<OutputOrientationEnums>& OutputOrientation;





        Pylon::IIntegerEx& OutputPaddingX;



    private:

        CImageFormatConverterParams_Params_v7_1_0(CImageFormatConverterParams_Params_v7_1_0&);

        CImageFormatConverterParams_Params_v7_1_0& operator=(CImageFormatConverterParams_Params_v7_1_0&);

    };


    class CImageFormatConverterParams_Params : public CImageFormatConverterParams_Params_v7_1_0
    {
    //----------------------------------------------------------------------------------------------------------------
    // Implementation
    //----------------------------------------------------------------------------------------------------------------
    protected:
        // If you want to show the following methods in the help file
        // add the string HIDE_CLASS_METHODS to the ENABLED_SECTIONS tag in the doxygen file

        CImageFormatConverterParams_Params( void )
        {
        }

        ~CImageFormatConverterParams_Params( void )
        {
        }

        void _Initialize( GENAPI_NAMESPACE::INodeMap* pNodeMap )
        {
            CImageFormatConverterParams_Params_v7_1_0::_Initialize( pNodeMap );
        }
    };
} // namespace Basler_ImageFormatConverterParams

#endif // BASLER_PYLON_IMAGEFORMATCONVERTERPARAMS_H

Updated on 5 July 2022 at 15:30:01