Ask Your Question

Yiyi's profile - activity

2019-04-22 11:56:14 -0600 received badge  Famous Question (source)
2017-05-02 14:27:19 -0600 received badge  Nice Question (source)
2015-09-10 09:55:38 -0600 received badge  Notable Question (source)
2014-05-10 12:36:57 -0600 received badge  Popular Question (source)
2012-10-22 04:24:00 -0600 commented answer Image Processing Filter

Can you give me an sample or example of coding on how to do it?I does not know to manually labeling features.Thanks in advanced.

2012-10-19 11:56:24 -0600 commented answer Image Processing Filter

I means how to write the code to label the the features.

2012-10-19 11:48:03 -0600 commented answer Image Processing Filter

Can i know how to write the code for step3?Thanks.

2012-10-18 13:40:07 -0600 asked a question Which matcher is best for SURF?

I am developing an android image recognition application and I had used SURF algorithm as detector and descriptor.There are many matchers like flannbased, bruteforce_hamming, bruteforce_hamminglut, bruteforce_sl2 and bruteforce_l1.Can I know which matcher is best for SURF.

2012-10-17 21:53:52 -0600 commented question How to match two image using SURF algorithm

@Rui Marques,any problem for my code?Can you tell me so that at least I can understand where my mistake?

2012-10-17 12:29:57 -0600 commented question How to match two image using SURF algorithm

i had attach my code as above

2012-10-17 12:19:17 -0600 commented question How to match two image using SURF algorithm

I had extract and describe the keypoint for image from database and image of photo that i take from camera.After that,I try using the cross-check filter and find the maximum match.But the result not accurate

2012-10-17 12:15:24 -0600 commented answer How to get good matches from the ORB feature detection algorithm?

how to write the code for ratio test?

2012-10-17 11:14:58 -0600 received badge  Student (source)
2012-10-17 10:17:26 -0600 received badge  Supporter (source)
2012-10-17 10:14:09 -0600 commented answer How do FREAK\SIFT\SURF verify that two images are the same

Can i know if i want use SURF algorithm for doing logo recognition?How can i verify the the image that i take using camera and the image from database?

2012-10-17 10:10:57 -0600 received badge  Editor (source)
2012-10-17 10:09:37 -0600 asked a question How to match two image using SURF algorithm

I am doing a logo recognition application using the SURF algorithm.Can I know after I extract and describe the keypoints,how can I match the two images to see whether they are match or not?And i want to compare the image that take from camera with the images from database.

DescriptorMatcher flannmatcher1=DescriptorMatcher.create(DescriptorMatcher.FLANNBASED);
    DescriptorMatcher flannmatcher2=DescriptorMatcher.create(DescriptorMatcher.FLANNBASED);
    DescriptorMatcher flannmatcher3=DescriptorMatcher.create(DescriptorMatcher.FLANNBASED);
    DescriptorMatcher flannmatcher4=DescriptorMatcher.create(DescriptorMatcher.FLANNBASED);

    Vector<DMatch> matches1= new Vector<DMatch>();
    Vector<DMatch> matches2 = new Vector<DMatch>();
    Vector<DMatch> matches3 = new Vector<DMatch>();


    Vector<DMatch> matches4= new Vector<DMatch>();
    Vector<DMatch> matches5 = new Vector<DMatch>();
    Vector<DMatch> matches6 = new Vector<DMatch>();

    Vector<DMatch> matches7 = new Vector<DMatch>();
    Vector<DMatch> matches8= new Vector<DMatch>();
    Vector<DMatch> matches9 = new Vector<DMatch>();

    Vector<DMatch> matches10= new Vector<DMatch>();
    Vector<DMatch> matches11 = new Vector<DMatch>();
    Vector<DMatch> matches12= new Vector<DMatch>();

   Mat descriptor=image that take from camera;
    Mat descriptor1=my 1st image from database;
    Mat descriptor2=my 2nd image from database;
    Mat descriptor3=my 3rd image from database;
    Mat descriptor4=my 4th image from database;


    flannmatcher1.match(descriptor,descriptor1, matches1);
    flannmatcher1.match(descriptor1,descriptor, matches2);
    flannmatcher2.match(descriptor,descriptor2, matches4);
    flannmatcher2.match(descriptor2,descriptor, matches5);
    flannmatcher3.match(descriptor,descriptor3, matches7);
    flannmatcher3.match(descriptor3,descriptor, matches8);
    flannmatcher4.match(descriptor,descriptor4, matches10);
    flannmatcher4.match(descriptor4,descriptor, matches11);





    for( int i = 0; i < matches1.size(); i++ )
    { 
        DMatch forward = matches1.get(i); 
        DMatch backward = matches2.get(forward.trainIdx); 
        if( backward.trainIdx == forward.queryIdx ) 
            matches3.add( forward ); 
    }

    for( int i = 0; i < matches4.size(); i++ )
    { 
        DMatch forward = matches4.get(i); 
        DMatch backward = matches5.get(forward.trainIdx); 
        if( backward.trainIdx == forward.queryIdx ) 
            matches6.add( forward ); 
    }
    for( int i = 0; i < matches7.size(); i++ )
    { 
        DMatch forward = matches7.get(i); 
        DMatch backward = matches8.get(forward.trainIdx); 
        if( backward.trainIdx == forward.queryIdx ) 
            matches9.add( forward ); 
    }

    for( int i = 0; i < matches10.size(); i++ )
    { 
        DMatch forward = matches10.get(i); 
        DMatch backward = matches11.get(forward.trainIdx); 
        if( backward.trainIdx == forward.queryIdx ) 
            matches12.add( forward ); 
    }

then i use matches.size() to get the number of matches and then compare them to see which one has the more matches.