Mercurial > hg > orthanc
diff UnitTestsSources/JpegLossless.cpp @ 847:03ea55da7429 jpeg
fully functional JPEG-LS conversion
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 05 Jun 2014 18:14:16 +0200 |
parents | 48016722c770 |
children | 703e8d5b03fd |
line wrap: on
line diff
--- a/UnitTestsSources/JpegLossless.cpp Thu Jun 05 16:23:03 2014 +0200 +++ b/UnitTestsSources/JpegLossless.cpp Thu Jun 05 18:14:16 2014 +0200 @@ -49,8 +49,6 @@ TEST(JpegLossless, Basic) { - //DJLSDecoderRegistration::registerCodecs( EJLSUC_default, EJLSPC_restore,OFFalse ); - #if 0 // Fallback @@ -89,7 +87,8 @@ ASSERT_TRUE(DicomImageDecoder::IsJpegLossless(dataset)); ImageBuffer image; - DicomImageDecoder::DecodeJpegLossless(image, dataset); + //DicomImageDecoder::DecodeJpegLossless(image, dataset, 0); + DicomImageDecoder::Decode(image, dataset, 0); ImageAccessor accessor(image.GetAccessor()); @@ -108,9 +107,6 @@ } #endif - - - //DJLSDecoderRegistration::cleanup(); }