Flood fill algorithm.
Macros:
Enumerations:
None.
Typedefs:
None.
Struct CapyFloodFill :
Struct CapyFloodFill's properties:
None.
Struct CapyFloodFill's methods:
Destructor
Segment an image by flood filling it.
Input argument(s):
imgSrc: the image to segment
imgCond: the image one which the flooding condition is checked
floodCondition: the flood condition function to control flooding
Output and side effect(s):
Return a CapyColorPatches, one CapyColorPatch per segment in the image after flood filling.
Functions:
Create a CapyFloodFill
Output and side effect(s):
Return a CapyFloodFill
Allocate memory for a new CapyFloodFill and create it
Output and side effect(s):
Return a CapyFloodFill
Exception(s):
May raise CapyExc_MallocFailed.
Free the memory used by a CapyFloodFill* and reset '*that' to NULL
Input argument(s):
that: a pointer to the CapyFloodFill to free