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, winABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTHADD_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, updateVirtualSlicepublic 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.ImagePluspublic void draw(int x,
int y,
int width,
int height)
draw in class ij.ImagePluspublic void updateAndDraw()
updateAndDraw in class ij.ImagePluspublic void repaintWindow()
repaintWindow in class ij.ImagePluspublic void updateAndRepaintWindow()
updateAndRepaintWindow in class ij.ImagePluspublic void updateImage()
updateImage in class ij.ImagePluspublic void hide()
hide in class ij.ImagePluspublic void close()
close in class ij.ImagePluspublic void show()
show in class ij.ImagePluspublic void show(String statusMessage)
show in class ij.ImagePluspublic void invertLookupTable()
public Image getImage()
getImage in class ij.ImagePluspublic void setImage(Image img)
setImage in class ij.ImagePluspublic void setProcessor(String title, ij.process.ImageProcessor ip)
setProcessor in class ij.ImagePluspublic void setStack(String title, ij.ImageStack stack)
setStack in class ij.ImagePluspublic void setFileInfo(ij.io.FileInfo fi)
setFileInfo in class ij.ImagePluspublic void setWindow(Window win)
public void setColor(Color c)
setColor in class ij.ImagePluspublic boolean isProcessor()
isProcessor in class ij.ImagePluspublic ij.process.ImageProcessor getProcessor()
getProcessor in class ij.ImagePluspublic void trimProcessor()
trimProcessor in class ij.ImagePluspublic ij.process.ImageProcessor getMask()
getMask in class ij.ImagePluspublic ij.process.ImageStatistics getStatistics(int nOptions,
int nBins,
double histMin,
double histMax)
getStatistics in class ij.ImagePluspublic String getTitle()
getTitle in class ij.ImagePluspublic void setTitle(String title)
setTitle in class ij.ImagePluspublic int getStackSize()
getStackSize in class ij.ImagePluspublic void setDimensions(int nChannels,
int nSlices,
int nFrames)
setDimensions in class ij.ImagePluspublic int getNChannels()
getNChannels in class ij.ImagePluspublic int getNSlices()
getNSlices in class ij.ImagePluspublic int getNFrames()
getNFrames in class ij.ImagePluspublic int[] getDimensions()
getDimensions in class ij.ImagePluspublic int getType()
getType in class ij.ImagePluspublic int getBitDepth()
getBitDepth in class ij.ImagePlusprotected void setType(int type)
setType in class ij.ImagePluspublic void setProperty(String key, Object value)
setProperty in class ij.ImagePluspublic Properties getProperties()
getProperties in class ij.ImagePluspublic ij.LookUpTable createLut()
createLut in class ij.ImagePluspublic boolean isInvertedLut()
isInvertedLut in class ij.ImagePluspublic int[] getPixel(int x,
int y)
getPixel in class ij.ImagePluspublic ij.ImageStack createEmptyStack()
createEmptyStack in class ij.ImagePluspublic ij.ImageStack getStack()
getStack in class ij.ImagePluspublic ij.ImageStack getImageStack()
getImageStack in class ij.ImagePluspublic int getCurrentSlice()
getCurrentSlice in class ij.ImagePluspublic void setSlice(int index)
setSlice in class ij.ImagePluspublic Roi getRoi()
getRoi in class ij.ImagePluspublic void setRoi(Roi roi)
setRoi in class ij.ImagePluspublic void setRoi(Rectangle r)
setRoi in class ij.ImagePluspublic void createNewRoi(int sx,
int sy)
createNewRoi in class ij.ImagePluspublic void killRoi()
killRoi in class ij.ImagePluspublic void saveRoi()
saveRoi in class ij.ImagePluspublic ij.io.FileInfo getFileInfo()
getFileInfo in class ij.ImagePluspublic void flush()
flush in class ij.ImagePluspublic ij.measure.Calibration getCalibration()
getCalibration in class ij.ImagePluspublic void setCalibration(ij.measure.Calibration cal)
setCalibration in class ij.ImagePluspublic ij.measure.Calibration getLocalCalibration()
getLocalCalibration in class ij.ImagePluspublic void copy(boolean cut)
copy in class ij.ImagePluspublic void paste()
paste in class ij.ImagePluspublic void decacheAll()
public void setPosition(int channel,
int slice,
int frame)
setPosition in class ij.ImagePluspublic int getStackIndex(int channel,
int slice,
int frame)
getStackIndex in class ij.ImagePluspublic ij.ImagePlus createGray8Copy()
public ij.ImagePlus createColor256Copy()
Copyright © 2015–2021 Fiji. All rights reserved.