Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.astro.louisville.edu/software/astroimagej/imagej/api/ij/process/ImageConverter.html
Дата изменения: Thu Dec 2 23:03:11 2010 Дата индексирования: Mon Oct 1 22:50:53 2012 Кодировка: Поисковые слова: п п п п п п п п п п п п п п п п п п п п п п п п п п |
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectij.process.ImageConverter
public class ImageConverter
This class converts an ImagePlus object to a different type.
Constructor Summary | |
---|---|
ImageConverter(ImagePlus imp)
Constructs an ImageConverter based on an ImagePlus object. |
Method Summary | |
---|---|
void |
convertHSBToRGB()
Converts a 3-slice (hue, saturation, brightness) 8-bit stack to RGB. |
void |
convertRGBStackToRGB()
Converts a 2 or 3 slice 8-bit stack to RGB. |
void |
convertRGBtoIndexedColor(int nColors)
Converts an RGB image to 8-bits indexed color. |
void |
convertToGray16()
Converts this ImagePlus to 16-bit grayscale. |
void |
convertToGray32()
Converts this ImagePlus to 32-bit grayscale. |
void |
convertToGray8()
Converts this ImagePlus to 8-bit grayscale. |
void |
convertToHSB()
Converts an RGB image to a HSB (hue, saturation and brightness) stack. |
void |
convertToRGB()
Converts this ImagePlus to RGB. |
void |
convertToRGBStack()
Converts an RGB image to an RGB (red, green and blue) stack. |
static boolean |
getDoScaling()
Returns true if scaling is enabled. |
static void |
setDoScaling(boolean scaleConversions)
Set true to scale to 0-255 when converting short to byte or float to byte and to 0-65535 when converting float to short. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageConverter(ImagePlus imp)
Method Detail |
---|
public void convertToGray8()
public void convertToGray16()
public void convertToGray32()
public void convertToRGB()
public void convertToRGBStack()
public void convertToHSB()
public void convertRGBStackToRGB()
public void convertHSBToRGB()
public void convertRGBtoIndexedColor(int nColors)
public static void setDoScaling(boolean scaleConversions)
public static boolean getDoScaling()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |