public class ImageSInt8 extends ImageInt8<ImageSInt8>
Image with a pixel type of signed 8-bit integer.
| Constructor and Description |
|---|
ImageSInt8() |
ImageSInt8(int width,
int height)
Creates a new gray scale (single band/color) image.
|
| Modifier and Type | Method and Description |
|---|---|
ImageSInt8 |
_createNew(int imgWidth,
int imgHeight)
Returns a new image.
|
ImageDataType |
getTypeInfo()
Returns image type information
|
int |
unsafe_get(int x,
int y)
Get function which does not perform bounds checking.
|
_getData, _setData, set, unsafe_setget, print, printBinary, printNotZeroreshape, setTo, subimageclone, getHeight, getIndex, getStartIndex, getStride, getWidth, indexToPixel, isInBounds, isSubimage, setHeight, setStartIndex, setStride, setWidthpublic ImageSInt8(int width,
int height)
width - number of columns in the image.height - number of rows in the image.public ImageSInt8()
public int unsafe_get(int x,
int y)
ImageIntegerunsafe_get in class ImageInteger<ImageSInt8>x - pixel coordinate.y - pixel coordinate.public ImageDataType getTypeInfo()
ImageSingleBandgetTypeInfo in class ImageInt8<ImageSInt8>public ImageSInt8 _createNew(int imgWidth, int imgHeight)
ImageBase_createNew in class ImageBase<ImageSInt8>imgWidth - Width of the new imageimgHeight - height of the new imageCopyright © 2013. All Rights Reserved.