This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Anyone knows how to use the 'ORB' in the vision library 3.0?

HI.

I  want to test 'ORB' in the VLIB 3.0.

But,  I don't know how to use the 'VLIB_ORB_computeOrientation' function.

Anyone have some example of the VLIB_ORB?

regards.

  • Thanks for your reply.

    I think I have to give you some more detail about my question.

    Sorry about my English, I cannot speak English well. but plsase check my question.

    I' like to use the VLIB function 'VLIB_ORB_computeOrientation'.

    But, I don't know what the 'inImg[restrict]' means.

    I think this is the not the pointer of the input image but the value of the input image intensity.

    If this is right, if i want to use this ORB_computeOrientation function, I should write the C-code like blow, I think,

    for(int i=0; i< num_of_featureFAST;i++) { 

           VLIB_ORB_computeOrientation( *(pointer_of_inImg + i ),  -, -,  -,  -,  - ...)

    }

    Is it right? or is there any other way to use the library ORB_computeOriention function?

    The 'VLIB Function Reference' is very difficult to me.

    I'll wait for your reply!

    Regards,

    TAHK.

    P.S. I have one more question. I'd liek to know what is the 'pitch' exactly.

    I think just the pitch is equal to the width of the image size ( where width > height )

    and in the reference the pitch is called just pitch of input image.

    Therefore I hope that I know the exact meaning of the 'pitch'

    Thanks.

  • inImg[restrict] is the pointer to the input image. The function needs the input image in order to look at the neighborhood around each feature location in the input image. If you are confused about the "restrict" keyword, you can google "restrict keyword" (e.g. en.wikipedia.org/.../Restrict).

    Therefore, you should not need to call VLIB_ORB_computeOrientation() for each feature. Since you pass the feature list to the function, this loop is happening inside the function already. You can reference the example function to see how to call this function: VLIB_ORB_computeOrientation_d().

    Also, I noticed that you said that you are using VLIB 3.0. Just so you know, the following link contains the latest version of VLIB which is 3.2.0.2: software-dl.ti.com/.../index_FDS.html . This version has many bug fixes from version 3.0.

    Pitch is also sometimes called stride. It is the number of bytes between the start of each line in memory. In this way, the width can be equal to stride if there is no padding in between lines. If you have some border or padding in between each line, then the stride is the width + padding.

    Regards,
    Jesse
  • Hi. Jesse.

    Thanks for your wonderful answer!
    Very helpful.

    I'll try agian.

    Regards,
    Tahk