'Declaration Public Overridable Function GetRegionOptimalDecomposition( _ ByVal image As VintasoftImage, _ ByVal rect As Rectangle, _ ByVal regionCount As Integer, _ ByRef requiredMargin As Integer _ ) As Rectangle()
public virtual Rectangle[] GetRegionOptimalDecomposition( VintasoftImage image, Rectangle rect, int regionCount, out int requiredMargin )
public: virtual Rectangle[]* GetRegionOptimalDecomposition( VintasoftImage* image, Rectangle rect, int regionCount, [PARAMFLAG::Out] int requiredMargin )
public: virtual array<Rectangle>^ GetRegionOptimalDecomposition( VintasoftImage^ image, Rectangle rect, int regionCount, [Out] int requiredMargin )
Parameters
- image
- Source image.
- rect
- Rectangle, which must be decomposed.
- regionCount
- Count of regions in decomposition.
- requiredMargin
- Margin, in pixels, for each rectangle, which is necessary for correct work of algorithm.
Return Value
Array of rectangles, which represent optimal decomposition of the specified rectangle.