Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

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 visualizzazioni (ultimi 30 giorni)
%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;

Risposte (0)

Questa domanda è chiusa.

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by