Language.Piet.Compiler
Contents
Description
This module implements the image processing part of this library. It is able to do basic image I/O and provides funcions for labelling images and extracting Piet-relevant information at the same time.
I/O
The "compiler"
Labelling
label4 :: Eq a => Image a -> (Image LabelKey, IntMap LabelInfo)Source
Label an image with 4-neighbourship and equivalence as neighbouring
condition, which is
.
label4With
(==)