Pregunta


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

más de 10 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

más de 10 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 10 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

más de 10 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 10 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 10 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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.

más de 10 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 10 años hace | 0 respuestas | 0

0

respuestas

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

más de 10 años hace | 0

Pregunta


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

más de 10 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

casi 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 11 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 11 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 11 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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?

casi 11 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 11 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 11 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 11 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 11 años hace | 0 respuestas | 2

0

respuestas

Cargar más