eBUS SDK v6.4.0.6670 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
37
class
PV_BUFFER_API
PvTruesenseConverter
38
{
39
public
:
40
44
PvTruesenseConverter
();
45
49
virtual
~
PvTruesenseConverter
();
50
59
static
bool
IsConversionSupported(
PvPixelType
aSource,
PvPixelType
aDestination );
60
77
PvResult
Convert(
const
PvImage
*aSource,
PvImage
*aDestination,
bool
aReallocIfNeeded =
true
);
78
84
uint32_t GetDarkfloor()
const
;
85
91
float
GetRedGain()
const
;
92
98
float
GetGreenGain()
const
;
99
105
float
GetBlueGain()
const
;
106
112
float
GetPanGain()
const
;
113
119
float
GetGlobalGain()
const
;
120
126
float
GetSharpenParam()
const
;
127
133
float
GetMaxSharpen()
const
;
134
140
float
GetHighLumaNoise()
const
;
141
147
float
GetLowLumaNoise()
const
;
148
159
PvResult
SetDarkfloor( uint32_t aValue );
160
171
PvResult
SetRedGain(
float
aValue );
172
183
PvResult
SetGreenGain(
float
aValue );
184
195
PvResult
SetBlueGain(
float
aValue );
196
207
PvResult
SetPanGain(
float
aValue );
208
219
PvResult
SetGlobalGain(
float
aValue );
220
231
PvResult
SetSharpenParam(
float
aValue );
232
243
PvResult
SetMaxSharpen(
float
aValue );
244
255
PvResult
SetHighLumaNoise(
float
aValue );
256
267
PvResult
SetLowLumaNoise(
float
aValue );
268
269
protected
:
270
271
private
:
272
273
// Not implemented
274
PvTruesenseConverter
(
const
PvTruesenseConverter
& );
275
const
PvTruesenseConverter
&operator=(
const
PvTruesenseConverter
& );
276
277
PvBufferLib::TruesenseConverter *mThis;
278
YotsubaParam_t *mParameters;
279
280
};
281
282
#endif
PvResult
Result information.
Definition:
PvResult.h:29
PvImage
Image interface to a PvBuffer.
Definition:
PvImage.h:181
PvTruesenseConverter
Converts images from TRUESENSE(TM) to RGB.
Definition:
PvTruesenseConverter.h:37
PvPixelType
PvPixelType
Definition:
PvPixelType.h:57
Copyright (c) 2002-2024 Pleora Technologies Inc.
www.pleora.com