X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 10 Sep 2010 08:09 AM by  anon
Textural analysis - Co-occurrence shift value
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
10 Sep 2010 08:09 AM
    Hello I am trying to compute some textural features using the co-occurrence filter. What values should I use in the “co-occurrence shift Y” to calculate the 0º, the 45º, the 90º and the 135º directions. I know that “shift Y=0” is the 0º angle, but I am confused with the other values. I want to use a neighbourhood of 1(shift X=1) for a processing window of 3x3. Thank you Rosário

    Deleted User



    New Member


    Posts:
    New Member


    --
    29 Sep 2010 11:53 AM
    Well, let's see. I'm not sure that angles are a meaningful way to think about the shift between pixels that is used to calculate the co-occurrence matrix. If you want the co-occurence matrix to compare pixels with themselves (is that what a 0 degree direction would mean in this context?), then you would set the shift values to x=0 and y=0. If you want it to compare pixels with their neighbor to the upper right (45 degrees?) then you would set the shift values to x=1, y=1. For the neighbor to the right, it would be x=1, y=0 (90 degrees?). For the neighbor to the left, it would be x=-1, y=0. For the neighbor to the lower left, it would be x=-1, y=-1. Does that help at all? - Peg
    You are not authorized to post a reply.