About wcompress

조회 수: 1 (최근 30일)
CHONGQING
CHONGQING 2012년 5월 4일
답변: G PRAKASH 2014년 3월 5일
Hello everyone. i used "wcompress" to compress and uncompress image,can any one tell me how the compressed image be shown?and how can i know the size of the compressed image? thank you!

답변 (1개)

G PRAKASH
G PRAKASH 2014년 3월 5일
try this code
clc; close all; clear all;
I=imread('wpeppers.jpg');
figure('Name','inputimage'),imshow(I)
figure,
% compression
[cr,bpp] = wcompress1('c',I,'woodstatue.wtc', ...
'spiht','cc','klt','maxloop',11,'plotpar','plot');
%un compression
Xc = wcompress1('u','woodstatue.wtc'); delete('wpeppers.wtc')
figure,imshow(Xc);

카테고리

Help CenterFile Exchange에서 Signal Processing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by