public final class NImages extends Object
| Constructor and Description |
|---|
NImages() |
| Modifier and Type | Method and Description |
|---|---|
static NImage |
getGrayscaleColorWrapper(NImage image,
NRGB minColor,
NRGB maxColor)
Creates NImage object wrapper.
|
static String |
getOpenFileFilter()
Gets a list with names of all NImageFormats, which support reading.
|
static String |
getOpenFileFilterString(boolean addAllImage,
boolean addAllFiles)
Gets a list with names of all NImageFormats, which support reading.
|
static String |
getSaveFileFilter()
Gets a list with names of all NImageFormats, which support.
|
static String |
getSaveFileFilterString()
Gets a list with names of all NImageFormats, which support writing.
|
static com.neurotec.lang.NType |
nativeTypeOf()
Retrieves the native type for the enclosing class.
|
static NImage |
recolorImage(NImage image,
NPixelFormat pixelFormat,
Object minValue,
Object maxValue)
Recolors the specified image.
|
public static com.neurotec.lang.NType nativeTypeOf()
public static String getOpenFileFilter()
public static String getSaveFileFilter()
public static String getOpenFileFilterString(boolean addAllImage, boolean addAllFiles)
addAllImage - Boolean indicating whether to add "All image files" to the list.addAllFiles - Boolean indicating whether to add "All files" to the listpublic static String getSaveFileFilterString()
public static NImage getGrayscaleColorWrapper(NImage image, NRGB minColor, NRGB maxColor)
image - A NImage object.minColor - Specifies color to be used for black color.maxColor - Specifies color to be used for white color.public static NImage recolorImage(NImage image, NPixelFormat pixelFormat, Object minValue, Object maxValue)
image - The image to be recolored.pixelFormat - Format of the pixels.minValue - The minimum pixel value in the image.maxValue - The maximum pixel value in the image.Copyright © 2016 Neurotechnology. All rights reserved.