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 Center および File ExchangeSignal Processing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by