Pleora Technologies Inc. eBUS SDK v6.2.8.5877 API



PvTruesenseConverter.h
1 // *****************************************************************************
2 //
3 // Copyright (c) 2013, Pleora Technologies Inc., All rights reserved.
4 //
5 // *****************************************************************************
6 
7 #ifndef __PVTRUESENSECONVERTER_H__
8 #define __PVTRUESENSECONVERTER_H__
9 
10 #include <PvBuffer.h>
11 
12 
13 namespace PvBufferLib
14 {
15  class TruesenseConverter;
16 }
17 
18 struct YotsubaParam_t;
19 
20 
21 class PV_BUFFER_API PvTruesenseConverter
22 {
23 public:
24 
26  virtual ~PvTruesenseConverter();
27 
28  static bool IsConversionSupported( PvPixelType aSource, PvPixelType aDestination );
29 
30  PvResult Convert( const PvImage *aSource, PvImage *aDestination, bool aReallocIfNeeded = true );
31 
32  uint32_t GetDarkfloor() const;
33  float GetRedGain() const;
34  float GetGreenGain() const;
35  float GetBlueGain() const;
36  float GetPanGain() const;
37  float GetGlobalGain() const;
38  float GetSharpenParam() const;
39  float GetMaxSharpen() const;
40  float GetHighLumaNoise() const;
41  float GetLowLumaNoise() const;
42 
43  PvResult SetDarkfloor( uint32_t aValue );
44  PvResult SetRedGain( float aValue );
45  PvResult SetGreenGain( float aValue );
46  PvResult SetBlueGain( float aValue );
47  PvResult SetPanGain( float aValue );
48  PvResult SetGlobalGain( float aValue );
49  PvResult SetSharpenParam( float aValue );
50  PvResult SetMaxSharpen( float aValue );
51  PvResult SetHighLumaNoise( float aValue );
52  PvResult SetLowLumaNoise( float aValue );
53 
54 protected:
55 
56 private:
57 
58  // Not implemented
60  const PvTruesenseConverter &operator=( const PvTruesenseConverter & );
61 
62  PvBufferLib::TruesenseConverter *mThis;
63  YotsubaParam_t *mParameters;
64 
65 };
66 
67 #endif
Result information.
Definition: PvResult.h:13
PvPixelType
Definition: PvPixelType.h:53
Converts images from TRUESENSE(TM) to RGB.
Definition: PvTruesenseConverter.h:21
Image interface to a PvBuffer.
Definition: PvImage.h:48
Definition: PvBuffer.h:19

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