[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: color border in image, drop everything outside of it



On Sun 22 Nov 2020 at 05:14:25 (+0100), Emanuel Berg wrote:
> David Wright wrote:
> 
> >> Encirclement!
> >
> > How does that work with figures like Ω or ω?
> 
> Well, if the input data doesn't make sense, why worry about the
> output data?

I don't understand what you mean by "sensible" data. Your example

  .........
  ...sss...
  ..skkks..
  ..sssss..
  ....ss...

is a completely convex blob. Are we to understand that as a
constraint? Or are re-entrant shaped loops allowed? What sort
of re-entrants?

I was just pointing out that while your super-easy example works
in a really simple manner, many common shapes, like the attached,
just won't work with that algorithm. Treating each of your scans
as light rays, there are shadow areas that are never scanned,
like the armpits.

Cheers,
David.

Attachment: gingerbread.png
Description: PNG image


Reply to: