Python: OpenCV: Test various feature detectors

17 11 2012

20121117

Python 2.7.3
OpenCV 2.2
Windows 7 HP

ทดสอบ feature detectors ใน OpenCV ประกอบไปด้วย
“FAST”,”STAR”,”SIFT”,”SURF”,”ORB”,”MSER”,”GFTT”,”HARRIS”,”Dense”
“GridFAST”,”GridSTAR”,”GridSIFT”,”GridSURF”,”GridORB”,”GridMSER”,”GridGFTT”,”GridHARRIS”,”GridDense”
“PyramidFAST”,”PyramidSTAR”,”PyramidSIFT”,”PyramidSURF”,”PyramidORB”,”PyramidMSER”,”PyramidGFTT”,”PyramidHARRIS”,”PyramidDense”

thanks J W J (MIT)

ภาพพานอรามาที่ใช้ทดสอบ

Image

เครื่อง DELL inspiron z14 [2012]
i7 1.9 GHz 8 Mb ram Windows 7 HP

ผลลัพธ์

FAST number of KeyPoint objects 21698 (time 0.01900 )
STAR number of KeyPoint objects 1063 (time 0.17800 )
SIFT number of KeyPoint objects 2135 (time 0.33500 )
SURF number of KeyPoint objects 9556 (time 0.48800 )
ORB number of KeyPoint objects 500 (time 0.05300 )
MSER number of KeyPoint objects 858 (time 0.43200 )
GFTT number of KeyPoint objects 1000 (time 0.38300 )
HARRIS number of KeyPoint objects 1000 (time 0.36800 )
Dense number of KeyPoint objects 58482 (time 0.01200 )
GridFAST number of KeyPoint objects 992 (time 0.02000 )
GridSTAR number of KeyPoint objects 358 (time 0.06500 )
GridSIFT number of KeyPoint objects 771 (time 0.33600 )
GridSURF number of KeyPoint objects 992 (time 0.37300 )
GridORB number of KeyPoint objects 910 (time 0.06400 )
GridMSER number of KeyPoint objects 610 (time 0.52800 )
GridGFTT number of KeyPoint objects 992 (time 0.36000 )
GridHARRIS number of KeyPoint objects 975 (time 0.35900 )
GridDense number of KeyPoint objects 992 (time 0.00900 )
PyramidFAST number of KeyPoint objects 29465 (time 0.03100 )
PyramidSTAR number of KeyPoint objects 1612 (time 0.22000 )
PyramidSIFT number of KeyPoint objects 3108 (time 0.44200 )
PyramidSURF number of KeyPoint objects 13012 (time 0.62600 )
PyramidORB number of KeyPoint objects 1489 (time 0.07500 )
PyramidMSER number of KeyPoint objects 1365 (time 0.60700 )
PyramidGFTT number of KeyPoint objects 3000 (time 0.49200 )
PyramidHARRIS number of KeyPoint objects 2140 (time 0.48900 )
PyramidDense number of KeyPoint objects 76886 (time 0.01900 )

ภาพผลลัพธ์

FAST Image

STAR Image

SIFT Image

SURF Image

ORB Image

MSER Image

GFTT Image

HARRIS Image

Dense 

GridFAST Image

GridSTAR Image

GridSIFT Image

GridSURF Image

GridORB Image

GridMSER Image

GridGFTT Image

GridHARRIS Image

GridDense 

PyramidFAST Image

PyramidSTAR Image

PyramidSIFT Image

PyramidSURF Image

PyramidORB Image

PyramidMSER Image

PyramidGFTT Image

PyramidHARRIS Image

PyramidDense 

 


Actions

Information

6 responses

30 07 2013
Orlando Trujillo

Wow, do you have the source code?

30 07 2013
enumap

of cause i have.

here is original source code from Ripley6811 at National Cheng Kung University, Department of Earth Sciences
as i reference in post above
http://code.activestate.com/recipes/578261-test-various-opencv-feature-detectors-in-python/

31 07 2013
Orlando Trujillo

Doesnt work for me😦, errors!

31 07 2013
enumap

this code for Python 2.X

31 07 2013
Orlando Trujillo

I use python 2.7, should be work🙂, thanks for your replys

25 08 2015
VJ

HI!! great article!!
Had a doubt can you share some article regarding the pyramid GFTT? as i am new to this concept

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




%d bloggers like this: