Hi Kyle,
> I am getting an error when I try to do:
>
> ResultsTable result = Analyzer.getResultsTable();
> size= result.size();
>
> It tells me that .size() is not a function of result.
The size() method of ResultsTable was added in ImageJ 1.49f [1]. Is it
possible you are using a version older than that?
If your version of ImageJ is new enough, then it would help if you could
share a Minimal, Complete, Verifiable Example (MCVE;
https://stackoverflow.com/help/mcve) which demonstrates the issue.
Regards,
Curtis
[1]
https://github.com/imagej/ImageJA/commit/56b5ff5188836ad275b62e1c7c81041b2ec6d9f7#diff-07dab2319d92253c674169919b15c1cdR127
--
Curtis Rueden
LOCI software architect -
https://loci.wisc.edu/softwareImageJ2 lead, Fiji maintainer -
https://imagej.net/User:RuedenDid you know ImageJ has a forum?
http://forum.imagej.net/On Fri, Mar 24, 2017 at 10:11 AM, kt7 <
[hidden email]> wrote:
> I have been working with the Java API for imageJ for a couple months now
> and
> suddenly I am getting an error when I try to do:
>
> ResultsTable result = Analyzer.getResultsTable();
> size= result.size();
>
> It tells me that .size() is not a function of result. I am very confused
> because it worked before and I dont believe I've updated the software or
> changed anything. Please help.
>
> Thanks,
> Kyle
>
>
>
> --
> View this message in context:
http://imagej.1557.x6.nabble.c> om/No-size-function-for-my-results-table-tp5018367.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html