SA_extract
Usage:
[Boundaries, EdgeSumStr, GreyValStr] = SA_extract(SegImg, EdgeImg, GreyImg);
SegImg:
SA_Image; The segmented image.
EdgeImg:
SA_Image; The edge sum image.
GreyImg:
SA_Image; The image as grey value image.
Boundaries: SA_VectorArray; A list of the patch
boundaries of Image.
EdgeSumStr: SA_VectorArray; A list of edge information
strings along Boundaries.
GreyValStr: SA_VectorArray; A list of grey value
information strings along Boundaries.
Description
This function combines several smaller functions into one block of the algorithm. The boundaries of Image
are extracted and post computed by
SA_prepareBoundaries and
SA_extendBoundaries. Then a polarscale is created (
SA_getPolarScale or
SA_getLogPolarScale
).
After the postprocessing the boundaries are used to compute information strings. The returned
vector array EdgeSumStr contains the information computed by
SA_evaluateEdgeSum using EdgeImg. The function
SA_evaluateGrayValue computes GreyValStr using
GrayImg. GrayImg must be of type uint8.
The return parameter Strings is of type
SA_VectorArray. Each element in the structure
represents the information string along the according patch boundary which are returned in Boundaries
which is of type
SA_VectorArray aswell.
The first element in Strings corresponds to the first element in Boundaries and so forth.
|