Pleora Technologies Inc. eBUS SDK v7.0.1.7536 API



Loading...
Searching...
No Matches
PvImageAnalysisMono.h
1// *****************************************************************************
2//
3// Copyright (c) 2015, Pleora Technologies Inc., All rights reserved.
4//
5// *****************************************************************************
6
7#ifndef __PVIMAGEANALYSISMONO_H__
8#define __PVIMAGEANALYSISMONO_H__
9
10#include <PvAppUtilsLib.h>
11#include <PvBuffer.h>
12#include <PvConfigurationReader.h>
13#include <PvConfigurationWriter.h>
14
15
16namespace PvAppUtilsLib
17{
18 class ImageAnalysisMono;
19}
20
21
22class PV_APPUTILS_API PvImageAnalysisMono
23{
24public:
25
28
29 PvResult Process( PvBuffer *aBuffer );
30
31 PvResult GetHistogram( uint32_t *aHistogram, int aBufferSize, int &aHistogramSize, uint32_t &aMaxValue );
32 double GetAvg() const;
33 double GetStdDev() const;
34
35 void GetROI( int &aX, int &aY, int &aWidth, int &aHeight );
36 void SetROI( int aX, int aY, int aWidth, int aHeight );
37
38 void Reset();
39
40 PvResult Load( PvConfigurationReader *aReader );
41 PvResult Save( PvConfigurationWriter *aWriter );
42
43private:
44
45 PvAppUtilsLib::ImageAnalysisMono *mThis;
46
47 // Not implemented
49 const PvImageAnalysisMono &operator=( const PvImageAnalysisMono & );
50
51};
52
53#endif
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
Performs image analyse on an image.
Definition PvImageAnalysisMono.h:23
Result information.
Definition PvResult.h:30

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