[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dilation operation on vector
From: |
PetrSt |
Subject: |
Re: Dilation operation on vector |
Date: |
Sat, 30 Mar 2013 07:43:21 -0700 (PDT) |
I'd tried to write something (attached file), which worked somehow, but than
I've read the article you linked to and realized a serious problem for my
code in size of treated data. Since I wanted to write it in vectorized form
it got to the limit of the maximal size of single variable of something less
than 10000 elements to be able make a square matrix from it. Compared to the
numbers in the article, it is too few, so it will be probably of no
practical use, but anyway you can have a look at it.
r=5; x=0:1e-2:80; y=normrand(0,0.5,size(x));
sol=morphfilter(x,y,r,[]);
Based on the article I can advice you to check the image processing pkg (not
sure by the name), where should be some filters. Also there are some
functions you could find useful in 30 Geometry
<http://www.gnu.org/software/octave/doc/interpreter/Geometry.html#Geometry>
, concerning the convex hull.
I would also advice you to ask about your topic under different keywords
than dilation, like filtering or morphological filtering, which should
attract people more involved in the field.
Regards
Petr
morphfilter.m
<http://octave.1599824.n4.nabble.com/file/n4651334/morphfilter.m>
--
View this message in context:
http://octave.1599824.n4.nabble.com/Dilation-operation-on-vector-tp4651186p4651334.html
Sent from the Octave - General mailing list archive at Nabble.com.