Image-Bitmap2Paths

 view release on metacpan or  search on metacpan

lib/Image/Bitmap2Paths.pm  view on Meta::CPAN

=item C<near>=C<nearmin>

Like off, but an array of length 8 with 1 or 0 at each direction 0..7.

=item C<doublerays>

At C<[$y][$x]>, the count of directions in which a ray goes for length >=2.

=item C<stage10>

Combines: C<rays> C<longedges10> C<seenlong10> C<inLong10> C<midLong10> (done in two long iterations of DO_RAYS + a minor
massage)

=item C<rays>

For each C<[$y][$x][$dir]> which corresponds to a known neighbor, contains the (preliminary) result of the deep inspection of the
narrow sector going “about” the direction $dir.  The result is an array; its 0th element is the string describing “the type” of
this sector.  The rest may contain extra info specific to the type.  (Usually, the 1st element is “rotation”: the main “branch” of
how one should “correct” C<dir> when one goes one step “further inside the sector”.)

(Types are indicated on the 3x-magnified debugging output, near each vertex.)  Dictionary of ray candidates: Dense (>=7 neighbors



( run in 0.407 second using v1.01-cache-2.11-cpan-5511b514fd6 )