Muaz Usmani
Muaz Usmani

Reputation: 1318

Custom filter() in Processing

I am new to Processing Programming Language, I was wondering that if I can use different Structured Element in Erosion and Dilation Process as we can use in MATLAB.

Upvotes: 0

Views: 197

Answers (1)

The Processing API offers erosion and dilation "as is", they don't take arguments and they do what they say they do on the docs page you reference. So if the question is "can I do something else?" then yes, if you write your own PShader, http://processing.org/reference/PShader.html, but not if you use the default presets.

Upvotes: 1

Related Questions