how to display the image

I have downloaded the SPHIT code and i displayed a frame from a video which ins i avi format
clc
clear all
nFrame=1;
filename=('rhinos.avi');
Y_new = SPIHT_main(nFrame,filename)
imshow(Y_new)
but the image is not displayed clearly it just consists of white and black
please tell how to display the image

回答 (1 件)

Walter Roberson
Walter Roberson 2013 年 6 月 27 日

0 投票

Experiment with
imshow(Y_new,[])

3 件のコメント

nkumar
nkumar 2013 年 6 月 27 日
even now image is not displaing it is black with gray
Walter Roberson
Walter Roberson 2013 年 6 月 27 日
Please show
class(Y_new)
max(Y_new(:))
min(Y_new(:))
nkumar
nkumar 2013 年 6 月 27 日
class(Y_new)=double
max(Y_new(:))= 240.0000
min(Y_new(:))= -7.6415e-11

サインインしてコメントする。

タグ

質問済み:

2013 年 6 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by