How to use the dense sampling detector to image with OpenCV3_python?
I am using python2.7, OpenCV3 with opencv-contrib to image processing.
So I can use SIFT and get features as follows,
sift = cv2.xfeatures2d.SIFT_create()
kp = sift.detect(gray,None)
des = sift.compute(gray,kp)
This is good.
Now "kp" is the keypoint that result computed by SIFT's feature detector.
But I want to change this detector to dense(grid) sampling detector like this. https://www.safaribooksonline.com/lib...
and I want to compute descriptors with "sift.compute(gray,kp)"
please help me.
Note: previously, it seems this is available "dense = cv2.FeatureDetector_create("Dense")"