Skip to content

getValue() not returning intensity measures of line selections? #265

Description

@jo-fuchs

Hi,

For further use in a macro I wanted to store the mean-intensity in a variable. I noticed an unexpected behaviour of getValue() when reading intensity values from a line selection:
intens = getValue("Mean");
len = getValue("Length");
print(intens);
print(len);

While the length is correctly read from the line, the mean intensity is read from the full image. The same happens for the other intensity measures (Median, Mode, Min, Max).

When I select an area instead of a line, the intensity measures are returned from the selection.

Is this intentional or just not yet implemented in my ImageJ-Version? (ImageJ-Version 1.53c, Fiji updater does not want to update anything)

Thanks,
Joachim

PS: A workaround for this issue has already been described by Christopher Schmied here via measuring and accessing the Results-Table but I thought, I'd mention it as a potential enhancement here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions