|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pixelmed.apps.Convert8To16Bits
public class Convert8To16Bits
A class of methods to convert 8 to 16 bit gray scale images.
| Constructor Summary | |
|---|---|
Convert8To16Bits(String inputFileName,
String outputFileName,
int outputBitsStored)
Read a DICOM 8 bit grayscale image input format file and change the bit depth. |
|
| Method Summary | |
|---|---|
static void |
main(String[] arg)
Read a DICOM a image input format file with a BitsAllocated of 8, and from it create a DICOM image with a BitsAllocated of 16. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Convert8To16Bits(String inputFileName,
String outputFileName,
int outputBitsStored)
throws DicomException,
FileNotFoundException,
IOException
Read a DICOM 8 bit grayscale image input format file and change the bit depth.
inputFileName - the input file nameoutputFileName - the output file nameoutputBitsStored - less than or equal to 16
DicomException
FileNotFoundException
IOException| Method Detail |
|---|
public static void main(String[] arg)
Read a DICOM a image input format file with a BitsAllocated of 8, and from it create a DICOM image with a BitsAllocated of 16.
arg - three parameters, the inputFile, outputFile, and the bitsStored value to use in the output
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||