org.dicom4j.images
Class DicomFrameFactory

java.lang.Object
  extended by org.dicom4j.images.DicomFrameFactory

public class DicomFrameFactory
extends Object

Factory to create DicomImage

Since:
Alpha 0.0.2
Author:
Laurent Lecomte

Constructor Summary
DicomFrameFactory()
           
 
Method Summary
 DicomFrame createBandInterleavedByteRGBImage(int w, int h, byte[] data, int offset)
           
 DicomFrame createByteGrayscaleImage(int w, int h, byte[] data, int offset)
           
 DicomFrame createPixelInterleavedByteRGBImage(int w, int h, byte[] data, int offset)
           
 DicomFrame createSignedShortGrayscaleImage(int w, int h, short[] data, int offset)
           
 DicomFrame createUnsignedShortGrayscaleImage(int aWidth, int aHeight, short[] data, int offset)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DicomFrameFactory

public DicomFrameFactory()
Method Detail

createBandInterleavedByteRGBImage

public DicomFrame createBandInterleavedByteRGBImage(int w,
                                                    int h,
                                                    byte[] data,
                                                    int offset)

createByteGrayscaleImage

public DicomFrame createByteGrayscaleImage(int w,
                                           int h,
                                           byte[] data,
                                           int offset)

createPixelInterleavedByteRGBImage

public DicomFrame createPixelInterleavedByteRGBImage(int w,
                                                     int h,
                                                     byte[] data,
                                                     int offset)

createSignedShortGrayscaleImage

public DicomFrame createSignedShortGrayscaleImage(int w,
                                                  int h,
                                                  short[] data,
                                                  int offset)

createUnsignedShortGrayscaleImage

public DicomFrame createUnsignedShortGrayscaleImage(int aWidth,
                                                    int aHeight,
                                                    short[] data,
                                                    int offset)


Copyright © 2009 dicom4j. All Rights Reserved.