Pleora Technologies Inc. eBUS SDK v7.0.1.7536 API



Loading...
Searching...
No Matches
PvRangeFilter.h
1// *****************************************************************************
2//
3// Copyright (c) 2015, Pleora Technologies Inc., All rights reserved.
4//
5// *****************************************************************************
6
7#ifndef __PVRANGEFILTER_H__
8#define __PVRANGEFILTER_H__
9
10#include <PvAppUtilsLib.h>
11
12#include <PvBuffer.h>
13#include <PvConfigurationReader.h>
14#include <PvConfigurationWriter.h>
15
16
17namespace PvAppUtilsLib
18{
19 class RangeFilter;
20}
21
22
23class PV_APPUTILS_API PvRangeFilter
24{
25public:
26
29
30 PvBuffer *Process( PvBuffer *aBuffer );
31 PvResult GetHistogram( uint32_t *aHistogramPtr, uint32_t aHistogramSize, uint32_t &aMaxValue );
32
33 void Reset();
34 void AutoConfigure();
35
36 bool IsEnabled() const;
37 uint8_t GetDark() const;
38 uint8_t GetLight() const;
39
40 void SetDark( uint8_t aValue );
41 void SetLight( uint8_t aValue );
42 void SetEnabled( bool aEnabled );
43
44 PvResult Load( PvConfigurationReader *aReader );
45 PvResult Save( PvConfigurationWriter *aWriter );
46
47 PvBufferConverter &GetConverter();
48
49private:
50
51 PvAppUtilsLib::RangeFilter *mThis;
52
53 // Not implemented
55 const PvRangeFilter &operator=( const PvRangeFilter & );
56
57};
58
59#endif
Used to convert a PvBuffer to another pixel type.
Definition PvBufferConverter.h:67
Represents a block of GigE Vision or USB3 Vision data in memory.
Definition PvBuffer.h:111
Reads and restores configuration data from persistence files.
Definition PvConfigurationReader.h:29
Writes configuration data to persistence files.
Definition PvConfigurationWriter.h:29
Increases the contrast of displayed images and exported H.264 video by constraining the image to a mi...
Definition PvRangeFilter.h:24
Result information.
Definition PvResult.h:30

Copyright (c) 2002-2026 Pleora Technologies Inc.
www.pleora.com