Question


why I am not able to display the image? please help me
I am taking 512*512 image and executing the code below imData=imread('lena256.bmp'); map=gray(256); imshow(imData,map); ...

plus de 10 ans il y a | 1 réponse | 0

0

réponse

Question


I want to calculate the PSNR of the complete image after applying DWT
I have used DWT, after this DPCM on LL band, and one other compression scheme for remaining bands and calculated PSNR individual...

plus de 10 ans il y a | 1 réponse | 0

0

réponse

Question


I want to take average values
See, I am having qq1, having the 7 values store in it. qq1 = 18.8142 18.4329 18.3283 18.2979 18.2646 18.2591 ...

plus de 10 ans il y a | 1 réponse | 0

1

réponse

Question


I want function uppper (function's name in my code) should return p1 which is having 7 values. what changes are to made in the code below.
function [p1]= uppper( X ) [x1,x2,x3,x4]=decomp_mat(X,'haar');x1=x1/2; [xx1,xx2,xx3,xx4]=decomp_mat(x1,'haar');xx1...

plus de 10 ans il y a | 1 réponse | 0

1

réponse

Question


displaying a 512 *512 8 bpp image
I am having two lena image # lena256.bmp---> a 256 *256 image close all; clear all; clc; %--------Displayi...

plus de 10 ans il y a | 1 réponse | 0

1

réponse

Question


I am executing the code below and getting the error " Undefined function 'max' for input arguments of type 'cell'" . Please help me to solve this.
function [T11,T22]=propp(t) t=t(:)'; marge=max(t); [s1,s]=size(t); k=1; T2=zeros(1,marge); for i...

plus de 10 ans il y a | 1 réponse | 0

1

réponse

Question


can anyone help me in the calculation of the compression ratio for the code below
%-------script sampletestv2---------------- clc; % This is a test program that tests the EZW encoder and decoder % ma...

plus de 10 ans il y a | 1 réponse | 0

0

réponse

Question


want to know the bytes of upperLeft image
executing the code below close all; clear all; imData=imread('lena256.bmp'); imshow(imData); figure(1); t...

plus de 10 ans il y a | 2 réponses | 0

2

réponses

Question


hello friends, I am executing a code for compression using DPCM
close all; clear all; clc; A = imread('lena256.bmp'); [Height,Width,Depth] = size(A); if Dept...

plus de 10 ans il y a | 1 réponse | 0

1

réponse

Question


see i am executing the code below
close all; clear all; clc; str=('ttttttPttttPPttt'); length=numel(str); aa=estring(str) zz=numel(aa) comp...

plus de 10 ans il y a | 1 réponse | 0

1

réponse

Question


hello friends, see I am executing a simple code . I want your little help in it.
close all; clear all; clc; str=('ttttttPttttPPttt'); estring(str) -----------------------------------------fu...

plus de 10 ans il y a | 2 réponses | 0

2

réponses

Question


please suggest me the MATLAB expression to count the no of literals in a string
e.g. I am having a string t6Pt4P2t3 then no of chars in it are 10. So I want a code which take utt6Pt4P2t3 as input and outp...

plus de 10 ans il y a | 1 réponse | 0

1

réponse

Question


if the length of the string is 3849 characters, then to store it in variable, which data type is to use?
suppose I am having an string up to 3000 characters e.g ztz2tptpt2nt2ptptptpt22ztnpt8z2pzt2nt3pt3nt13zpzt5zt3nt7z4pntznztzn2t6...

plus de 10 ans il y a | 1 réponse | 0

0

réponse

Question


can you please provide me with the simplest demonstrating code to calcolate compression ratio
demo for compression ratio calculation

plus de 10 ans il y a | 1 réponse | 0

1

réponse

Question


is there any way to list the variables used in the particular .m file?
as for list folder and directories we use *ls*. There is any command for variables list in a paricular program.

plus de 10 ans il y a | 2 réponses | 0

2

réponses

Question


how to.know the bit depth of the compressed image? as imfinfo will not work for reconstructed image
Is there any function to know about the bit depth? Actually I want to calculate the compression ratio. For this I have calculate...

plus de 10 ans il y a | 1 réponse | 0

0

réponse

Réponse apportée
hello sir, I want to know the properties of the image , received after the particular operation in between the execution of the code....what will be the code
Is there any function to know about the bit depth? Actually I want to calculate the compression ratio. For this I have calculat...

plus de 10 ans il y a | 0

Question


hello sir, I want to know the properties of the image , received after the particular operation in between the execution of the code....what will be the code
function DP2D(f,Qtype,B)%f='lena.bmp' L = 2^B; % # levels in the quantizer [Height,Width] = size(f);% get the image ...

plus de 10 ans il y a | 2 réponses | 0

2

réponses

Question


please anyone convert this c++ code into MATLAB
#include<stdio.h> #include<iostream.h> #include<conio.h> #include<string.h> void main() ...

presque 11 ans il y a | 1 réponse | 0

1

réponse

Question


can anyone tell me how to convert this do while loop of c++ to Matlab expression.
do { j++; if(str[i+j]==str[i]) count[i]++; } wh...

presque 11 ans il y a | 1 réponse | 0

0

réponse

Question


entropy/ image size is equal to what?
let i have entropy e1 and image size is 256 * 256 then the statement ans=e1/(256 * 256) then the ans is representing w...

presque 11 ans il y a | 1 réponse | 0

0

réponse

Question


which wavelet filter will provide better performance in calcultaing PSNR and compression ratio?
Want to know which is better Haar or Bior

presque 11 ans il y a | 1 réponse | 0

0

réponse

Question


which wavelet filter is better for good PSNR, db6,Haar ,bior4.4 or any other?
which wavelet filter is better for good PSNR, db6,Haar ,bior4.4 or any other?

presque 11 ans il y a | 1 réponse | 0

0

réponse

Question


hello experts.....please help me to solved out this error"Attempted to access Y(1,17); index out of bounds because size(Y)=[16,16]."
close all; clear; [Y,map]=imread('lena256.bmp'); X=double(Y); image(Y),colormap(map)...

presque 11 ans il y a | 1 réponse | 0

0

réponse

Question


i am executing the code below and getting the error"Subscript indices must either be real positive integers or logicals"
function [z]=decalage(y,h) [s1,s]=size(h); [p,p]=size(y); z(1:s-1,1:s-1)=y((p-s+2):p,(p-s+2):p); ...

presque 11 ans il y a | 1 réponse | 0

1

réponse

Question


Error??"Subscript indices must either be real positive integers or logicals."
Error in decalage (line 6) z(1:s-1,1:s-1)=y((p-s+2):p,(p-s+2):p); Error in reconst_mat (line 51) mrx=decalage(mrx,g1); ...

presque 11 ans il y a | 1 réponse | 0

1

réponse

Question


hello sir, how to get information of the image(imfinfo)
I executed DWT and got the image(which i am attaching ) as a LL band(upperLeft) imData=imread('lena256.bmp'); [rows, col...

presque 11 ans il y a | 1 réponse | 0

0

réponse

Question


i am executing the code below and getting the error"Subscript indices must either be real positive integers or logicals"Error in decalage (line 5) z(1:s-1,1:s-1)=y((p-s+2):p,(p-s+2):p);
if true function [mrx]=reconst_mat(zz1,zz2,zz3,zz4,filter) %zz1=zz1*2;zz2=zz2*2;zz3=zz3*2;zz4=zz4*2; [...

presque 11 ans il y a | 1 réponse | 0

1

réponse

Question


dear experts can you tell me how to calculate compression ratio.
e.g I have two images- 1. upperLeft 2. Reconstructed image now i want to calculate compression ratio

presque 11 ans il y a | 1 réponse | 0

0

réponse

Question


i want the matlab code to calculate compression ratio.
Compression ratio after image compression

presque 11 ans il y a | 1 réponse | 2

0

réponse

Charger plus