Skip to content

pylon/StaticDefectPixelCorrection.h#

Namespaces#

Name
Pylon
Contains definitions of pylon types.

Classes#

Name
class Pylon::CStaticDefectPixelCorrection
Provides utility functions to use Static Defect Pixel Correction on certain ace 2 cameras.

Source code#

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

#pragma once

#include <pylon/Platform.h>
#include <pylon/stdinclude.h>
#include <pylon/PylonUtility.h>
#include <pylon/Container.h>



namespace Pylon
{
    class PYLONUTILITY_API CStaticDefectPixelCorrection
    {
    public:
        enum EListType
        {
            ListType_Factory,              
            ListType_User                  
        };


        static bool GetDefectPixelList( GenApi::INodeMap* pNodeMap, StaticDefectPixelList_t& pixelList, EListType listType = ListType_User );


        static bool SetDefectPixelList( GenApi::INodeMap* pNodeMap, StaticDefectPixelList_t& pixelList, EListType listType = ListType_User );


        static bool NormalizePixelList( GenApi::INodeMap* pNodeMap, StaticDefectPixelList_t& pixelList );
    };
}

Updated on 5 July 2022 at 15:30:01