Файл src/colormorph.c

#include <stdio.h>
#include <stdlib.h>
#include "allheaders.h"

Функции

PIXpixColorMorph (PIX *pixs, l_int32 type, l_int32 hsize, l_int32 vsize)

Функции

PIX* pixColorMorph ( PIX pixs,
l_int32  type,
l_int32  hsize,
l_int32  vsize 
)

pixColorMorph()

Input: pixs type (L_MORPH_DILATE, L_MORPH_ERODE, L_MORPH_OPEN, or L_MORPH_CLOSE) hsize (of Sel; must be odd; origin implicitly in center) vsize (ditto) Return: pixd

Notes: (1) This does the morph operation on each component separately, and recombines the result. (2) Sel is a brick with all elements being hits. (3) If hsize = vsize = 1, just returns a copy.


Документация по Leptonica. Последние изменения: Fri Aug 7 20:31:35 2009. Создано системой  doxygen 1.5.9