public class PatchStack
extends ij.ImagePlus
changes, CLOSED, COLOR_256, COLOR_RGB, compositeImage, currentSlice, dimensionsSet, flattenTitle, GRAY16, GRAY32, GRAY8, height, img, ip, locked, nChannels, nFrames, nSlices, OPENED, roi, setIJMenuBar, UPDATED, width, win
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
ADD_TO_OVERLAY, ALL_STATS, AREA, AREA_FRACTION, CENTER_OF_MASS, CENTROID, CIRCULARITY, ELLIPSE, FERET, INTEGRATED_DENSITY, INVERT_Y, KURTOSIS, LABELS, LIMIT, MAX_STANDARDS, MEAN, MEDIAN, MIN_MAX, MODE, NaN_EMPTY_CELLS, PERIMETER, RECT, SCIENTIFIC_NOTATION, SHAPE_DESCRIPTORS, SKEWNESS, SLICE, STACK_POSITION, STD_DEV
Constructor and Description |
---|
PatchStack(Patch[] patch,
int currentSlice) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
contains(Patch p) |
void |
copy(boolean cut) |
ij.ImagePlus |
createColor256Copy()
Does not respect local transform of the patches, this is intended for confocal stacks.
|
ij.ImageStack |
createEmptyStack() |
ij.ImagePlus |
createGray8Copy()
Does not respect local transform of the patches, this is intended for confocal stacks.
|
ij.LookUpTable |
createLut() |
void |
createNewRoi(int sx,
int sy) |
void |
decacheAll()
Remove all awts and snaps from the loader's cache, and repaint (which will remake as many as needed)
|
void |
draw() |
void |
draw(int x,
int y,
int width,
int height) |
void |
flush() |
int |
getBitDepth() |
Rectangle |
getBounds()
Assumes all patches are of the same dimensions.
|
ij.measure.Calibration |
getCalibration() |
Patch |
getCurrentPatch()
Returns the Patch corresponding to the current slice.
|
int |
getCurrentSlice() |
int[] |
getDimensions()
Override to return width, height, 1, patch.length, 1
|
ij.io.FileInfo |
getFileInfo() |
Image |
getImage() |
ij.ImageStack |
getImageStack() |
ij.measure.Calibration |
getLocalCalibration() |
ij.process.ImageProcessor |
getMask() |
int |
getNChannels()
Override to return 1.
|
int |
getNFrames()
Override to return 1.
|
int |
getNSlices() |
Patch |
getPatch(int i)
From 0 to getNSlices() -1, otherwise null.
|
Patch |
getPatch(Layer layer,
Patch p)
If the 'p' is contained in this PatchStack, get the first Patch found to be contained here and in the given 'layer'
|
int[] |
getPixel(int x,
int y) |
ij.process.ImageProcessor |
getProcessor() |
Properties |
getProperties() |
Object |
getProperty(String key) |
Roi |
getRoi() |
ij.ImageStack |
getStack() |
int |
getStackIndex(int channel,
int slice,
int frame) |
int |
getStackSize() |
ij.process.ImageStatistics |
getStatistics(int nOptions,
int nBins,
double histMin,
double histMax) |
String |
getTitle() |
int |
getType() |
void |
hide() |
void |
invertLookupTable() |
boolean |
isInvertedLut() |
boolean |
isProcessor() |
void |
killRoi() |
void |
paste() |
void |
repaintWindow() |
void |
resetNonActive()
Reset temporary changes such as from dragging B&C sliders and so on, in the current slice (the current Patch).
|
void |
revert(Patch p) |
void |
revertAll() |
void |
saveImages()
Store working copies and remake the awts and repaint.
|
void |
saveRoi() |
void |
setCalibration(ij.measure.Calibration cal) |
void |
setColor(Color c) |
void |
setCurrentSlice(Patch p) |
void |
setDimensions(int nChannels,
int nSlices,
int nFrames) |
void |
setFileInfo(ij.io.FileInfo fi) |
void |
setImage(Image img) |
void |
setPosition(int channel,
int slice,
int frame) |
void |
setProcessor(String title,
ij.process.ImageProcessor ip) |
void |
setProperty(String key,
Object value) |
void |
setRoi(Rectangle r) |
void |
setRoi(Roi roi) |
void |
setSlice(int index) |
void |
setStack(String title,
ij.ImageStack stack) |
void |
setTitle(String title) |
protected void |
setType(int type) |
void |
setWindow(Window win) |
void |
show() |
void |
show(String statusMessage) |
void |
trimProcessor() |
void |
updateAndDraw() |
void |
updateAndRepaintWindow() |
void |
updateImage() |
addImageListener, clone, convertIndexToPosition, copy, copyAttributes, copyScale, copyToSystem, createHyperStack, createImagePlus, createRoiMask, createThresholdMask, crop, crop, crop, crop, cropAndSave, cut, deleteRoi, duplicate, flatten, flattenStack, getAllStatistics, getBufferedImage, getBytesPerPixel, getC, getCanvas, getChannel, getChannelProcessor, getClipboard, getCompositeMode, getDefault16bitRange, getDimensions, getDisplayMode, getDisplayRangeMax, getDisplayRangeMin, getFrame, getGlobalCalibration, getHeight, getHideOverlay, getID, getImageProperties, getImageStackSize, getInfoProperty, getLocationAsString, getLuts, getNDimensions, getNumericProp, getNumericProperty, getOpenAsHyperStack, getOriginalFileInfo, getOverlay, getPlot, getProp, getPropertiesAsArray, getPropsInfo, getRawStatistics, getShortTitle, getSizeInBytes, getSlice, getStartTime, getStaticGlobalCalibration, getStatistics, getStatistics, getStatistics, getStringProperty, getT, getWidth, getWindow, getZ, imageUpdate, isComposite, isDisplayedHyperStack, isHyperStack, isLocked, isLockedByAnotherThread, isStack, isThreshold, isVisible, killStack, lock, lockSilently, logImageListeners, mouseMoved, notifyListeners, okToDeleteRoi, paste, plotHistogram, plotHistogram, removeImageListener, resetClipboard, resetDisplayRange, resetStack, resize, resize, restoreRoi, revert, setActivated, setActiveChannels, setAntialiasRendering, setC, setDefault16bitRange, setDisplayMode, setDisplayRange, setDisplayRange, setGlobalCalibration, setHideOverlay, setIgnoreFlush, setIgnoreGlobalCalibration, setIJMenuBar, setIJMenuBar, setImage, setLut, setOpenAsHyperStack, setOverlay, setOverlay, setOverlay, setPlot, setPosition, setPositionWithoutUpdate, setProcessor, setProp, setProp, setProperties, setRoi, setRoi, setSliceWithoutUpdate, setStack, setStack, setT, setTypeToColor256, setWindow, setZ, startTiming, tempOverlay, toString, unlock, updateChannelAndDraw, updatePosition, updateStatusbarValue, updateVirtualSlice
public PatchStack(Patch[] patch, int currentSlice)
public Rectangle getBounds()
public boolean contains(Patch p)
public Patch getPatch(Layer layer, Patch p)
public Patch getPatch(int i)
public Patch getCurrentPatch()
public void setCurrentSlice(Patch p)
public void revert(Patch p)
public void revertAll()
public void resetNonActive()
public void saveImages()
public void draw()
draw
in class ij.ImagePlus
public void draw(int x, int y, int width, int height)
draw
in class ij.ImagePlus
public void updateAndDraw()
updateAndDraw
in class ij.ImagePlus
public void repaintWindow()
repaintWindow
in class ij.ImagePlus
public void updateAndRepaintWindow()
updateAndRepaintWindow
in class ij.ImagePlus
public void updateImage()
updateImage
in class ij.ImagePlus
public void hide()
hide
in class ij.ImagePlus
public void close()
close
in class ij.ImagePlus
public void show()
show
in class ij.ImagePlus
public void show(String statusMessage)
show
in class ij.ImagePlus
public void invertLookupTable()
public Image getImage()
getImage
in class ij.ImagePlus
public void setImage(Image img)
setImage
in class ij.ImagePlus
public void setProcessor(String title, ij.process.ImageProcessor ip)
setProcessor
in class ij.ImagePlus
public void setStack(String title, ij.ImageStack stack)
setStack
in class ij.ImagePlus
public void setFileInfo(ij.io.FileInfo fi)
setFileInfo
in class ij.ImagePlus
public void setWindow(Window win)
public void setColor(Color c)
setColor
in class ij.ImagePlus
public boolean isProcessor()
isProcessor
in class ij.ImagePlus
public ij.process.ImageProcessor getProcessor()
getProcessor
in class ij.ImagePlus
public void trimProcessor()
trimProcessor
in class ij.ImagePlus
public ij.process.ImageProcessor getMask()
getMask
in class ij.ImagePlus
public ij.process.ImageStatistics getStatistics(int nOptions, int nBins, double histMin, double histMax)
getStatistics
in class ij.ImagePlus
public String getTitle()
getTitle
in class ij.ImagePlus
public void setTitle(String title)
setTitle
in class ij.ImagePlus
public int getStackSize()
getStackSize
in class ij.ImagePlus
public void setDimensions(int nChannels, int nSlices, int nFrames)
setDimensions
in class ij.ImagePlus
public int getNChannels()
getNChannels
in class ij.ImagePlus
public int getNSlices()
getNSlices
in class ij.ImagePlus
public int getNFrames()
getNFrames
in class ij.ImagePlus
public int[] getDimensions()
getDimensions
in class ij.ImagePlus
public int getType()
getType
in class ij.ImagePlus
public int getBitDepth()
getBitDepth
in class ij.ImagePlus
protected void setType(int type)
setType
in class ij.ImagePlus
public void setProperty(String key, Object value)
setProperty
in class ij.ImagePlus
public Properties getProperties()
getProperties
in class ij.ImagePlus
public ij.LookUpTable createLut()
createLut
in class ij.ImagePlus
public boolean isInvertedLut()
isInvertedLut
in class ij.ImagePlus
public int[] getPixel(int x, int y)
getPixel
in class ij.ImagePlus
public ij.ImageStack createEmptyStack()
createEmptyStack
in class ij.ImagePlus
public ij.ImageStack getStack()
getStack
in class ij.ImagePlus
public ij.ImageStack getImageStack()
getImageStack
in class ij.ImagePlus
public int getCurrentSlice()
getCurrentSlice
in class ij.ImagePlus
public void setSlice(int index)
setSlice
in class ij.ImagePlus
public Roi getRoi()
getRoi
in class ij.ImagePlus
public void setRoi(Roi roi)
setRoi
in class ij.ImagePlus
public void setRoi(Rectangle r)
setRoi
in class ij.ImagePlus
public void createNewRoi(int sx, int sy)
createNewRoi
in class ij.ImagePlus
public void killRoi()
killRoi
in class ij.ImagePlus
public void saveRoi()
saveRoi
in class ij.ImagePlus
public ij.io.FileInfo getFileInfo()
getFileInfo
in class ij.ImagePlus
public void flush()
flush
in class ij.ImagePlus
public ij.measure.Calibration getCalibration()
getCalibration
in class ij.ImagePlus
public void setCalibration(ij.measure.Calibration cal)
setCalibration
in class ij.ImagePlus
public ij.measure.Calibration getLocalCalibration()
getLocalCalibration
in class ij.ImagePlus
public void copy(boolean cut)
copy
in class ij.ImagePlus
public void paste()
paste
in class ij.ImagePlus
public void decacheAll()
public void setPosition(int channel, int slice, int frame)
setPosition
in class ij.ImagePlus
public int getStackIndex(int channel, int slice, int frame)
getStackIndex
in class ij.ImagePlus
public ij.ImagePlus createGray8Copy()
public ij.ImagePlus createColor256Copy()
Copyright © 2015–2021 Fiji. All rights reserved.