Файл src/graymorph.c

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

Функции

PIXpixErodeGray (PIX *pixs, l_int32 hsize, l_int32 vsize)
PIXpixDilateGray (PIX *pixs, l_int32 hsize, l_int32 vsize)
PIXpixOpenGray (PIX *pixs, l_int32 hsize, l_int32 vsize)
PIXpixCloseGray (PIX *pixs, l_int32 hsize, l_int32 vsize)

Функции

PIX* pixCloseGray ( PIX pixs,
l_int32  hsize,
l_int32  vsize 
)

pixCloseGray()

Input: pixs hsize (of Sel; must be odd; origin implicitly in center) vsize (ditto) Return: pixd

Notes: (1) Sel is a brick with all elements being hits (2) If hsize = vsize = 1, just returns a copy.

PIX* pixDilateGray ( PIX pixs,
l_int32  hsize,
l_int32  vsize 
)

pixDilateGray()

Input: pixs hsize (of Sel; must be odd; origin implicitly in center) vsize (ditto) Return: pixd

Notes: (1) Sel is a brick with all elements being hits (2) If hsize = vsize = 1, just returns a copy.

PIX* pixErodeGray ( PIX pixs,
l_int32  hsize,
l_int32  vsize 
)

pixErodeGray()

Input: pixs hsize (of Sel; must be odd; origin implicitly in center) vsize (ditto) Return: pixd

Notes: (1) Sel is a brick with all elements being hits (2) If hsize = vsize = 1, just returns a copy.

PIX* pixOpenGray ( PIX pixs,
l_int32  hsize,
l_int32  vsize 
)

pixOpenGray()

Input: pixs hsize (of Sel; must be odd; origin implicitly in center) vsize (ditto) Return: pixd

Notes: (1) Sel is a brick with all elements being hits (2) If hsize = vsize = 1, just returns a copy.


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