General Information

Locked
User avatar
JHPJHP
Site Admin
Posts: 209
Joined: Wed Jun 21, 2023 10:48 am

General Information

Post by JHPJHP »

Rapid Object Mapping

Includes the following examples:

1. ContourPoints.pb
Constructs a ragged array of X/Y coordinate points for one or more objects. The objects are then reconstructed and displayed as an image.

2. VectorAnimate.pb
Decomposes a sprite sheet into regions of interest, converts these regions into X/Y coordinate points, and animates them using vector graphics.

3. VectorDraw.pb
Extracts X/Y coordinate points from the contours of an image and renders these points onto a copy of the selected image.

4. VectorMorph.pb
Extracts frames from an animated GIF, converts these frames into X/Y coordinate points, and recreates the animation using vector graphics.

5. VectorSave.pb
Functions similarly to VectorDraw.pb, but instead of rendering the points, it converts and saves them as a local SVG file.

The scripts operate using Contours and Polygon Approximations as follows:
• They first identify the contours of an object for the purpose of shape analysis.
• Next, they approximate those contours, returning a sequence of X/Y coordinate points.

Note: The algorithm can identify points for multiple objects. Object filtering by area size and point granularity are both user-configurable.
The difference between stupidity and genius is that genius has its limits.
~ Albert Einstein
User avatar
JHPJHP
Site Admin
Posts: 209
Joined: Wed Jun 21, 2023 10:48 am

Re: General Information

Post by JHPJHP »

Image
The difference between stupidity and genius is that genius has its limits.
~ Albert Einstein
Locked