Is it possible to combine, lossy and lossless image compression???

조회 수: 2 (최근 30일)
Subha
Subha 2013년 4월 2일
답변: Walter Roberson 2016년 11월 11일
Sir, is it possible to combine lossy and lossless compression together,, for eg, I've a brain MRI image (tumor) , i segmented as ROI and non ROI , so now, i've to compress ROI with lossless, and non ROI with lossy compression and to combine both.... so far i segmented the roi and non-roi separately,.. with salience i separated compressed roi, but how to combine both??? thanks in advance..
  댓글 수: 1
Radhika UD
Radhika UD 2016년 11월 11일
편집: Radhika UD 2016년 11월 11일
Hi..I am in need of same type of compression now.. Please share for any solutions.. Thanks..

댓글을 달려면 로그인하십시오.

채택된 답변

Image Analyst
Image Analyst 2013년 4월 2일
I wasn't sure that was legal, but maybe times are changing. See this 2006 paper that proposes a method exactly as you described: http://www.vast.uccs.edu/~tboult/PAPERS/IJBRA-06-Zukowski-Boult-Medical-Image-Compression.pdf

추가 답변 (1개)

Walter Roberson
Walter Roberson 2016년 11월 11일
For example you can take
data_in_ROI = YourData(ROI_mask);
data_outside_ROI = YourData(~ROI_mask);
compressed_mask = run_length_encode_bitwise(ROI_mask);
compressed_inside = lossless_compression(data_in_ROI);
compressed_outside = lossy_compression(data_outside_ROI);
compressed_result = [compressed_mask, compressed_inside, compressed_outside];
Restoration would be decoding the compressed result to separate the parts, then uncompressing the mask, uncompressing the losslessly-compressed inside data, storing it in the positions where the mask is true, uncompressing the lossy outside data, storing that in the positions where the mask is false.

카테고리

Help CenterFile Exchange에서 Import, Export, and Conversion에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by