Pregunta


code to calculate SNR
formula to calculate SNR matlab code too

casi 11 años hace | 3 respuestas | 0

3

respuestas

Pregunta


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 ...

casi 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

casi 11 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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,...

casi 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 11 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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.

casi 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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.

casi 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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....

casi 11 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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>>

casi 11 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 11 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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)...

casi 11 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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...

casi 11 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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=...

casi 11 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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.

casi 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 11 años hace | 3 respuestas | 2

3

respuestas

Pregunta


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

casi 11 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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);

casi 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

casi 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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(:,:,...

casi 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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 ...... % ...........................................

casi 11 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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 -...

casi 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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/...

casi 11 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 11 años hace | 3 respuestas | 0

3

respuestas

Pregunta


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;

casi 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 11 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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...

casi 11 años hace | 0 respuestas | 0

0

respuestas

Cargar más