| Package | Description |
|---|---|
| com.neurotec.images | |
| com.neurotec.media |
| Modifier and Type | Method and Description |
|---|---|
static NImage |
NImage.create(NPixelFormat pixelFormat,
int width,
int height,
int stride)
Creates an image with specified pixel format, size and stride.
|
static NImage |
NImage.create(NPixelFormat pixelFormat,
int width,
int height,
long stride,
int flags)
Creates an image with specified pixel format, size and stride.
|
NImage |
NImage.crop(int left,
int top,
int width,
int height)
Crops an image.
|
static NImage |
NImage.fromChannel(ReadableByteChannel ch)
Deprecated.
|
static NImage |
NImage.fromChannel(ReadableByteChannel ch,
NImageFormat imageFormat)
Deprecated.
|
static NImage |
NImage.fromChannel(ReadableByteChannel ch,
NImageFormat imageFormat,
int flags)
Deprecated.
|
static NImage |
NImage.fromData(NPixelFormat pixelFormat,
int width,
int height,
int stride,
int srcStride,
ByteBuffer srcPixels)
Creates NImage object from data.
|
static NImage |
NImage.fromData(NPixelFormat pixelFormat,
int stride,
int srcWidth,
int srcHeight,
int srcStride,
ByteBuffer srcPixels,
int left,
int top,
int width,
int height)
Creates NImage object from data.
|
static NImage |
NImage.fromData(NPixelFormat pixelFormat,
int width,
int height,
long stride,
long srcStride,
ByteBuffer srcPixels,
int flags)
Creates NImage object from data.
|
static NImage |
NImage.fromData(NPixelFormat pixelFormat,
long stride,
int srcWidth,
int srcHeight,
long srcStride,
ByteBuffer[] srcPlanes,
int left,
int top,
int width,
int height,
int flags)
Creates NImage object from data.
|
static NImage |
NImage.fromData(NPixelFormat pixelFormat,
long stride,
int srcWidth,
int srcHeight,
long srcStride,
ByteBuffer srcPixels,
int left,
int top,
int width,
int height,
int flags)
Creates NImage object from data.
|
static NImage |
NImage.fromFile(String fileName)
Creates NImage object from file.
|
static NImage |
NImage.fromFile(String fileName,
NImageFormat imageFormat)
Creates NImage object from file with specified NImageFormat.
|
static NImage |
NImage.fromFile(String fileName,
NImageFormat imageFormat,
int flags)
Creates NImage object from file with specified NImageFormat.
|
static NImage |
NImage.fromImage(NPixelFormat pixelFormat,
int stride,
NImage srcImage)
Creates NImage object from another NImage object.
|
static NImage |
NImage.fromImage(NPixelFormat pixelFormat,
int stride,
NImage srcImage,
int left,
int top,
int width,
int height)
Creates NImage object from another NImage object.
|
static NImage |
NImage.fromImage(NPixelFormat pixelFormat,
long stride,
NImage srcImage,
int flags)
Creates NImage object from another NImage object.
|
static NImage |
NImage.fromImage(NPixelFormat pixelFormat,
long stride,
NImage srcImage,
int left,
int top,
int width,
int height,
int flags)
Creates NImage object from another NImage object.
|
static NImage |
NImage.fromInputStream(InputStream in)
Deprecated.
|
static NImage |
NImage.fromInputStream(InputStream in,
NImageFormat imageFormat)
Deprecated.
|
static NImage |
NImage.fromInputStream(InputStream in,
NImageFormat imageFormat,
int flags)
Deprecated.
|
static NImage |
NImage.fromMemory(ByteBuffer buffer)
Creates NImage object from a byte buffer.
|
static NImage |
NImage.fromMemory(com.neurotec.io.NBuffer buffer)
Creates NImage object from another memory buffer.
|
static NImage |
NImage.fromMemory(com.neurotec.io.NBuffer buffer,
NImageFormat imageFormat)
Creates NImage object from another memory buffer.
|
static NImage |
NImage.fromMemory(com.neurotec.io.NBuffer buffer,
NImageFormat imageFormat,
int flags)
Creates NImage object from another memory buffer.
|
static NImage |
NImage.fromStream(com.neurotec.io.NStream stream) |
static NImage |
NImage.fromStream(com.neurotec.io.NStream stream,
NImageFormat imageFormat) |
static NImage |
NImage.fromStream(com.neurotec.io.NStream stream,
NImageFormat imageFormat,
int flags) |
static NImage |
NImage.fromVideoSample(NVideoFormat format,
byte[] sample) |
static NImage |
NImage.fromVideoSample(NVideoFormat format,
com.neurotec.io.NBuffer sample) |
static NImage |
NImages.getGrayscaleColorWrapper(NImage image,
NRGB minColor,
NRGB maxColor)
Creates NImage object wrapper.
|
static NImage |
NImage.getWrapper(NImage srcImage,
int left,
int top,
int width,
int height)
Creates NImage object wrapper.
|
static NImage |
NImage.getWrapper(NImage srcImage,
int left,
int top,
int width,
int height,
int flags)
Creates NImage object wrapper.
|
static NImage |
NImage.getWrapper(NPixelFormat pixelFormat,
int width,
int height,
int stride,
com.neurotec.io.NBuffer pixels)
Creates NImage object wrapper.
|
static NImage |
NImage.getWrapper(NPixelFormat pixelFormat,
int srcWidth,
int srcHeight,
int stride,
com.neurotec.io.NBuffer pixels,
int left,
int top,
int width,
int height)
Creates NImage object wrapper.
|
static NImage |
NImage.getWrapper(NPixelFormat pixelFormat,
int srcWidth,
int srcHeight,
long stride,
com.neurotec.io.NBuffer[] planes,
int left,
int top,
int width,
int height,
int flags)
Creates NImage object wrapper.
|
static NImage |
NImage.getWrapper(NPixelFormat pixelFormat,
int width,
int height,
long stride,
com.neurotec.io.NBuffer pixels,
int flags)
Creates NImage object wrapper.
|
static NImage |
NImage.getWrapper(NPixelFormat pixelFormat,
int srcWidth,
int srcHeight,
long stride,
com.neurotec.io.NBuffer pixels,
int left,
int top,
int width,
int height,
int flags)
Creates NImage object wrapper.
|
NImage |
NImageReader.read()
Reads an image.
|
NImage |
NImageReader.read(int flags)
Reads an image.
|
static NImage |
NImages.recolorImage(NImage image,
NPixelFormat pixelFormat,
Object minValue,
Object maxValue)
Recolors the specified image.
|
NImage |
NImage.rotateFlip(NImageRotateFlipType rotateFlipType)
Rotates image using rotation type.
|
NImage |
NImage.rotateFlip(NImageRotateType rotateType,
EnumSet<NImageFlipType> flipType)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
NImage.copy(NImage srcImage,
int left,
int top,
int width,
int height,
NImage dstImage,
int dstLeft,
int dstTop)
Copies specified rectangular area of the NImage to other NImage object.
|
void |
NImage.copyTo(NImage dstImage,
int dstLeft,
int dstTop)
Copies specified rectangular area of the NImage to other NImage object.
|
NImageInfo |
NImageFormat.createInfo(NImage image)
Creates NImageInfo for the specified image.
|
NImageInfo |
NImageFormat.createInfo(NImage image,
int flags)
Creates NImageInfo for the specified image.
|
static NImage |
NImage.fromImage(NPixelFormat pixelFormat,
int stride,
NImage srcImage)
Creates NImage object from another NImage object.
|
static NImage |
NImage.fromImage(NPixelFormat pixelFormat,
int stride,
NImage srcImage,
int left,
int top,
int width,
int height)
Creates NImage object from another NImage object.
|
static NImage |
NImage.fromImage(NPixelFormat pixelFormat,
long stride,
NImage srcImage,
int flags)
Creates NImage object from another NImage object.
|
static NImage |
NImage.fromImage(NPixelFormat pixelFormat,
long stride,
NImage srcImage,
int left,
int top,
int width,
int height,
int flags)
Creates NImage object from another NImage object.
|
static NImage |
NImages.getGrayscaleColorWrapper(NImage image,
NRGB minColor,
NRGB maxColor)
Creates NImage object wrapper.
|
static NImage |
NImage.getWrapper(NImage srcImage,
int left,
int top,
int width,
int height)
Creates NImage object wrapper.
|
static NImage |
NImage.getWrapper(NImage srcImage,
int left,
int top,
int width,
int height,
int flags)
Creates NImage object wrapper.
|
static NImage |
NImages.recolorImage(NImage image,
NPixelFormat pixelFormat,
Object minValue,
Object maxValue)
Recolors the specified image.
|
void |
NImageWriter.write(NImage image,
NImageInfo info,
int flags)
Writes data into a specified image.
|
| Modifier and Type | Method and Description |
|---|---|
NImage |
NMediaReader.ReadResult.getImage()
Gets NImage which contains video sample (frame).
|
Copyright © 2016 Neurotechnology. All rights reserved.