public class ImageLabeller2D
extends java.lang.Object
This file is part of tango
tango is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program. If not, see
Modifier and Type | Class and Description |
---|---|
protected class |
ImageLabeller2D.Spot2D |
protected class |
ImageLabeller2D.Vox2D |
Modifier and Type | Field and Description |
---|---|
protected ImageHandler |
currentMask |
protected java.util.HashMap<java.lang.Integer,ImageLabeller2D.Spot2D> |
listSpots |
Constructor and Description |
---|
ImageLabeller2D() |
ImageLabeller2D(boolean debug) |
ImageLabeller2D(int min,
int max) |
Modifier and Type | Method and Description |
---|---|
ImageInt |
getLabels(ImageHandler mask) |
ImageFloat |
getLabelsFloat(ImageHandler mask) |
ImageFloat |
getLabelsFloat(ImageHandler mask,
boolean connex6) |
long |
getMaxsize() |
long |
getMinSize() |
int |
getNbObjectsInSizeRange(ImageHandler mask) |
int |
getNbObjectsTotal(ImageHandler mask) |
void |
setMaxsize(int maxsize) |
void |
setMinSize(int minSize) |
protected java.util.HashMap<java.lang.Integer,ImageLabeller2D.Spot2D> listSpots
protected ImageHandler currentMask
public ImageLabeller2D(boolean debug)
public ImageLabeller2D()
public ImageLabeller2D(int min, int max)
public long getMinSize()
public void setMinSize(int minSize)
public long getMaxsize()
public void setMaxsize(int maxsize)
public ImageInt getLabels(ImageHandler mask)
public ImageFloat getLabelsFloat(ImageHandler mask)
public ImageFloat getLabelsFloat(ImageHandler mask, boolean connex6)
public int getNbObjectsTotal(ImageHandler mask)
public int getNbObjectsInSizeRange(ImageHandler mask)