public class BlankMask extends ImageByte
| Constructor and Description |
|---|
BlankMask(ImageHandler template) |
BlankMask(java.lang.String title,
int sizeX,
int sizeY,
int sizeZ) |
| Modifier and Type | Method and Description |
|---|---|
ImageByte |
crop3D(java.lang.String title,
int x_min,
int x_max,
int y_min,
int y_max,
int z_min,
int z_max) |
ImageByte[] |
crop3D(java.util.TreeMap<java.lang.Float,int[]> bounds) |
ImageByte |
crop3DBinary(java.lang.String title,
float label,
int x_min,
int x_max,
int y_min,
int y_max,
int z_min,
int z_max) |
ImageByte |
crop3DMask(java.lang.String title,
ImageInt mask,
float label,
int x_min_,
int x_max_,
int y_min_,
int y_max_,
int z_min_,
int z_max_) |
void |
draw(Object3D o,
int value) |
boolean |
equals(java.lang.Object o) |
void |
erase() |
java.lang.Object |
getArray1D() |
java.util.TreeMap<java.lang.Float,int[]> |
getBounds(boolean addBorder) |
int[] |
getHisto(ImageInt mask) |
protected int[] |
getHisto(ImageInt mask,
int nBins,
double min,
double max) |
ImagePlus |
getImagePlus() |
protected void |
getMinAndMax(ImageInt mask) |
float |
getPixel(int coord) |
float |
getPixel(IntCoord3D vox) |
float |
getPixel(int xy,
int z) |
float |
getPixel(int x,
int y,
int z) |
int |
getPixelInt(int coord) |
int |
getPixelInt(int xy,
int z) |
int |
getPixelInt(int x,
int y,
int z) |
double |
getScaleXY() |
double |
getScaleZ() |
int |
hashCode() |
protected ImageFloat |
normalize_(ImageInt mask,
double saturation) |
ImageByte |
resample(int newZ,
int method)
Rescale the image to new dimension, only in Z
|
ImageByte |
resample(int newX,
int newY,
int newZ,
int method)
Rescale the image to new dimension, in X Y and Z
|
ImageHandler |
resize(int dX,
int dY,
int dZ)
Enlarge the canvas size of the image in X, Y and Z .
|
void |
setMinAndMax(ImageInt mask) |
void |
setPixel(int coord,
float value) |
void |
setPixel(int xy,
int z,
float value) |
void |
setPixel(int x,
int y,
int z,
float value) |
boolean |
shiftIndexes(java.util.TreeMap<java.lang.Integer,int[]> bounds) |
ImageByte |
threshold(float thld,
boolean keepUnderThld,
boolean strict) |
void |
thresholdCut(float thld,
boolean keepUnderThld,
boolean strict) |
addMask, convert, convert, convertToFloat, convertToShort, copy, countMaskVolume, deleteSlices, draw, duplicate, fill, flushPixels, getArray1D, getArray1DByte, getImagePlus, getPixel, getPixel, getPixel, getPixelInt, getPixelInt, getPixelInterpolated, getPixelIntInterpolated, getSizeInMb, getType, intersectMask, intersectMask, intersectMask2D, invert, isOpened, normalize, setPixel, setPixel, setPixel, setPixelCross3D, substractMask, thresholdRangeExclusive, thresholdRangeInclusive, toMask, trimSlicesadaptiveFilter, adaptiveFilter, addImage, crop3DBinary, crop3DBinary, cropRadius, diffAbsImage, erode, filterGeneric, filterGeneric, filterGeneric, filterGeneric, filterPooling, filterPooling, firstVoxelValueInt, getDistanceMapInsideMask, getListMaxima, getListMaxima, getObject3DBackground, getObjectMask, getObjects3D, getObjects3D, getObjects3DPopulation, getUniqueValues, getUniqueValues, hasOneValueInt, invertMask, isBinary, isBinary, mathGeneric, operationGeneric, projectAVG, replacePixelsValue, replacePixelsValue, replacePixelsValue, replacePixelsValue, sobelFilter, substractImage, subtractImage, subtractImageInt, toCenterMask, wrap, wrapaddImage, addImage, addValue, closeImagePlus, contains, contains, contains, contains, convertToByte, convertToByte, createListVoxels, createSameDimensions, createSameType, divideByValue, divideImage, enlarge, extractLine, fill, flush, getBinaryData, getCalibration, getDistanceMap, getHistogram, getHistogram, getHistogram, getHistogram, getHistogram, getHyperStack, getImageStack, getImageStats, getLineX, getLineY, getLineZ, getMax, getMax, getMaxBelowValue, getMaxPosition, getMean, getMean, getMin, getMin, getMinAboveValue, getMinAndMaxArray, getMinAndMaxArray, getMoments, getNeighborhood, getNeighborhood3x3x3, getNeighborhood3x3x3CenterList, getNeighborhood3x3x3ListCenter, getNeighborhood3x3x3ListNoCenter, getNeighborhood3x3x3NoCenterList, getNeighborhoodBrick, getNeighborhoodCross3D, getNeighborhoodCross3DList, getNeighborhoodKernel, getNeighborhoodKernel, getNeighborhoodKernelAdd, getNeighborhoodKernelSubstract, getNeighborhoodLayer, getNeighborhoodLayer, getNeighborhoodLayerAngle, getNeighborhoodLayerList, getNeighborhoodLayerList, getNeighborhoodSphere, getNeighborhoodXY3x3, getPercentile, getPixel, getPixel, getThumbNail, getThumbNail, getThumbnailImage, getTitle, getUnit, hasOneValue, hide, homogenizeBitDepth, insert, invert, invertBackground, isVisible, maskContains, merge3D, merge3DBinary, merge3DRaw, multiplyByValue, multiplyImage, newBlankImageHandler, normaliseValue, normalize, openImage, powImage, radialDistribution, radialDistribution, radialDistribution, resetStats, resetStats, sameDimensions, sameDimensions, sameDimentions, sameDimentions, save, save, saveThumbNail, set332RGBLut, setCalibration, setGraysLut, setLineX, setLineY, setLineZ, setMinAndMax, setOffset, setOffset, setPixelIncrement, setPixelIncrement, setScale, setScale, setTitle, show, show, showDuplicate, substractImage, subtractImage, thresholdAboveExclusive, thresholdAboveInclusive, ToByte, touchBorders, transfertPixelValues, updateDisplay, zoompublic BlankMask(java.lang.String title,
int sizeX,
int sizeY,
int sizeZ)
public BlankMask(ImageHandler template)
public double getScaleXY()
getScaleXY in class ImageHandlerpublic double getScaleZ()
getScaleZ in class ImageHandlerpublic ImagePlus getImagePlus()
getImagePlus in class ImageHandlerpublic int getPixelInt(int xy,
int z)
getPixelInt in class ImageBytepublic int getPixelInt(int x,
int y,
int z)
getPixelInt in class ImageBytepublic int getPixelInt(int coord)
getPixelInt in class ImageBytepublic java.util.TreeMap<java.lang.Float,int[]> getBounds(boolean addBorder)
getBounds in class ImageHandlerpublic ImageByte crop3DBinary(java.lang.String title, float label, int x_min, int x_max, int y_min, int y_max, int z_min, int z_max)
crop3DBinary in class ImageBytepublic boolean shiftIndexes(java.util.TreeMap<java.lang.Integer,int[]> bounds)
shiftIndexes in class ImageBytepublic float getPixel(IntCoord3D vox)
public void setPixel(int x,
int y,
int z,
float value)
public java.lang.Object getArray1D()
getArray1D in class ImageByteprotected void getMinAndMax(ImageInt mask)
getMinAndMax in class ImageBytepublic void setMinAndMax(ImageInt mask)
setMinAndMax in class ImageHandlerprotected int[] getHisto(ImageInt mask, int nBins, double min, double max)
public ImageByte threshold(float thld, boolean keepUnderThld, boolean strict)
public void thresholdCut(float thld,
boolean keepUnderThld,
boolean strict)
thresholdCut in class ImageBytepublic ImageByte crop3D(java.lang.String title, int x_min, int x_max, int y_min, int y_max, int z_min, int z_max)
public ImageByte[] crop3D(java.util.TreeMap<java.lang.Float,int[]> bounds)
public ImageByte crop3DMask(java.lang.String title, ImageInt mask, float label, int x_min_, int x_max_, int y_min_, int y_max_, int z_min_, int z_max_)
crop3DMask in class ImageBytepublic ImageHandler resize(int dX, int dY, int dZ)
ImageHandlerpublic ImageByte resample(int newX, int newY, int newZ, int method)
ImageHandlerpublic ImageByte resample(int newZ, int method)
ImageByteprotected ImageFloat normalize_(ImageInt mask, double saturation)
normalize_ in class ImageBytepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object