public class Image16 extends Image8or16Base implements Image, java.lang.Cloneable, java.io.Serializable
bim, zeroPxDouble, zeroPxInt| Constructor and Description |
|---|
Image16(java.awt.image.BufferedImage bim)
Use the BufferedImage to set the width, height and number of bands
(channels) in this Image.
|
Image16(java.awt.image.BufferedImage bim,
boolean raw)
Use the BufferedImage to set the width, height and number of bands
(channels) in this Image.
|
Image16(int width,
int height,
int nBands)
Creates image without setting any pixels.
|
Image16(int width,
int height,
int nBands,
boolean fillWithZeroes)
Creates image with pixels optionally set to zero.
|
Image16(int width,
int height,
int nBands,
boolean fillWithZeroes,
boolean raw)
Creates image with pixels optionally set to zero and optionally flagged
as RAW format (from DSLR).
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(Image other)
Add pixel values from the other Image into the current data array.
|
Image |
clone()
Returns a new Image16 object with the same data.
|
Image16 |
convertToImage16()
Simply returns this (not a clone).
|
Image32 |
convertToImage32()
Returns a new Image32.
|
Image64 |
convertToImage64() |
Image8 |
convertToImage8()
Returns a new Image8.
|
int |
getBytesPerChannel()
Always returns 2 for this kind of image.
|
Image |
gnomonicProjection(int focalLength_mm,
double detectorWidth_mm,
double detectorHeight_mm)
Project from sphere to plane.
|
Image |
inverseGnomonicProjection(int focalLength_mm,
double detectorWidth_mm,
double detectorHeight_mm)
Project from plane to sphere.
|
boolean |
isRaw()
Some 16-bit images may be RAW format from DSLR.
|
void |
setRaw(boolean raw) |
Image[] |
splitChannels()
Convert image to an array of monochrome images.
|
add, addPixel, addProportion, addTranslated, addTranslated, autoCrop, autoStretch, autoStretch, autoThreshold, averageVertically, averageVertically, blurGaussian, checkCompatibility, convertToMonochrome, convertToMonochrome, convolve, convolve, correctBackground, crop, deconvolve, dispose, divide, divideByFlatField, drawRim, fit, flipHorizontal, flipVertical, getBitsPerChannel, getBitsPerChannel, getBufferedImage, getChannelRanges, getChannelRangesDouble, getHeight, getImageTypeAsString, getImageTypeAsString, getMaxLevel, getMaxLevel, getMetadata, getNBands, getNBands, getPixel, getPixelDouble, getPixelDoubleInterpolated, getPixelInterpolated, getRange, getRangeByRescanning, getRangeByRescanningDouble, getRangeDouble, getWidth, gnomonicProjection, inverseGnomonicProjection, invert, keepOnlyDifferingPixels, meanFilter, medianFilter, multiply, multiply, multiply, nearestExtremeFilter, neutraliseBackground, rankFilter, reapplyColour, replaceBrighterPixels, rotate, save, save, save, saveAsFITS, scale, scale, scaleDownForDisplay, set, setBufferedImage, setMetadata, setPixel, setPixel, setPixelDouble, setPixelDouble, setRange, showInfo, splitIntensity, subtract, subtractToZero, threshold, toFoldedString, translate, translate, varianceFilterapplyCurve, compareTo, createImage, createImage, getCalibration, getEv, getFilePath, getGraphicsConfiguration, pixelBrighter, pixelBrighter, pixelsDiffer, pixelsDiffer, plotResponseCurve, recombine, rotate, rotate180, rotate270, rotate90, sameBitsAndBands, sameSizeBitsAndBands, saturate, setCalibration, setEv, setFilePath, showInfo, swapQuadrantsequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, addPixel, addProportion, addTranslated, addTranslated, applyCurve, autoCrop, autoStretch, autoStretch, autoThreshold, averageVertically, averageVertically, blurGaussian, convertToMonochrome, convertToMonochrome, convolve, convolve, correctBackground, crop, deconvolve, dispose, divide, divideByFlatField, drawRim, fit, flipHorizontal, flipVertical, getBitsPerChannel, getCalibration, getChannelRanges, getChannelRangesDouble, getEv, getFilePath, getHeight, getImageTypeAsString, getMaxLevel, getMetadata, getNBands, getPixel, getPixelDouble, getPixelDoubleInterpolated, getPixelInterpolated, getRange, getRangeByRescanning, getRangeByRescanningDouble, getRangeDouble, getWidth, invert, keepOnlyDifferingPixels, meanFilter, medianFilter, multiply, multiply, multiply, nearestExtremeFilter, neutraliseBackground, plotResponseCurve, rankFilter, reapplyColour, replaceBrighterPixels, rotate, rotate, rotate180, rotate270, rotate90, saturate, save, save, save, saveAsFITS, scale, scale, scaleDownForDisplay, set, setCalibration, setEv, setFilePath, setMetadata, setPixel, setPixel, setPixelDouble, setPixelDouble, showInfo, splitIntensity, subtract, subtractToZero, swapQuadrants, threshold, toFoldedString, toString, translate, translate, varianceFilterpublic Image16(int width,
int height,
int nBands)
public Image16(int width,
int height,
int nBands,
boolean fillWithZeroes)
public Image16(int width,
int height,
int nBands,
boolean fillWithZeroes,
boolean raw)
public Image16(java.awt.image.BufferedImage bim)
throws IncompatibleImageException
IncompatibleImageExceptionpublic Image16(java.awt.image.BufferedImage bim,
boolean raw)
throws IncompatibleImageException
IncompatibleImageExceptionpublic boolean isRaw()
public void setRaw(boolean raw)
public void add(Image other) throws IncompatibleImageException
Imageadd in interface ImageIncompatibleImageExceptionpublic Image clone()
clone in interface Imageclone in class Image8or16Basepublic Image8 convertToImage8()
convertToImage8 in interface Imagepublic Image16 convertToImage16()
convertToImage16 in interface Imagepublic Image32 convertToImage32()
convertToImage32 in interface Imagepublic Image64 convertToImage64()
convertToImage64 in interface Imagepublic int getBytesPerChannel()
getBytesPerChannel in interface Imagepublic Image gnomonicProjection(int focalLength_mm, double detectorWidth_mm, double detectorHeight_mm)
ImagegnomonicProjection in interface Imagepublic Image inverseGnomonicProjection(int focalLength_mm, double detectorWidth_mm, double detectorHeight_mm)
ImageinverseGnomonicProjection in interface Imagepublic Image[] splitChannels()
ImagesplitChannels in interface Image