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

nästan 9 år ago | 0 answers | 0

0

answers

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

nästan 9 år ago | 0 answers | 0

0

answers

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

nästan 9 år ago | 1 answer | 0

1

answer

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

nästan 9 år ago | 1 answer | 0

1

answer

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

nästan 9 år ago | 1 answer | 0

1

answer

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

ungefär 9 år ago | 1 answer | 0

1

answer

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

ungefär 9 år ago | 0 answers | 0

0

answers

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

ungefär 9 år ago | 2 answers | 0

2

answers

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

ungefär 9 år ago | 1 answer | 0

1

answer

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

ungefär 9 år ago | 1 answer | 0

1

answer

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

ungefär 9 år ago | 2 answers | 0

2

answers

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

ungefär 9 år ago | 1 answer | 0

1

answer

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

ungefär 9 år ago | 0 answers | 0

0

answers

Question


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

ungefär 9 år ago | 1 answer | 0

1

answer

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.

ungefär 9 år ago | 2 answers | 0

2

answers

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

ungefär 9 år ago | 0 answers | 0

0

answers

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

ungefär 9 år ago | 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 ...

ungefär 9 år ago | 2 answers | 0

2

answers

Question


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

ungefär 9 år ago | 1 answer | 0

1

answer

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

ungefär 9 år ago | 0 answers | 0

0

answers

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

ungefär 9 år ago | 0 answers | 0

0

answers

Question


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

ungefär 9 år ago | 0 answers | 0

0

answers

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?

ungefär 9 år ago | 0 answers | 0

0

answers

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

ungefär 9 år ago | 0 answers | 0

0

answers

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

ungefär 9 år ago | 1 answer | 0

1

answer

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

ungefär 9 år ago | 1 answer | 0

1

answer

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

ungefär 9 år ago | 0 answers | 0

0

answers

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

ungefär 9 år ago | 1 answer | 0

1

answer

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

ungefär 9 år ago | 0 answers | 0

0

answers

Question


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

ungefär 9 år ago | 0 answers | 2

0

answers

Load more