Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
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.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
%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 Kommentare
Antworten (0)
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!