error displaying image

i have compressed an image
Y = IM2JPEG2K(X, N, Q)
%IM2JPEG2K Compresses an image using a JPEG 2000 approximation.
% Y = IM2JPEG2K(X, N, Q) compresses image X using an N-scale JPEG
% 2K wavelet transform, implicit or explicit coefficient
% quantization, and Huffman symbol coding augmented by zero
% run-length coding. If quantization vector Q contains two
% elements, they are assumed to be implicit quantization
% parameters; else, it is assumed to contain explicit subband step
% sizes. Y is an encoding structure containing Huffman-encoded
% data and additional parameters needed by JPEG2K2IM for decoding.
y value is in struct format, plz tell how to display that image, imshow(y), i get error

 채택된 답변

Walter Roberson
Walter Roberson 2012년 3월 17일

0 개 추천

Like the documentation indicates, you use JPEG2K2IM to decode Y to display it.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Denoising and Compression에 대해 자세히 알아보기

질문:

Pat
2012년 3월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by