class Patch extends View
This is a rectangular patch of pixels belonging to a image.
- Alphabetic
- By Inheritance
- Patch
- View
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Patch(image: ImageProcessor, x: Int, y: Int, width: Int, height: Int)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getCornerX(): Int
returns the image x coordinate of the upper left corner of the view
returns the image x coordinate of the upper left corner of the view
- Definition Classes
- View
- def getCornerY(): Int
returns the image y coordinate of the upper left corner of the view
returns the image y coordinate of the upper left corner of the view
- Definition Classes
- View
- def getHeight(): Int
- def getImage(): ImageProcessor
This returns the image that this is a view of.
This returns the image that this is a view of.
- Definition Classes
- View
- def getSample(x: Int, y: Int, out: Array[Int]): Array[Int]
Bounds checks the input to make sure it is part of the patch and then gets the sample from the view.
- def getWidth(): Int
- def getXOffset(): Int
- def getYOffset(): Int
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def imageX(x: Int): Int
- def imageY(y: Int): Int
- def isAtLeftEdge(): Boolean
returns true iff getCornerX() == 0
returns true iff getCornerX() == 0
- Definition Classes
- View
- def isAtTopEdge(): Boolean
returns true iff getCornerY() == 0
returns true iff getCornerY() == 0
- Definition Classes
- View
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nextColumn(overlap: Int): Boolean
This moves the patch to the right in this row of patches if able.
This moves the patch to the right in this row of patches if able. The amount moved will be width-overlap. This returns false on failure.
- def nextPixelRow(): Boolean
This moves the patch one pixel down and all the way to the left.
This moves the patch one pixel down and all the way to the left. If the move fails (because it puts part of the patch out of bounds) then this returns false.
- def nextRow(overlap: Int): Boolean
This moves the patch to the left side of the image and down by height-overlap.
This moves the patch to the left side of the image and down by height-overlap. If the move fails, this returns false.
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def putSample(x: Int, y: Int, values: Array[Int]): Unit
Bounds checks the input to make sure it is part of the patch and then puts the sample into the view.
- def rightOnePixel(): Boolean
This moves the patch one pixel to the right if able.
This moves the patch one pixel to the right if able. If the move fails (because it puts part of the patch out of bounds) then this returns false.
- def setCorner(x: Int, y: Int): Unit
This moves the patch to have the upper left corner at (x,y) in image coordinates.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
returns a string with the corner, width, and height listed
returns a string with the corner, width, and height listed
- Definition Classes
- Patch → AnyRef → Any
- Annotations
- @Override()
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
IJ-Plugins Toolkit is a set of libraries and plugins for ImageJ.
The root directory the API is:
ij_plugins.toolkit
.Additional information available at project home page: ij-plugins/ijp-toolkit