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.

1 回表示 (過去 30 日間)
tina jain
tina jain 2015 年 3 月 3 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
%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