Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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.

quasi 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

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

quasi 11 anni fa | 0

Domanda


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

quasi 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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?

quasi 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 11 anni fa | 0 risposte | 2

0

risposte

Carica altro