public class Object3DLabel extends Object3D
This file is part of mcib3d
mcib3d 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
areaContactUnit, areaContactVoxels, areaNbVoxels, bx, by, bz, comment, compare, contours, currentQuantifImage, cx, cy, cz, eigen, feret, feret1, feret2, integratedDensity, kdtreeContours, labelImage, meanDensity, MEASURE_AREA_PIX, MEASURE_AREA_UNIT, MEASURE_COMPACTNESS_UNITS, MEASURE_COMPACTNESS_VOXELS, MEASURE_DC_AVG, MEASURE_DC_SD, MEASURE_INTENSITY_AVG, MEASURE_INTENSITY_MAX, MEASURE_INTENSITY_MEDIAN, MEASURE_INTENSITY_MIN, MEASURE_INTENSITY_SD, MEASURE_MAIN_ELONGATION, MEASURE_NONE, MEASURE_VOLUME_PIX, MEASURE_VOLUME_UNIT, miniLabelImage, multiThread, name, pixmax, pixmin, resXY, resZ, s002, s003, s004, s011, s012, s013, s020, s021, s022, s030, s031, s040, s101, s102, s103, s110, s111, s112, s120, s121, s130, s200, s201, s202, s210, s211, s220, s300, s301, s310, s400, sigma, type, units, value, verbose, volume, xmax, xmin, ymax, ymin, zmax, zmin| Constructor and Description |
|---|
Object3DLabel(ImageInt ima,
int val)
constructor
|
Object3DLabel(ImagePlus plus,
int val)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object3DVoxels |
buildObject3DVoxels() |
protected void |
computeBounding()
Compute the bounding box of the object
|
protected void |
computeCenter()
Compute the barycenter and the volume
|
void |
computeContours()
Compute the contour voxels of the object
|
protected void |
computeMassCenter(ImageHandler ima)
compute mass center with an image
|
protected void |
computeMassCenter(ImageHandler ima,
ImageHandler mask)
Compute the mass center of the object using signal from an image and within a mask
|
void |
computeMoments2(boolean normalize)
Computation of the dispersion tensor with units value
|
void |
computeMoments3()
Compute the moments of the object, order 3
|
void |
computeMoments4()
Compute the moments of the object, order 4
|
void |
computeMomentsInertia()
Computation of the inertia tensor with units value
|
Roi |
createRoi(int z)
Deprecated.
|
boolean |
draw(ByteProcessor mask,
int z,
int col)
Deprecated.
|
void |
draw(ImageHandler mask,
float val)
drawing inside an ImageHandler
|
void |
draw(ImageHandler mask,
int col) |
void |
draw(ImageHandler mask,
int col,
int tx,
int ty,
int tz) |
void |
draw(ImageStack mask,
int col)
Deprecated.
|
void |
draw(ImageStack mask,
int red,
int green,
int blue)
Deprecated.
|
void |
draw(ObjectCreator3D obj,
int col)
Draw the pixel inside a creator
|
void |
drawIntersection(ImageStack mask,
Object3DLabel other,
int col)
Deprecated.
|
void |
drawIntersection(ImageStack mask,
Object3DLabel other,
int red,
int green,
int blue)
Deprecated.
|
int |
getColoc(Object3D other) |
Voxel3D |
getPixelMax(ImageHandler ima)
compute the voxel with maximum value in an image
|
java.util.LinkedList<Voxel3D> |
getVoxels()
Get the list of voxels of the object
|
boolean |
hasOneVoxelColoc(Object3D obj) |
boolean |
hasOneVoxelValueRange(ImageHandler img,
int t0,
int t1) |
ArrayUtil |
listValues(ImageHandler ima)
Outputs the list of Voxels values using intensity image
|
ArrayUtil |
listValues(ImageHandler ima,
float thresh)
Outputs the list of Voxels values using intensity image above a fixed threshold
|
java.util.LinkedList |
listVoxels(ImageHandler ima,
double threshold)
List Voxels in the image with values > threshold
|
java.util.LinkedList |
listVoxels(ImageHandler ima,
double threshold1,
double threshold2)
List Voxels in the image with values > threshold0 and < threshold1
|
void |
saveObject(java.lang.String path) |
void |
translate(double x,
double y,
double z) |
angle, b_closed, b_open, centerInside, compareTo, computeContours, computeEigen, computeMeshSurface, createIntersectionImage, createIntersectionImage, createSegImage, createSegImage, createSegImageMini2D, disjointBox, distBorderPixel, distBorderUnit, distBorderUnit, distCenter2DUnit, distCenterBorderUnit, distCenterUnit, distHausdorffUnit, distPixelBorder, distPixelBorderUnit, distPixelBorderUnit, distPixelCenter, distPixelCenter, draw, drawAt, drawLink, edgeContact, edgeImage, getAreaPixels, getAreaUnit, getArrayValues, getBoundingBox, getBoundingOriented, getCalibration, getCenterAsArray, getCenterAsPoint, getCenterAsVector, getCenterAsVectorUnit, getCenterUnit, getCenterX, getCenterY, getCenterZ, getClosedObject, getComment, getCompactness, getCompactness, getContours, getConvexObject, getConvexObject, getConvexPolygonRoi, getConvexSurface, getDilatedObject, getDistCenterMax, getDistCenterMean, getDistCenterMin, getDistCenterSigma, getEllipsoid, getErodedObject, getFeret, getFeretVoxel1, getFeretVoxel2, getGeometricInvariants, getHomogeneousInvariants, getIntegratedDensity, getIntegratedDensity, getIntersectionBox, getIntersectionObject, getLabelImage, getLayerEVFObject, getLayerEVFObject, getLayerObject, getMainAxis, getMainElongation, getMassCenterX, getMassCenterY, getMassCenterZ, getMatrixAxes, getMaxLabelImage, getMeanPixValueAroundBarycenter, getMeasure, getMedianElongation, getMoments3D, getMomentsRaw2, getMomentsRaw3, getMomentsRaw4, getName, getNbMoments3D, getNumbering, getObject3DSurface, getObject3DVoxels, getOpenedObject, getPixCenterValue, getPixelBorder, getPixMaxValue, getPixMeanValue, getPixMeanValueContour, getPixMedianValue, getPixMinValue, getPixModeNonZero, getPixModeValue, getPixStdDevValue, getQuantilePixValue, getRadiusMoments, getRatioBox, getRatioEllipsoid, getResXY, getResZ, getSphericity, getSphericity, getType, getUnits, getValue, getValueAxis, getVectorAxis, getVolumeBoundingBoxOrientedPixel, getVolumeBoundingBoxPixel, getVolumeEllipseUnit, getVolumePixels, getVolumeUnit, getXmax, getXmin, getYmax, getYmin, getZmax, getZmin, includedInZonesNone, includedInZonesOneMore, includedInZonesOneOnly, includes, includesBox, includesMarkersNone, includesMarkersOneMore, includesMarkersOneOnly, init, inside, inside, insideAll, insideBounding, insideBounding, insideBounding, insideOne, isContour, isEmpty, listVoxels, listVoxelsByDistance, loadInfo, overlapBox, pcColoc, pcColocSum, pointPixelBorder, radiusCenter, radiusCenter, radiusCenter, radiusPixel, regular, resetQuantifImage, saveInfo, setCalibration, setCalibration, setComment, setLabelImage, setName, setNewCenter, setNewCenter, setNewCenter, setResXY, setResZ, setType, setUnits, setValue, surfaceContact, toString, touchBorders, touchBorders, translate, vectorBorderBorder, vectorBorderBorder, vectorCenterBorder, vectorPixelBorder, vectorPixelBorder, vectorPixelBorder, vectorPixelUnitBorder, vectorPixelUnitBorder, vectorPixelUnitBorder, vectorPixelUnitBorder, VoxelsBorderBorderpublic Object3DLabel(ImageInt ima, int val)
ima - Segmented imageval - Pixel value of the object@Deprecated
public Object3DLabel(ImagePlus plus,
int val)
plus - Segmented imageval - Pixel value of the objectpublic java.util.LinkedList listVoxels(ImageHandler ima, double threshold)
Object3DlistVoxels in class Object3Dima - The image with valuesthreshold - the thresholdpublic java.util.LinkedList listVoxels(ImageHandler ima, double threshold1, double threshold2)
Object3DlistVoxels in class Object3Dima - The image with valuesthreshold1 - the min thresholdthreshold2 - the max thresholdprotected void computeBounding()
computeBounding in class Object3Dpublic void computeContours()
Object3DcomputeContours in class Object3Dpublic Voxel3D getPixelMax(ImageHandler ima)
Object3DgetPixelMax in class Object3Dima - to find the maximum valueprotected void computeCenter()
computeCenter in class Object3Dprotected void computeMassCenter(ImageHandler ima)
computeMassCenter in class Object3Dima - the imageprotected void computeMassCenter(ImageHandler ima, ImageHandler mask)
Object3DcomputeMassCenter in class Object3Dima - the image with the signal intensitymask - the mask to restrain the computationpublic void computeMoments2(boolean normalize)
computeMoments2 in class Object3Dnormalize - public void computeMoments3()
Object3DcomputeMoments3 in class Object3Dpublic void computeMoments4()
Object3DcomputeMoments4 in class Object3Dpublic void computeMomentsInertia()
public void draw(ObjectCreator3D obj, int col)
@Deprecated
public boolean draw(ByteProcessor mask,
int z,
int col)
public void draw(ImageHandler mask, int col)
public void draw(ImageHandler mask, float val)
Object3D@Deprecated
public void draw(ImageStack mask,
int red,
int green,
int blue)
@Deprecated
public void draw(ImageStack mask,
int col)
@Deprecated
public void drawIntersection(ImageStack mask,
Object3DLabel other,
int red,
int green,
int blue)
mask - other - red - green - blue - @Deprecated
public void drawIntersection(ImageStack mask,
Object3DLabel other,
int col)
mask - other - col - @Deprecated public Roi createRoi(int z)
public java.util.LinkedList<Voxel3D> getVoxels()
Object3Dprotected Object3DVoxels buildObject3DVoxels()
public void saveObject(java.lang.String path)
saveObject in class Object3Dpath - public void translate(double x,
double y,
double z)
public boolean hasOneVoxelColoc(Object3D obj)
hasOneVoxelColoc in class Object3Dpublic boolean hasOneVoxelValueRange(ImageHandler img, int t0, int t1)
hasOneVoxelValueRange in class Object3Dpublic ArrayUtil listValues(ImageHandler ima)
Object3DlistValues in class Object3Dima - the intensity imagepublic ArrayUtil listValues(ImageHandler ima, float thresh)
Object3DlistValues in class Object3Dima - the intensity imagepublic void draw(ImageHandler mask, int col, int tx, int ty, int tz)