FLImaging
7.8.25.3
Toggle main menu visibility
FLImagingImageProcessing
FLImagingImageProcessing
Stitching.h
1
#pragma once
2
21
23
namespace
FLImaging
24
{
26
namespace
ImageProcessing
27
{
28
class
CInternalStitching;
29
44
class
FL_EXPORT
CStitching
:
public
CAlgorithmFeature_DI
45
{
46
public
:
47
56
enum
EProjectionMethod
57
{
65
EProjectionMethod_Flatten
= 0,
66
74
EProjectionMethod_Spherical
,
75
83
EProjectionMethod_Cylindrical
,
84
};
85
90
CStitching
();
95
CStitching
(
const
CStitching
& conv);
100
CStitching
(
const
CStitching
* pConv);
105
~CStitching
();
106
120
const
CStitching
&
operator=
(
const
CStitching
& stitching);
121
133
virtual
const
CResult
Assign
(
const
CStitching
& stitching);
145
virtual
const
CResult
Assign
(
const
CStitching
* pStitching);
146
160
virtual
const
CResult
Execute
();
161
177
virtual
const
CResult
SetThreshold
(
double
f64Threshold = 0.8);
178
190
virtual
double
GetThreshold
();
191
207
virtual
const
CResult
SetFocalLength
(
float
f32FocalLength = 35);
208
220
virtual
float
GetFocalLength
();
221
237
virtual
const
CResult
SetNFeature
(uint64_t u64NFeature = 1000);
238
250
virtual
uint64_t
GetNFeature
();
251
263
virtual
float
GetRMSError
();
264
280
virtual
const
CResult
EnableReverseDirection
(
bool
bDirection =
false
);
281
295
virtual
bool
IsReverseDirectionEnabled
();
296
312
virtual
const
CResult
SetProjectionMethod
(
EProjectionMethod
eMethod =
EProjectionMethod_Spherical
);
313
325
virtual
EProjectionMethod
GetProjectionMethod
()
const
;
326
338
virtual
const
CResult
Clear
()
override
;
339
340
virtual
bool
IsLicenseAvailable
()
const override
;
341
342
343
DeclareGetClassType();
344
SupportToDuplicateObject(
CStitching
, *
this
);
345
346
protected
:
347
357
EProjectionMethod
m_eProjectionMethod
;
358
363
double
m_f64Threshold
;
364
369
double
m_f32FocalLength
;
370
375
uint64_t
m_u64NFeature
;
376
381
bool
m_bDirection
;
382
383
protected
:
384
friend
class
CInternalStitching;
385
386
CInternalStitching* m_pInternal;
387
};
388
}
389
}
FLImaging::CResult
FLImaging module execution result object.
Definition
ResultsDef.h:1704
FLImaging::ImageProcessing::CStitching::GetFocalLength
virtual float GetFocalLength()
FLImaging::ImageProcessing::CStitching::EnableReverseDirection
virtual const CResult EnableReverseDirection(bool bDirection=false)
FLImaging::ImageProcessing::CStitching::GetThreshold
virtual double GetThreshold()
FLImaging::ImageProcessing::CStitching::Assign
virtual const CResult Assign(const CStitching *pStitching)
FLImaging::ImageProcessing::CStitching::m_u64NFeature
uint64_t m_u64NFeature
Definition
Stitching.h:375
FLImaging::ImageProcessing::CStitching::m_eProjectionMethod
EProjectionMethod m_eProjectionMethod
Definition
Stitching.h:357
FLImaging::ImageProcessing::CStitching::CStitching
CStitching(const CStitching *pConv)
FLImaging::ImageProcessing::CStitching::IsReverseDirectionEnabled
virtual bool IsReverseDirectionEnabled()
FLImaging::ImageProcessing::CStitching::Clear
virtual const CResult Clear() override
FLImaging::ImageProcessing::CStitching::m_f64Threshold
double m_f64Threshold
Definition
Stitching.h:363
FLImaging::ImageProcessing::CStitching::Execute
virtual const CResult Execute()
FLImaging::ImageProcessing::CStitching::CStitching
CStitching()
FLImaging::ImageProcessing::CStitching::CStitching
CStitching(const CStitching &conv)
FLImaging::ImageProcessing::CStitching::SetFocalLength
virtual const CResult SetFocalLength(float f32FocalLength=35)
FLImaging::ImageProcessing::CStitching::SetThreshold
virtual const CResult SetThreshold(double f64Threshold=0.8)
FLImaging::ImageProcessing::CStitching::IsLicenseAvailable
virtual bool IsLicenseAvailable() const override
Returns whether the algorithm can be used with the current license.
FLImaging::ImageProcessing::CStitching::Assign
virtual const CResult Assign(const CStitching &stitching)
FLImaging::ImageProcessing::CStitching::operator=
const CStitching & operator=(const CStitching &stitching)
FLImaging::ImageProcessing::CStitching::m_bDirection
bool m_bDirection
Definition
Stitching.h:381
FLImaging::ImageProcessing::CStitching::~CStitching
~CStitching()
FLImaging::ImageProcessing::CStitching::m_f32FocalLength
double m_f32FocalLength
Definition
Stitching.h:369
FLImaging::ImageProcessing::CStitching::SetNFeature
virtual const CResult SetNFeature(uint64_t u64NFeature=1000)
FLImaging::ImageProcessing::CStitching::GetNFeature
virtual uint64_t GetNFeature()
FLImaging::ImageProcessing::CStitching::EProjectionMethod
EProjectionMethod
Definition
Stitching.h:57
FLImaging::ImageProcessing::CStitching::EProjectionMethod_Spherical
@ EProjectionMethod_Spherical
Definition
Stitching.h:74
FLImaging::ImageProcessing::CStitching::EProjectionMethod_Flatten
@ EProjectionMethod_Flatten
Definition
Stitching.h:65
FLImaging::ImageProcessing::CStitching::EProjectionMethod_Cylindrical
@ EProjectionMethod_Cylindrical
Definition
Stitching.h:83
FLImaging::ImageProcessing::CStitching::GetProjectionMethod
virtual EProjectionMethod GetProjectionMethod() const
FLImaging::ImageProcessing::CStitching::GetRMSError
virtual float GetRMSError()
FLImaging::ImageProcessing::CStitching::SetProjectionMethod
virtual const CResult SetProjectionMethod(EProjectionMethod eMethod=EProjectionMethod_Spherical)
FLImaging::ImageProcessing
Definition
AbsoluteThreshold.h:25
FLImaging
Generated on
for FLImaging by
1.17.0