Search found 2 matches

by tdhintz
2017-08-24T15:15:50-07:00
Forum: Magick.NET
Topic: Remove lines from bi-tonal images (Novice question)
Replies: 1
Views: 11268

Re: Remove lines from bi-tonal images (Novice question)

-/+ mask appear to be missing from the on-line docs I read. Is the following a faithful reproduction of the command line version? I'm just wanting to know if I understand the principals. mi.Strip(); using (var hlines = mi.Clone()) { hlines.Negate(); hlines.Morphology(MorphologyMethod.Erode ...
by tdhintz
2017-08-24T12:14:40-07:00
Forum: Magick.NET
Topic: Remove lines from bi-tonal images (Novice question)
Replies: 1
Views: 11268

Remove lines from bi-tonal images (Novice question)

I'm trying to replicate something like the following windows BAT command using C#. http://www.imagemagick.org/discourse-server/viewtopic.php?t=22338 convert Test2image.png -strip -write mpr:ORG ^ ( +clone ^ -negate ^ -morphology Erode rectangle:50x1 ^ -mask mpr:ORG -morphology Dilate rectangle:50x1 ...