W3C home > Mailing lists > Public > public-fx@w3.org > October to December 2012

feMorphology radius - rectangle only

From: Michael Mullany <michael@sencha.com>
Date: Wed, 10 Oct 2012 19:47:52 -0700
Message-ID: <CABTYPJkE+MHCF6xcXYr9MY8c-DagrFaNP1xwMdsHshqr=anbXg@mail.gmail.com>
To: public-fx@w3.org
The current implementation of the feMorphology filter specifies a rectangle
(2*x and 2*y where x and y are the "radii") as the area from which the
max/min values for the current pixel. The effect of this is that shapes
within the input get "blockified" in the output (for lack of a better
word), particularly at radius values of more than a few pixels. This is in
contrast to GaussianBlur which preserves shape.

[Example comparing a simple circle - gaussianblur vs. dilate & erode:

Would it make sense to add an elliptical or circular area option to
feMorphology that would better preserve shape between input & output?
Received on Thursday, 11 October 2012 02:48:19 UTC

This archive was generated by hypermail 2.3.1 : Monday, 22 June 2015 03:33:48 UTC