Package fork.lib.math.analgeo.euclidean.d2

Examples of fork.lib.math.analgeo.euclidean.d2.Landscape2D


    public Landscape2DBuffer(Landscape2D al){
        this.ls2d=al;
    }
   
    public Landscape2DBuffer(ArrayList<Point2D> ps) throws RegionException, Landscape2DException{
        this.ls2d= new Landscape2D(ps);
    }
View Full Code Here


        for( int i=0; i<thrs.size(); i++ ){
            Double qthr= thrs.get(i);
            ArrayList<Landscape2D> subdata= data.applyThreshold(qthr);
            if(subdata.size()>=2){
                for( int j=0; j<subdata.size(); j++ ){
                    Landscape2D sub= subdata.get(j);
                    HeightPeakDetector hpd= new HeightPeakDetector(sub, qthr, par);
                    subs.add(hpd);
                    hpd.parent= this;
                    hpd.start();
                }
View Full Code Here

protected void start() throws Exception{
    EMPeakDetector emp= new EMPeakDetector(data, emPar);
    emp.start();
    ArrayList<EMPeakDetector> pds= emp.subs;
    for( int i=0; i<pds.size(); i++ ){
            Landscape2D dat= pds.get(i).data;
            HeightPeakDetector hpd= new HeightPeakDetector(dat, emp.thr, hPar);
            hpd.start();
            ArrayList<Region> rs= hpd.getAllPeaks();
            //dat.getXRange().printInt();for( int j=0; j<rs.size(); j++ ){rs.get(j).printIntAfter("    ");}
            if(!rs.isEmpty()){
                regs.addAll(rs);
            }else{
                if(emPar.satisfyMin(dat) && emPar.satisfyMax(dat)){
                    regs.add(dat.getXRange());
                }
            }
    }
    join(regs);
}
View Full Code Here

*/
public ArrayList<EMPeakDetector> getNextLevel() throws Exception{
    ArrayList<EMPeakDetector> ret= new ArrayList<>();
    ArrayList<Landscape2D> subdata= data.applyThreshold(thr);
    for( int i=0; i<subdata.size() ; i++ ){
        Landscape2D sub= subdata.get(i);
        if(par.satisfyMin(sub)){
            EMPeakDetector npd= new EMPeakDetector(sub, par);
            npd.parent= this;
            if(par.startRecursive){
                npd.start();
View Full Code Here

TOP

Related Classes of fork.lib.math.analgeo.euclidean.d2.Landscape2D

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.