Thanks you very much Jordi for your answer...
Le jeudi 13 août 2015 08:37:56 UTC+2, Jordi Inglada a écrit : > > Hi, > > In OTB, a window radius is always the half-size of the window without > the center pixel. Therefore, you are right: the window size = 2 * radius + > 1. > > I assume that you are trying to use the HaralickTextureExtraction > application. > > Displacement and orientation are given using the 2 offset parameters. > Displacement and orentation define a vector in polar coordinates, while > xoffset and yoffset define it in cartesian coordinates: > > displacement = sqrt(xoffset^2+yoffset^2) > orientation = atan(yoffset/xoffset) > > The HaralickTextureExtraction allows you also to define the parameters > of the histogram (min, max, number of bins) used for the computation of > the co-occurrence matrix. > > You can also compute only sub-sets of the whole list of Haralick > textures with the "-texture" parameter setting it to > simple/advanced/higher: > > simple: Energy, Entropy, Correlation, Inverse Difference Moment,\ > Inertia, Cluster Shade, Cluster Prominence and Haralick Correlation > > advanced: simple + Mean, Variance, Sum Average, Sum Variance,\ > Sum Entropy, Difference of Entropies, Difference of Variances, IC1 and > IC2 > > higher: advanced + Short Run Emphasis, Long Run Emphasis, Grey-Level > Nonuniformity, Run Length Nonuniformity, Run Percentage, \ > Low Grey-Level Run Emphasis, High Grey-Level Run Emphasis, Short Run > Low Grey-Level Emphasis, Short Run High Grey-Level Emphasis, \ > Long Run Low Grey-Level Emphasis and Long Run High Grey-Level > Emphasis > > The output of the application is a multi-channel image with the textures > in each band in the order given above. > > Jordi > > > OneK <[email protected] <javascript:>> wrote: > > > > Hey Everyone, > > > > I'm trying to use the Haralick Texture in OTB, but I don't find clear > information about it. > > > > We have to define 3 main parameters which are : > > > > - window size, > > - displacement, > > - orientation. > > > > First of all, I can't really understand if "radius" is equal to the size > of window or if I have to use the formula : window size = 2 * radius + 1 ? > > In the first case, we will have a window of 2*2 per default (???) and in > the second case, we will have a window of 5*5 per default (I prefer). > > What is the good answer ? The first, the second, noone ?? > > > > Secondly, I would like to understand if the offset give an information > on the displacement in pixels (example : offset x = 1 and offset y = 1 give > a displacement of one pixel) > > or if it gives information on the orientation (example : offset x = 1 > and offset y = 1 give an orientation of 45°) ? I am really confused... > > > > We have any other parameter to define in order to launch a texture > Haralick int OTB. Where is the 3rd parameter ?? > > > > Thanks for your help, > > Best regards, > > > > OneK > > > > > > -- > -- -- Check the OTB FAQ at http://www.orfeo-toolbox.org/FAQ.html You received this message because you are subscribed to the Google Groups "otb-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/otb-users?hl=en --- You received this message because you are subscribed to the Google Groups "otb-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
