Fulguro Logo Support This Project

Hit or miss operations
[Mathematical Morphology]


Detailed Description

Hit or miss operations.


Data Structures

struct  FLGR_Golay

Functions

FLGR_Golayflgr2d_create_golay (char *letter, FLGR_Type type, FLGR_Connexity connexity)
FLGR_Ret flgr2d_hit_or_miss (FLGR_Data2D *imgdest, FLGR_Data2D *imgsrc, FLGR_Data2D *nhb)
FLGR_Ret flgr2d_thickening (FLGR_Data2D *imgdest, FLGR_Data2D *imgsrc, FLGR_Data2D *nhb)
FLGR_Ret flgr2d_thinning (FLGR_Data2D *imgdest, FLGR_Data2D *imgsrc, FLGR_Data2D *nhb)


Function Documentation

FLGR_Golay* flgr2d_create_golay ( char *  letter,
FLGR_Type  type,
FLGR_Connexity  connexity 
)

Set a golay letter in a neighborhood definition
Golay element could be : "L", "M", "C", "D", "E", "F", "F2", "F3", "H", "I"

Element usefull for hit or miss :

  • "C" : erosion
  • "E" : foreground prunning
  • "I" : remove isolated points
  • "F" : Y junction are removed

Element signification for Thinning :

  • "L" : foreground skeleton
  • "M" : foreground skeleton with many ramifications
  • "D" : foreground skeleton with many ramifications and gaps

Element signification for Thickening :

  • "L" : background skeleton
  • "M" : background skeleton with many ramifications
  • "D" : background skeleton with many ramifications and gaps

Values set inside the neighborhood are :

  • 0 : not tested
  • 1 : background
  • 2 : foreground

Parameters:
letter : a string for golay letter
connexity : connexity of SE (6 or 8)
type : type of SE
Returns:
FLGR_Golay

Definition at line 1458 of file flgrMorphoGolay.c.

FLGR_Ret flgr2d_hit_or_miss ( FLGR_Data2D imgdest,
FLGR_Data2D imgsrc,
FLGR_Data2D nhb 
)

Hit or miss transformation for binary image (0, 1..255)

Parameters:
imgdest : pointer to FLGR_Data2D
imgsrc : pointer to FLGR_Data2D
nhb : pointer to FLGR_Data2D containing a golay element
See also:
flgr2d_create_golay
Returns:
FLGR_RET_OK, ...

Definition at line 82 of file flgrMorphoHoM.c.

FLGR_Ret flgr2d_thickening ( FLGR_Data2D imgdest,
FLGR_Data2D imgsrc,
FLGR_Data2D nhb 
)

Thickening transformation for binary image (0, 1..255)

Parameters:
imgdest : pointer to FLGR_Data2D
imgsrc : pointer to FLGR_Data2D
nhb : pointer to FLGR_Data2D containing a golay element
See also:
flgr2d_create_golay
Returns:
FLGR_RET_OK, ...

Definition at line 215 of file flgrMorphoHoM.c.

FLGR_Ret flgr2d_thinning ( FLGR_Data2D imgdest,
FLGR_Data2D imgsrc,
FLGR_Data2D nhb 
)

Thinning transformation for binary image (0, 1..255)

Parameters:
imgdest : pointer to FLGR_Data2D
imgsrc : pointer to FLGR_Data2D
nhb : pointer to FLGR_Data2D containing a golay element
See also:
flgr2d_create_golay
Returns:
FLGR_RET_OK, ...

Definition at line 148 of file flgrMorphoHoM.c.


SourceForge.net Logo
Generated on Tue Nov 11 19:17:29 2008 for Fulguro by doxygen 1.5.6