Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

CIRectangleFeatureMBS class

Super class: CIFeatureMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class CoreImage MBS MacCG Plugin 16.0 Yes No No Yes, macOS only No
Function: A CIRectangleFeature object describes a quadrilateral region detected in a video or still image.
A detected rectangle feature is not necessarily rectangular in the plane of the image; rather, the feature identifies a shape that may be rectangular in space but which appears in perspective in the image—for example, a paper or book on a desk. The properties of a rectangle feature identify its corners in image coordinates.

For example, you can use rectangle feature detection together with the CIPerspectiveCorrection filter to detect rectangular objects in an image or video and transform them to their original orientation.

To detect rectangles in an image or video, choose the CIDetectorTypeRectangle type when initializing a CIDetector object, and use the CIDetectorAspectRatio option to specify the approximate shape of rectangular features to search for.
Subclass of the CIFeatureMBS class.

Feedback, Comments & Corrections

Super class CIFeatureMBS

This class has no sub classes.

The items on this page are in the following plugins: MBS MacCG Plugin.

CIQRCodeFeatureMBS   -   CISamplerMBS

MBS Xojo Plugins