boofcv.struct.image
Class GrayI16<T extends GrayI16>
- java.lang.Object
-
- boofcv.struct.image.ImageBase<T>
-
- boofcv.struct.image.ImageGray<T>
-
- boofcv.struct.image.GrayI<T>
-
- boofcv.struct.image.GrayI16<T>
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public abstract class GrayI16<T extends GrayI16> extends GrayI<T>
Base class for images with 16-bit pixels.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description short[]data
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description short[]getData()ImageDataTypegetDataType()Returns image type informationvoidset(int x, int y, int value)Sets the value of the specified pixel.voidsetData(short[] data)voidunsafe_set(int x, int y, int value)Sets the value of the specified pixel.-
Methods inherited from class boofcv.struct.image.GrayI
get, print, printBinary, printNotZero, unsafe_get
-
Methods inherited from class boofcv.struct.image.ImageBase
_createNew, clone, createSameShape, getHeight, getImageType, getIndex, getStartIndex, getStride, getWidth, indexToPixel, isInBounds, isSubimage, setHeight, setStartIndex, setStride, setWidth, subimage
-
-
-
-
Method Detail
-
set
public void set(int x, int y, int value)Sets the value of the specified pixel.
-
unsafe_set
public void unsafe_set(int x, int y, int value)Sets the value of the specified pixel.- Specified by:
unsafe_setin classGrayI<T extends GrayI16>- Parameters:
x- pixel coordinate.y- pixel coordinate.value- The pixel's new value.
-
getDataType
public ImageDataType getDataType()
Description copied from class:ImageGrayReturns image type information- Overrides:
getDataTypein classGrayI<T extends GrayI16>- Returns:
- The type of image.
-
getData
public short[] getData()
-
setData
public void setData(short[] data)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG