Domanda


code to calculate SNR
formula to calculate SNR matlab code too

quasi 11 anni fa | 3 risposte | 0

3

risposte

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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.

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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.

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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.

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 3 risposte | 2

3

risposte

Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 11 anni fa | 3 risposte | 0

3

risposte

Domanda


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;

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

Carica altro