[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

imdilate in octave shows error

From: preethi k
Subject: imdilate in octave shows error
Date: Thu, 29 Nov 2012 13:55:06 +0530

hi all,

I am new to octave. Using imdilate function shows the following error.

error: imdilate: image and structuring element must have the same class

error: called from:

error: /usr/share/octave/packages/3.2/image-1.0.15/imdilate.m at line 36, col

umn 5

The program i executed is given below.




b=[1 1 1;1 1 1;1 1 1];



imshow(a),title('original image');

figure,imshow(a1),title('Dilated image');

figure,imshow(a2),title('erode omage');

Please help me.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]