예제 #1
0
 public override void Decode(
     DicomPixelData oldPixelData,
     DicomPixelData newPixelData,
     DicomCodecParams parameters)
 {
     DicomJpeg2000NativeCodec.Decode(
         oldPixelData.ToNativePixelData(),
         newPixelData.ToNativePixelData(),
         parameters.ToNativeJpeg2000Parameters());
 }
        public override void Decode(
            DicomPixelData oldPixelData,
            DicomPixelData newPixelData,
            DicomCodecParams parameters)
        {
#if NETFX_CORE && !HOLOLENS
            DicomJpeg2000NativeCodec.Decode(
                oldPixelData.ToNativePixelData(),
                newPixelData.ToNativePixelData(),
                parameters.ToNativeJpeg2000Parameters());
#else
            DicomJpeg2000CodecImpl.Decode(oldPixelData, newPixelData, parameters as DicomJpeg2000Params);
#endif
        }