Borrar filtros
Borrar filtros

About wcompress

2 visualizaciones (últimos 30 días)
CHONGQING
CHONGQING el 4 de Mayo de 2012
Respondida: G PRAKASH el 5 de Mzo. de 2014
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!

Respuestas (1)

G PRAKASH
G PRAKASH el 5 de Mzo. de 2014
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);

Categorías

Más información sobre Denoising and Compression en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by