Prostě si ten útvar musím vybarvit. Pak ho naskenuju černobíle. Plocha tvaru jest pak úměrná počtu černých bodů, ne?