Login  Register

how I can use " findMaxima" result table in the JAVA program?

Posted by chenyanpei on Aug 26, 2010; 4:21pm
URL: http://imagej.273.s1.nabble.com/how-I-can-use-findMaxima-result-table-in-the-JAVA-program-tp3687152.html

                         rt.reset();
                       
                        MaximumFinder fd=new MaximumFinder();
                       
                        ByteProcessor TU = fd.findMaxima(stack.getProcessor(iFrame),15,20,4,false,true);
                         
                        int ir=rt.getCounter();
                       
                       
                        float[] sx = null;
                        float[] sy=null;
                       
                        for(int it=1;it<ir;it++){
                        sx[it] = rt.getValue('X',it);
                        sy[it] = rt.getValue('Y',it);


I want to get the resulttable ,but There are some problems. My code is right?