Hi Norbert..
Thank you very much for your answers.
Rainer
> Hi Rainer,
>
>> 01: getStatistics
>> I use the>getStatistics()< function to measure different image aspects. Is this also possible to get the median or modal i.e.?
>> One could go the detour doing a measure and by getting the values from a results table but perhaps I simply missed something to do it directly.
>>
>>
>> 02: point selection
>> Having done a feature detection with i.e. SIFT/MOPS I would want to count the number of corresponding points found. How is this achieved?
>> One could run the measure function [run("Measure");] and work with "nResults" but there might be a better solution to it.
>
> 1) Mode and Median can be retrieved like this:
>
> run("Set Measurements...", "modal median");
> List.setMeasurements();
> print("Mode = ", List.getValue("Mode"));
> print("Median = ", List.getValue("Median"));
>
> 2) Number of points in MultiPoint selection can be counted like this:
>
> getSelectionCoordinates(xArr, yArr);
> print(xArr.length);
>
>
> Norbert Vischer
>