Is there a Dilatiing function in BoofCV?

18 views
Skip to first unread message

Sharon Mishayev

unread,
Oct 12, 2022, 7:46:46 AM10/12/22
to BoofCV
Is there any function that is similar to OpenCV's dilate function? For example:
cv2.dilate(f1, kernel=cv2.getStructuringElement(cv2.MORPH_ELLIPSE, (3, 3)), iterations=1)

Peter A

unread,
Oct 16, 2022, 6:47:01 PM10/16/22
to boo...@googlegroups.com
yes. It's in BinaryImageOps.

BinaryImageOps.dilate4( input, 1, output)

4 stands for 4-connect rule and 8 is 8-connect rule.

On Wed, Oct 12, 2022 at 4:46 AM Sharon Mishayev <shar...@netspark.com> wrote:
Is there any function that is similar to OpenCV's dilate function? For example:
cv2.dilate(f1, kernel=cv2.getStructuringElement(cv2.MORPH_ELLIPSE, (3, 3)), iterations=1)

--
You received this message because you are subscribed to the Google Groups "BoofCV" group.
To unsubscribe from this group and stop receiving emails from it, send an email to boofcv+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/boofcv/f053af38-363a-421d-a45b-156d5f022b8dn%40googlegroups.com.


--
"Now, now my good man, this is no time for making enemies."    — Voltaire (1694-1778), on his deathbed in response to a priest asking that he renounce Satan.
Reply all
Reply to author
Forward
0 new messages