My question is how does one create a DicomImage object from a byte array? This byte array contains a dcm file read from the filesystem. The intention is to return the processed image to some java code with createJavaAWTBitmap. Now for example I already have the DcmInputBufferStream set up
Code: Select all
DcmInputStream* dcmInputStream = new DcmInputBufferStream();
((DcmInputBufferStream*)dcmInputStream)->setBuffer(bufferPtr, numBytes);
if (fileformat.read(*dcmInputStream).good()){
...
}