|
From: | Doug Stewart |
Subject: | Re: i am getting the subscript error for the following program please help me resolving the problem |
Date: | Wed, 26 Feb 2014 13:08:30 -0500 |
#Author : Athi Narayanan #M.E, Embedded Systems,#Erode, Tamil Nadu,
India.#http://sites.google.com/site/athisnarayanan/address@hidden
Memory & Command Windowclc;clear all;close all;#Parameters for the
SegmentationnBins=5;winSize=7;nClass=6;#Read Input ImageinImg =
imread('peppers.png');imshow(inImg);title('Input Image');#segmentationoutImg
= inImg(inImg,nBins, winSize, nClass);#Displaying
Outputfigure;imshow(outImg);title('Segmentation Maps');colormap('default');
[Prev in Thread] | Current Thread | [Next in Thread] |