Login  Register

problem accessing the mask generate from the ParticleAnalyzer class

Posted by Gabriel Lapointe on Oct 18, 2008; 9:06pm
URL: http://imagej.273.s1.nabble.com/problem-accessing-the-mask-generate-from-the-ParticleAnalyzer-class-tp3694689.html

Hi everyone,
I'm currently trying to write my first plugin and I'm having some
trouble with whit ParticleAnalyzer class. My problem is that I want to
use the mask output as a mask for my next step but I can't figure out
how to access the newly generated image. Anyone has suggestion on how to
do it?

Here is the code lines that I managed so far.
    rt = new ResultsTable();
    this.PA = new ParticleAnalyzer(5128, 113050, rt, Min_Area, Max_Area,
Min_Circ, Max_Circ);
    for(i; i<=stack.getSize(); i++){
        this.PA.analyze(imp, ip);
       // long unfished code
    }
    rt.show("Resultats test");


Thanks