Available Methods
- getWidth ( )
- getHeight ( )
- set ( )
- getf ( )
- get ( )
- fill ( )
- duplicate ( )
- setf ( )
- setValue ( )
- invert ( )
- setRoi ( )
- createProcessor ( )
- getPixelCount ( )
- setColor ( )
- resetMinAndMax ( )
- setLut ( )
- setMinAndMax ( )
- invertLut ( )
- setPixels ( )
- isInvertedLut ( )
- createImage ( )
- getRoi ( )
- getMax ( )
- setSnapshotCopyMode ( )
- getPixelValue ( )
- getPixels ( )
- getMinThreshold ( )
- convertToFloat ( )
- setColorModel ( )
Related Classes
- java.io.File
- java.util.Iterator
- java.util.concurrent.Executors
- java.util.concurrent.ExecutorService
- java.util.concurrent.atomic.AtomicInteger
- java.util.TreeMap
- java.util.concurrent.Callable
- java.util.concurrent.ExecutionException
- java.util.concurrent.Future
- java.util.TreeSet
- java.awt.image.BufferedImage
- java.awt.Color
- java.awt.Graphics2D
- java.awt.Rectangle
- java.awt.Image
- java.awt.Point
- java.awt.geom.AffineTransform
- java.awt.geom.Point2D
- java.awt.image.WritableRaster
- org.apache.spark.SparkConf
- java.awt.image.ColorModel
- org.apache.spark.api.java.JavaSparkContext
- org.apache.spark.api.java.JavaRDD
- java.awt.geom.Area
- org.apache.spark.api.java.function.Function
Java Code Examples for ij.process.ImageProcessor#setSnapshotCopyMode()
The following examples show how to use
ij.process.ImageProcessor#setSnapshotCopyMode() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: BinaryOrbit.java From orbit-image-analysis with GNU General Public License v3.0 | 6 votes |
public void run (ImageProcessor ip) { int fg = Prefs.blackBackground ? 255 : 0; foreground = ip.isInvertedLut() ? 255-fg : fg; background = 255 - foreground; ip.setSnapshotCopyMode(true); if (arg.equals("outline")) outline(ip); else if (arg.startsWith("fill")) fill(ip, foreground, background); else if (arg.startsWith("skel")) { ip.resetRoi(); skeletonize(ip); } else if (arg.equals("erode") || arg.equals("dilate")) doIterations(ip, arg); else if (arg.equals("open")) { doIterations(ip, "erode"); doIterations(ip, "dilate"); } else if (arg.equals("close")) { doIterations(ip, "dilate"); doIterations(ip, "erode"); } ip.setSnapshotCopyMode(false); ip.setBinaryThreshold(); }
Example 2
Source File: ShenCastan.java From Scripts with GNU General Public License v3.0 | 5 votes |
@Override public void run(final ImageProcessor ip) { if (canceled) return; ip.setSnapshotCopyMode(true); findEdges(ip, f); ip.setSnapshotCopyMode(false); }