질문


code to calculate SNR
formula to calculate SNR matlab code too

9년 초과 전 | 답변 수: 3 | 0

3

답변

질문


i am executing the code given in the matlab documentation and getting the error'Undefined function 'psnr' for input arguments of type 'double'.
*is psnr is not inbuilt in matlab?* ref = imread('lena256.bmp'); ref=double(ref(:,:,1)); A = imnoise(ref,'salt ...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


i want to compare two images on the basis of PSNR
psnr of original as well as compressed image

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


how to calculate PSNR of image after compression and image before compression.
1. i am taking an image let it be im1 2. applied dpcm compression 3. got the reconstructed image.[let it be im2] 4. want to c...

9년 초과 전 | 답변 수: 0 | 0

0

답변

질문


what is the difference between imshow(im) or imshow(im, [])
where im=imread('lena256.bmp');

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


if there is any way to call a function of the same name but less arguments.
e.g we have a function *demo*( arg1, arg2) { . . }end now calling the same function with more arguments *demo(arg1,...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


i am executing the code below
upperLeft = dwt1_imData(1:r1, 1:c1); upperLeft; imshow(upperLeft,map); <</matlabcentral/answers/uploaded_files/27126/Unt...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


how to separate the image given below
<</matlabcentral/answers/uploaded_files/27021/Untitled.png>> i want to *separate* the image in four parts

9년 초과 전 | 답변 수: 2 | 0

2

답변

질문


want to know about the imcrop function's arguments.
one of the format of the function imcrop(I,[75 68 130 112]). want to know how to know about the value of coordinates.

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


tell me about the methods to display an image and to display a part of image
want to know about all funnctions to display a complete as well as a partial image.

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Sir i am working on a project in which I had applied 1D DWT on a lena image.The image looks like i attached. Now i want to compress the LL band of the image(the part of the image containing the complete image).
but i am not getting how to take only that part of the image.e.g. if i want to take complete image i will use i=imread('lena....

9년 초과 전 | 답변 수: 0 | 0

0

답변

질문


i want to access the LL,LH,HL, HH bands individually. can you please tell me how to do it. I want to further compress LL band
<</matlabcentral/answers/uploaded_files/26811/Untitled.png>>

9년 초과 전 | 답변 수: 0 | 0

0

답변

질문


how can i extract the certain band (Lo_D) of the image.
the band can be Lo_D or Ho_D

9년 초과 전 | 답변 수: 0 | 0

0

답변

질문


i am getting a straight black line when i want to see the LL subband of the image. what to do to see the LL subband image after DWT
code i am executing is\close all; clear all; imData=imread('lena256.bmp'); imshow(imData); title('Original image'); pause(2)...

9년 초과 전 | 답변 수: 0 | 0

0

답변

질문


how to apply huffman coding on LL subband of the image after applying DWT on it? plz help
DWT is dividing the image into dLL, LH, HL, and HH subbands. Now in the next step i want to apply huffman coding in LL band of t...

9년 초과 전 | 답변 수: 0 | 0

0

답변

질문


how to get desired frequency spectrum after dwt? i am executing the code below. after this code i want to work on LL,HL,HH, and Lh bans saperately but i am not getting how to access them.
close all; clear all; imData=imread('lena256.bmp'); imshow(imData); title('Original image'); pause(2); map=gray(256); n=...

9년 초과 전 | 답변 수: 0 | 0

0

답변

질문


i am working on DWT. Further i want to work on individual bands. I want to know how to pick a specific band.
e.g like i only want to pick up LL band of the image to further modify it. Then what will be the matlab expression.

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


can we call a script from another script or only functions can be called?
i have to convert the called script into funciton?

9년 초과 전 | 답변 수: 3 | 2

3

답변

질문


i want the code for run length encoding for 8 bit image
Run length encoding

9년 초과 전 | 답변 수: 0 | 0

0

답변

질문


i am executing this piece of code and getting the error" X=X(:,1:2:512); Index exceeds matrix dimensions." help me to solve it.
close all; clear all; load woman; X=imread('lena256.bmp'); X=double(X); X=X(:,1:2:512);

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


i am executing a piece of code given below in which i am getting the error"Unexpected MATLAB expression" help me to solve it
rc = D S 0.0012 0.0001 0.0105 0.0010 0.0705 0.0070 0.2373 0.0340 0.619...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


i am executing the code below in which i am getting the error"Index exceeds matrix dimensions. Error in principale_peppers (line 7) g=X(:,:,2)/255;" how to solve it. can anyone solve it for me
X=imread('d:\images\peppers.bmp'); X=double(X); [l1,l2,l3]=size(X); r=X(:,:,1)/255; g=X(:,:,2)/255; b=X(:,:,...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


i am executing this piece of code and getting the error"Index exceeds matrix dimensions. Error in dessin_pepperss (line 12) g=X(:,:,2)/255;" please help me to solve this.
%calculating PSNR for different thresholds % pp1: Haar wavelets , PP2 : DB4 ...... % ...........................................

9년 초과 전 | 답변 수: 0 | 0

0

답변

질문


i am executing this piece of code and getting this error" Subscript indices must either be real positive integers or logicals" how to solve it
X=[63 -34 49 10 7 13 -12 7; -31 23 14 -13 3 4 6 -1; 15 14 3 -12 5 -7 3 9; -9 -7 -14 8 4 -2 3 2; -5 9 -1 47 4 6 -...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


i am executing this code and getting the error""max" previously appeared to be used as a function or command, conflicting with its uis se here as the name of a variable" fow to solve thj
function [tab]=ezww3(X,d) [h1,h2,g1,g2]=filtres2(d); [x1000,x2000,x3000,x4000]=decomp_mat(X,h1,h2);%x1000=x1000/...

9년 초과 전 | 답변 수: 0 | 0

0

답변

질문


q(:,:,3) what does mean in matrix
q(:,:,3) all rows and all colomns, but 3 stands for what

9년 초과 전 | 답변 수: 3 | 0

3

답변

질문


i am executing the code below and getting the error"Index exceeds matrix dimensions. Error in principale_peppers (line 7) g=X(:,:,2)/255" can anyone help.
X=imread('d:\images\peppers.bmp'); X=double(X); [l1,l2,l3]=size(X); r=X(:,:,1)/255; g=X(:,:,2)/255; b=X(:,:,3)/255;

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


anyone of you have worked on EZW's modified version
have to discuss some points

9년 초과 전 | 답변 수: 0 | 0

0

답변

질문


i am applying EZW on the matrix below. I want to know that thismatrix leads to which image.
X=[63 -34 49 10 7 13 -12 7; -31 23 14 -13 3 4 6 -1; 15 14 3 -12 5 -7 3 9; -9 -7 -14 8 4 -2 3 2; -5 9 -1...

9년 초과 전 | 답변 수: 0 | 0

0

답변

더 보기