X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 22 Aug 2006 12:10 PM by  anon
texture_cooc_doit
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
22 Aug 2006 12:10 PM
    in an interactive envi session you can set the gray level quantization when computing coocurrence statistics (texture filtering). i do not see a keyword in the documentation for setting this parameter when making a call to texture_cooc_doit. how can is control this parameter? thank you.

    Deleted User



    New Member


    Posts:
    New Member


    --
    22 Aug 2006 12:10 PM
    Question answered by technical help staff. For anyone else who is ineterested: For the texture_cooccur_doit routine, there is an undocumented keyword called "g_levels" that should get you where you need to go. It looks like you can specify any value you want (the g_levels value must be between 1 and 256), so it's actually a lot more flexible than the GUI version. A brief example looks like this: envi_doit, 'texture_cooccur_doit', $ fid=fid, pos=pos, dims=dims, $ method=method, kx=5, ky=5, $ direction=direction, $ out_name=out_name, r_fid=r_fid, $ g_levels=64
    You are not authorized to post a reply.