📅 2014-May-12 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ dilation, erosion, matlab, octave ⬩ 📚 Archive
$ sudo apt-get install octave-image
$ se = strel("square", 3);
$ se
1 1 1
1 1 1
1 1 1
$ B = imdilate(A, se);
$ D = imerode(C, se);
These functions are from Matlab and so will work on it too.
Tried with: Octave 3.8.1 and Ubuntu 14.04