Info
This question is closed. Reopen it to edit or answer.
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.
3 views (last 30 days)
Show older comments
%calculating PSNR for different thresholds % pp1: Haar wavelets , PP2 : DB4 ...... % ........................................
clear all; close all; X=imread('d:\images\peppers.bmp'); X=double(X); rgb=X/255;m1=240; [l1,l2,l3]=size(X); r=X(:,:,1)/255; g=X(:,:,2)/255; b=X(:,:,3)/255;
0 Comments
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!