Info

此问题已关闭。 请重新打开它进行编辑或回答。

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 次查看(过去 30 天)
%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 个)

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by