English (English) - Change language

Functions which create a fuzzy rectangle

The RestrictSearchArea( FuzzyRect fuzzyRect ) function described in Functions which Limit the Search Area allows you to limit the search area to any fuzzy rectangle.

The table below lists the functions that can be used to obtain a fuzzy rectangle.

Function Description
HorSearchAreaBound LeftBound()

Used to set a constraint for the left boundary of the search area.

Expressions of type LeftBound() > XCoordinate return FuzzyRect.

VertSearchAreaBound TopBound()

Used to set a constraint for the top boundary of the search area.

Expressions of type topBound() > YCoordinate return FuzzyRect.

HorSearchAreaBound RightBound()

Used to set a constraint for the right boundary of the search area.

Expressions of type RightBound () > XCoordinate return FuzzyRect.

VertSearchAreaBound BottomBound()

Used to set a constraint for the bottom boundary of the search area.

Expressions of type BottomBound () > YCoordinate return FuzzyRect.

FuzzyRect AreaLeftOf( XInterval x, Distance offset = 0 ) Returns a fuzzy rectangle in global coordinates, which is a vertical half-plane located to the left of the point x.End – offset.
FuzzyRect AreaLeftOf( FuzzyRect rect, Distance offset = 0 ) Returns a fuzzy rectangle in global coordinates, which is a vertical half-plane located to the left of the point rect.Left.End – offset.
FuzzyRect AreaLeftOf( Hypothesis hyp, Distance offset = 0 ) Returns a fuzzy rectangle in global coordinates, which is a vertical half-plane located to the left of the point hyp.Rect.Left.End – offset.
FuzzyRect AreaLeftOf( HypothesisInstances hyps, Distance offset = 0 ) Returns a fuzzy rectangle in global coordinates, which is a vertical half-plane located to the left of the point hyps.Rect.Left.End – offset.
FuzzyRect AreaRightOf( XInterval x, Distance offset = 0 ) Returns a fuzzy rectangle in global coordinates, which is a vertical half-plane located to the right of the point x.Start + offset.
FuzzyRect AreaRightOf( FuzzyRect rect, Distance offset = 0 ) Returns a fuzzy rectangle in global coordinates, which is a vertical half-plane located to the right of the point rect.Right.Start + offset.
FuzzyRect AreaRightOf( Hypothesis hyp, Distance offset = 0 ) Returns a fuzzy rectangle in global coordinates, which is a vertical half-plane located to the right of the point hyp.rect.Right.Start + offset.
FuzzyRect AreaRightOf( HypothesisInstances hyps, Distance offset = 0 ) Returns a fuzzy rectangle in global coordinates, which is a vertical half-plane located to the right of the point hyp.Rect.Right.Start + offset.
FuzzyRect AreaAbove( YInterval y, Distance offset = 0 ) Returns a fuzzy rectangle in global coordinates, which is a horizontal half-plane located above the point y.End - offset.
FuzzyRect AreaAbove( FuzzyRect rect, Distance offset = 0 ) Returns a fuzzy rectangle in global coordinates, which is a horizontal half-plane located above the point rect.top.End - offset.
FuzzyRect AreaAbove( Hypothesis hyp, Distance offset = 0 ) Returns a fuzzy rectangle in global coordinates, which is a horizontal half-plane located above the point hyp.rect.top.End - offset.
FuzzyRect AreaAbove( HypothesisInstances hyps, Distance offset = 0 ) Returns a fuzzy rectangle in global coordinates, which is a horizontal half-plane located above the point hyp.Rect.top.End - offset.
FuzzyRect AreaBelow( YInterval y, Distance offset = 0 ) Returns a fuzzy rectangle in global coordinates, which is a horizontal half-plane located below the point y.Start + offset.
FuzzyRect AreaBelow( FuzzyRect rect, Distance offset = 0 ) Returns a fuzzy rectangle in global coordinates, which is a horizontal half-plane located below the point rect.Bottom.Start + offset.
FuzzyRect AreaBelow( Hypothesis hyp, Distance offset = 0 ) Returns a fuzzy rectangle in global coordinates, which is a horizontal half-plane located below the point hyp.rect.Bottom.Start + offset.
FuzzyRect AreaBelow ( HypothesisInstances hyps, Distance offset = 0 ) Returns a fuzzy rectangle in global coordinates, which is a horizontal half-plane located below the point hyp.Rect.Bottom.Start + offset.
FuzzyRect ImageLeftOf( XInterval x, Distance offset = 0 )

Returns a fuzzy rectangle, which is an intersection of the rectangle of the page and the vertical half-plane located to the left of the point x.End – offset.

Important!The function may only be used if the maximum and minimum numbers of pages in the document are set to 1, i.e. the detected documents has only one page. If you use this function for a multi-page document, matching a FlexiLayout will return an error.

For a multi-page document, use the function FuzzyRect AreaLeftOf( XInterval x, Distance offset = 0 ).

FuzzyRect ImageLeftOf( FuzzyRect rect, Distance offset = 0 )

Returns a fuzzy rectangle, which is an intersection of the rectangle of the page and the vertical half-plane located to the left of the point rect.Left.End – offset.

Important!The function may only be used if the maximum and minimum numbers of pages in the document are set to 1, i.e. the detected documents has only one page. If you use this function for a multi-page document, matching a FlexiLayout will return an error.

For a multi-page document, use the function FuzzyRect AreaLeftOf( FuzzyRect rect, Distance offset = 0 ).

FuzzyRect ImageLeftOf( Hypothesis hyp, Distance offset = 0 )

Returns a fuzzy rectangle, which is an intersection of the rectangle of the page and the vertical half-plane located to the left of the point hyp.Rect.Left.End – offset.

Important!The function may only be used if the maximum and minimum numbers of pages in the document are set to 1, i.e. the detected documents has only one page. If you use this function for a multi-page document, matching a FlexiLayout will return an error.

For a multi-page document, use the function FuzzyRect AreaLeftOf( Hypothesis hyp, Distance offset = 0).

FuzzyRect ImageRightOf( XInterval x, Distance offset = 0 )

Returns a fuzzy rectangle, which is an intersection of the rectangle of the page and the vertical half-plane located to the left of the point x.Start + offset.

Important!The function may only be used if the maximum and minimum numbers of pages in the document are set to 1, i.e. the detected documents has only one page. If you use this function for a multi-page document, matching a FlexiLayout will return an error.

For a multi-page document, use the function FuzzyRect AreaRightOf( XInterval x, Distance offset = 0 ).

FuzzyRect ImageRightOf( FuzzyRect rect, Distance offset = 0 )

Returns a fuzzy rectangle, which is an intersection of the rectangle of the page and the vertical half-plane located to the right of the point rect.Right.Start + offset.

Important!The function may only be used if the maximum and minimum numbers of pages in the document are set to 1, i.e. the detected documents has only one page. If you use this function for a multi-page document, matching a FlexiLayout will return an error.

For a multi-page document, use the function FuzzyRect AreaRightOf( FuzzyRect rect, Distance offset = 0 ).

FuzzyRect ImageRightOf( Hypothesis hyp, Distance offset = 0 )

Returns a fuzzy rectangle, which is an intersection of the rectangle of the page and the vertical half-plane located to the right of the point hyp.rect.Right.Start + offset.

Important!The function may only be used if the maximum and minimum numbers of pages in the document are set to 1, i.e. the detected documents has only one page. If you use this function for a multi-page document, matching a FlexiLayout will return an error.

For a multi-page document, use the function FuzzyRect AreaRightOf( Hypothesis hyp, Distance offset = 0).

FuzzyRect ImageAbove( YInterval y, Distance offset = 0 )

Returns a fuzzy rectangle, which is an intersection of the rectangle of the page and the horizontal half-plane located above the point y.End - offset.

Important!The function may only be used if the maximum and minimum numbers of pages in the document are set to 1, i.e. the detected documents has only one page. If you use this function for a multi-page document, matching a FlexiLayout will return an error.

For a multi-page document, use the function FuzzyRect AreaAbove( YInterval y, Distance offset = 0 ).

FuzzyRect ImageAbove( FuzzyRect rect, Distance offset = 0 )

Returns a fuzzy rectangle, which is an intersection of the rectangle of the page and the horizontal half-plane located above the point rect.top.End - offset.

Important!The function may only be used if the maximum and minimum numbers of pages in the document are set to 1, i.e. the detected documents has only one page. If you use this function for a multi-page document, matching a FlexiLayout will return an error.

For a multi-page document, use the function FuzzyRect AreaAbove( FuzzyRect rect, Distance offset = 0 ).

FuzzyRect ImageAbove( Hypothesis hyp, Distance offset = 0 )

Returns a fuzzy rectangle, which is an intersection of the rectangle of the page and the vertical half-plane located to the left of the point hyp.rect.top.End - offset.

Important!The function may only be used if the maximum and minimum numbers of pages in the document are set to 1, i.e. the detected documents has only one page. If you use this function for a multi-page document, matching a FlexiLayout will return an error.

For a multi-page document, use the function FuzzyRect AreaAbove( Hypothesis hyp, Distance offset = 0 ).

FuzzyRect ImageBelow( YInterval y, Distance offset = 0 )

Returns a fuzzy rectangle, which is an intersection of the rectangle of the page and the horizontal half-plane located above the point y.Start + offset.

Important!The function may only be used if the maximum and minimum numbers of pages in the document are set to 1, i.e. the detected documents has only one page. If you use this function for a multi-page document, matching a FlexiLayout will return an error.

For a multi-page document, use the function FuzzyRect AreaBelow( YInterval y, Distance offset = 0 ).

FuzzyRect ImageBelow( FuzzyRect rect, Distance offset = 0 )

Returns a fuzzy rectangle, which is an intersection of the rectangle of the page and the horizontal half-plane located below the point rect.Bottom.Start + offset.

Important!The function may only be used if the maximum and minimum numbers of pages in the document are set to 1, i.e. the detected documents has only one page. If you use this function for a multi-page document, matching a FlexiLayout will return an error.

For a multi-page document, use the function FuzzyRect AreaBelow( FuzzyRect rect, Distance offset = 0 ).

FuzzyRect ImageBelow( Hypothesis hyp, Distance offset = 0 )

Returns a fuzzy rectangle, which is an intersection of the rectangle of the page and the horizontal half-plane located below the point hyp.rect.Bottom.Start + offset.

Important!The function may only be used if the maximum and minimum numbers of pages in the document are set to 1, i.e. the detected documents has only one page. If you use this function for a multi-page document, matching a FlexiLayout will return an error.

For a multi-page document, use the function FuzzyRect AreaBelow( Hypothesis hyp, Distance offset = 0 ).

25.09.2020 9:24:45


Please leave your feedback about this article