Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
06244118
Commit
06244118
authored
Sep 18, 2017
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9624 from nilaykumarpatel:Feature2d_getDefaultName
parents
63584bc4
68578704
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
61 additions
and
0 deletions
+61
-0
features2d.hpp
modules/features2d/include/opencv2/features2d.hpp
+10
-0
agast.cpp
modules/features2d/src/agast.cpp
+5
-0
akaze.cpp
modules/features2d/src/akaze.cpp
+6
-0
blobdetector.cpp
modules/features2d/src/blobdetector.cpp
+5
-0
brisk.cpp
modules/features2d/src/brisk.cpp
+5
-0
fast.cpp
modules/features2d/src/fast.cpp
+4
-0
feature2d.cpp
modules/features2d/src/feature2d.cpp
+5
-0
gftt.cpp
modules/features2d/src/gftt.cpp
+5
-0
kaze.cpp
modules/features2d/src/kaze.cpp
+6
-0
mser.cpp
modules/features2d/src/mser.cpp
+5
-0
orb.cpp
modules/features2d/src/orb.cpp
+5
-0
No files found.
modules/features2d/include/opencv2/features2d.hpp
View file @
06244118
...
...
@@ -206,6 +206,7 @@ public:
//! Return true if detector object is empty
CV_WRAP
virtual
bool
empty
()
const
;
CV_WRAP
virtual
String
getDefaultName
()
const
;
};
/** Feature detectors in OpenCV have wrappers with a common interface that enables you to easily switch
...
...
@@ -267,6 +268,7 @@ public:
CV_WRAP
static
Ptr
<
BRISK
>
create
(
int
thresh
,
int
octaves
,
const
std
::
vector
<
float
>
&
radiusList
,
const
std
::
vector
<
int
>
&
numberList
,
float
dMax
=
5.85
f
,
float
dMin
=
8.2
f
,
const
std
::
vector
<
int
>&
indexChange
=
std
::
vector
<
int
>
());
CV_WRAP
virtual
String
getDefaultName
()
const
;
};
/** @brief Class implementing the ORB (*oriented BRIEF*) keypoint detector and descriptor extractor
...
...
@@ -340,6 +342,7 @@ public:
CV_WRAP
virtual
void
setFastThreshold
(
int
fastThreshold
)
=
0
;
CV_WRAP
virtual
int
getFastThreshold
()
const
=
0
;
CV_WRAP
virtual
String
getDefaultName
()
const
;
};
/** @brief Maximally stable extremal region extractor
...
...
@@ -399,6 +402,7 @@ public:
CV_WRAP
virtual
void
setPass2Only
(
bool
f
)
=
0
;
CV_WRAP
virtual
bool
getPass2Only
()
const
=
0
;
CV_WRAP
virtual
String
getDefaultName
()
const
;
};
/** @overload */
...
...
@@ -454,6 +458,7 @@ public:
CV_WRAP
virtual
void
setType
(
int
type
)
=
0
;
CV_WRAP
virtual
int
getType
()
const
=
0
;
CV_WRAP
virtual
String
getDefaultName
()
const
;
};
/** @overload */
...
...
@@ -508,6 +513,7 @@ public:
CV_WRAP
virtual
void
setType
(
int
type
)
=
0
;
CV_WRAP
virtual
int
getType
()
const
=
0
;
CV_WRAP
virtual
String
getDefaultName
()
const
;
};
/** @brief Wrapping class for feature detection using the goodFeaturesToTrack function. :
...
...
@@ -534,6 +540,7 @@ public:
CV_WRAP
virtual
void
setK
(
double
k
)
=
0
;
CV_WRAP
virtual
double
getK
()
const
=
0
;
CV_WRAP
virtual
String
getDefaultName
()
const
;
};
/** @brief Class for extracting blobs from an image. :
...
...
@@ -600,6 +607,7 @@ public:
CV_WRAP
static
Ptr
<
SimpleBlobDetector
>
create
(
const
SimpleBlobDetector
::
Params
&
parameters
=
SimpleBlobDetector
::
Params
());
CV_WRAP
virtual
String
getDefaultName
()
const
;
};
//! @} features2d_main
...
...
@@ -656,6 +664,7 @@ public:
CV_WRAP
virtual
void
setDiffusivity
(
int
diff
)
=
0
;
CV_WRAP
virtual
int
getDiffusivity
()
const
=
0
;
CV_WRAP
virtual
String
getDefaultName
()
const
;
};
/** @brief Class implementing the AKAZE keypoint detector and descriptor extractor, described in @cite ANB13.
...
...
@@ -723,6 +732,7 @@ public:
CV_WRAP
virtual
void
setDiffusivity
(
int
diff
)
=
0
;
CV_WRAP
virtual
int
getDiffusivity
()
const
=
0
;
CV_WRAP
virtual
String
getDefaultName
()
const
;
};
//! @} features2d_main
...
...
modules/features2d/src/agast.cpp
View file @
06244118
...
...
@@ -8169,4 +8169,9 @@ void AGAST(InputArray _img, std::vector<KeyPoint>& keypoints, int threshold, boo
}
}
String
AgastFeatureDetector
::
getDefaultName
()
const
{
return
(
Feature2D
::
getDefaultName
()
+
".AgastFeatureDetector"
);
}
}
// END NAMESPACE CV
modules/features2d/src/akaze.cpp
View file @
06244118
...
...
@@ -244,4 +244,10 @@ namespace cv
return
makePtr
<
AKAZE_Impl
>
(
descriptor_type
,
descriptor_size
,
descriptor_channels
,
threshold
,
octaves
,
sublevels
,
diffusivity
);
}
String
AKAZE
::
getDefaultName
()
const
{
return
(
Feature2D
::
getDefaultName
()
+
".AKAZE"
);
}
}
modules/features2d/src/blobdetector.cpp
View file @
06244118
...
...
@@ -379,4 +379,9 @@ Ptr<SimpleBlobDetector> SimpleBlobDetector::create(const SimpleBlobDetector::Par
return
makePtr
<
SimpleBlobDetectorImpl
>
(
params
);
}
String
SimpleBlobDetector
::
getDefaultName
()
const
{
return
(
Feature2D
::
getDefaultName
()
+
".SimpleBlobDetector"
);
}
}
modules/features2d/src/brisk.cpp
View file @
06244118
...
...
@@ -2345,4 +2345,9 @@ Ptr<BRISK> BRISK::create(int thresh, int octaves, const std::vector<float> &radi
return
makePtr
<
BRISK_Impl
>
(
thresh
,
octaves
,
radiusList
,
numberList
,
dMax
,
dMin
,
indexChange
);
}
String
BRISK
::
getDefaultName
()
const
{
return
(
Feature2D
::
getDefaultName
()
+
".BRISK"
);
}
}
modules/features2d/src/fast.cpp
View file @
06244118
...
...
@@ -512,5 +512,9 @@ Ptr<FastFeatureDetector> FastFeatureDetector::create( int threshold, bool nonmax
return
makePtr
<
FastFeatureDetector_Impl
>
(
threshold
,
nonmaxSuppression
,
type
);
}
String
FastFeatureDetector
::
getDefaultName
()
const
{
return
(
Feature2D
::
getDefaultName
()
+
".FastFeatureDetector"
);
}
}
modules/features2d/src/feature2d.cpp
View file @
06244118
...
...
@@ -196,4 +196,9 @@ bool Feature2D::empty() const
return
true
;
}
String
Feature2D
::
getDefaultName
()
const
{
return
"Feature2D"
;
}
}
modules/features2d/src/gftt.cpp
View file @
06244118
...
...
@@ -125,4 +125,9 @@ Ptr<GFTTDetector> GFTTDetector::create( int _nfeatures, double _qualityLevel,
_minDistance
,
_blockSize
,
_useHarrisDetector
,
_k
);
}
String
GFTTDetector
::
getDefaultName
()
const
{
return
(
Feature2D
::
getDefaultName
()
+
".GFTTDetector"
);
}
}
modules/features2d/src/kaze.cpp
View file @
06244118
...
...
@@ -196,4 +196,10 @@ namespace cv
{
return
makePtr
<
KAZE_Impl
>
(
extended
,
upright
,
threshold
,
octaves
,
sublevels
,
diffusivity
);
}
String
KAZE
::
getDefaultName
()
const
{
return
(
Feature2D
::
getDefaultName
()
+
".KAZE"
);
}
}
modules/features2d/src/mser.cpp
View file @
06244118
...
...
@@ -1109,4 +1109,9 @@ Ptr<MSER> MSER::create( int _delta, int _min_area, int _max_area,
_min_margin
,
_edge_blur_size
));
}
String
MSER
::
getDefaultName
()
const
{
return
(
Feature2D
::
getDefaultName
()
+
".MSER"
);
}
}
modules/features2d/src/orb.cpp
View file @
06244118
...
...
@@ -1198,4 +1198,9 @@ Ptr<ORB> ORB::create(int nfeatures, float scaleFactor, int nlevels, int edgeThre
firstLevel
,
wta_k
,
scoreType
,
patchSize
,
fastThreshold
);
}
String
ORB
::
getDefaultName
()
const
{
return
(
Feature2D
::
getDefaultName
()
+
".ORB"
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment