public abstract class DicomPixelInterpolator extends java.lang.Object implements CompositeProperty
| Modifier and Type | Field and Description | 
|---|---|
static PropertyList | 
myProps  | 
| Constructor and Description | 
|---|
DicomPixelInterpolator()  | 
| Modifier and Type | Method and Description | 
|---|---|
DicomPixelInterpolator | 
clone()
Returns a clone of this composite property. 
 | 
PropertyList | 
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
 this object. 
 | 
Property | 
getProperty(java.lang.String name)
Returns a property associated with a specified path name. 
 | 
HasProperties | 
getPropertyHost()
Returns the host for this property 
 | 
PropertyInfo | 
getPropertyInfo()
If this object is a property, returns the corresponding information 
 | 
static java.lang.Class<?>[] | 
getSubClasses()  | 
boolean | 
hasProperty(java.lang.String name)  | 
abstract int | 
interpGrayscale(double in,
               int ymin,
               int ymax)
Interpolates a new grayscale value 
 | 
abstract void | 
interpGrayscaleToRGB(double gray,
                    int ymin,
                    int ymax,
                    int[] out)
Interpolates a grayscale value to RGB 
 | 
abstract void | 
interpRGB(double[] in,
         int ymin,
         int ymax,
         int[] out)
Interpolates a new rgb value 
 | 
abstract int | 
interpRGBToGrayscale(double[] rgb,
                    int ymin,
                    int ymax)
Interpolates an RGB value to grayscale 
 | 
boolean | 
isWritable()  | 
void | 
scan(ReaderTokenizer rtok,
    java.lang.Object ref)  | 
void | 
setPropertyHost(HasProperties newParent)
Sets the host for this property. 
 | 
void | 
setPropertyInfo(PropertyInfo info)
Sets the property information for this property. 
 | 
void | 
write(java.io.PrintWriter pw,
     NumberFormat fmt,
     java.lang.Object ref)  | 
public static PropertyList myProps
public static java.lang.Class<?>[] getSubClasses()
public PropertyInfo getPropertyInfo()
CompositePropertygetPropertyInfo in interface CompositePropertypublic void setPropertyInfo(PropertyInfo info)
CompositePropertysetPropertyInfo in interface CompositePropertyinfo - property informationpublic HasProperties getPropertyHost()
CompositePropertygetPropertyHost in interface CompositePropertypublic void setPropertyHost(HasProperties newParent)
CompositePropertysetPropertyHost in interface CompositePropertynewParent - host for this propertypublic Property getProperty(java.lang.String name)
HasProperties.' characters. A sub-property
 exists if the value of a property is itself an object which exports
 properties. It is only possible to obtain a sub-property handle if each of
 its ancestor properties exports their values by reference.getProperty in interface HasPropertiesname - name of the desired property or sub-propertypublic boolean hasProperty(java.lang.String name)
public PropertyList getAllPropertyInfo()
HasPropertiesgetAllPropertyInfo in interface HasPropertiespublic boolean isWritable()
public void write(java.io.PrintWriter pw,
                  NumberFormat fmt,
                  java.lang.Object ref)
           throws java.io.IOException
java.io.IOExceptionpublic void scan(ReaderTokenizer rtok, java.lang.Object ref) throws java.io.IOException
java.io.IOExceptionpublic DicomPixelInterpolator clone()
CompositePropertyclone in interface CompositePropertyclone in interface Clonableclone in class java.lang.Objectpublic abstract int interpGrayscale(double in,
                                    int ymin,
                                    int ymax)
in - input grayscaleymin - minimum outputymax - maximum outputpublic abstract void interpRGB(double[] in,
                               int ymin,
                               int ymax,
                               int[] out)
in - input rgbymin - minimum output valueymax - maximum output valueout - output rgbpublic abstract int interpRGBToGrayscale(double[] rgb,
                                         int ymin,
                                         int ymax)
rgb - input rgbymin - minimum output valueymax - maximum output valuepublic abstract void interpGrayscaleToRGB(double gray,
                                          int ymin,
                                          int ymax,
                                          int[] out)
gray - input grayscaleymin - minimum output valueymax - maximum output valueout - output rgb