You are here: Start » Program Examples » Capsules
Capsules
Macrofilter Main

Macrofilter FindCapsuleRegion

Macrofilter DetectBlackSpots

Macrofilter CombineEdgesIntoContour

Macrofilter FindCapsuleShape

Macrofilter DetectDeformations

Macrofilter PresentResultsOrInfo(True)

Macrofilter PresentResultsOrInfo(False)

Used Filters
| Icon | Name | Description |
|---|---|---|
| EnumerateImages | Emulates image acquisition with images stored on disk. | |
| SmoothPath_Gauss | Smooths a path by averaging its characteristic points within a kernel using gaussian-weighted average. | |
| TestObjectNotNil | Produces 'True' if the input object is present or 'False' otherwise. | |
| DetectEdges_AsPaths | Consistent detection of contours of variable or unpredictable shape, e.g. screw thread outline or a custom piece of textile. | |
| ClassifyPaths | Use this filter when to you have an array of paths and you want to select some of them for further processing. | |
| DrawCircles_SingleColor | Draws circles on an image with a single color. | |
| DilateRegion | Making the region thicker or filling-in small holes within it. | |
| ClosePath | Adds the segment connecting last point to the first one to a path. | |
| ThresholdToRegion_Dynamic | Useful in case of uneven illumination. | |
| CloseRegion | Filling-in small gaps in a region without making it thicker. | |
| RegionDifference | Computes a region containing pixels from the first input region, but not from the second input region. | |
| TestIntegerInRange | Checks whether an integers is in the specified range. | |
| AccessPath | Returns individual fields of a path. | |
| MergeWithDefault | This filter is usually used at the end of a program or subprogram to decide how to resolve special cases, represented by the Nil value. | |
| SplitRegionIntoBlobs | Segmentation of a region into individual objects when the objects do not touch each other. | |
| JoinAdjacentPaths | Joins those paths of an array which endpoints lie near enough. | |
| TestArrayEmpty | Tests whether the size of an array equals zero. | |
| OpenRegion | Removing small parts from a region without making it thinner. | |
| DrawStrings_SingleColor | Draws strings (text) on an image with a single color. | |
| PathToPathDistanceProfile | Computes the profile of distances between two paths. | |
| MakeConditional | Introduces conditional data flow on a condition defined by the user. This filter can be used to skip some parts of the program - e.g. when a detected object does not fulfill some quality criteria. | |
| GetArrayElement_OrNil | Extracts a single element from an array at the specified index; returns NIL if the index is out of range. | |
| ClassifyByRange | E.g. selection of the objects (e.g. blobs) whose associated values (e.g. area) meet the specified minimum and maximum requirements. | |
| FitPathToPath | Rotates and shifts a path to minimize average distance between its points and a reference path. | |
| RegionMassCenter | Computes a point with coordinates equal to the average coordinates of the region's pixels. | |
| ThresholdToRegion | Extraction of a region of objects that can be defined by a salient brightness. | |
| ConvertToEquidistantPath | Creates a new path whose characteristic points lie on the input path, but are equally spaced. | |
| FillRegionHoles | Extends the input region so that it contains also all the pixels previously lying in its holes. | |
| SelectOuterPaths | Selects paths which do not obstruct visibility of other paths from a point. | |
| ErodeRegion | Making the region thinner or removing small parts. | |
| DrawPaths_SingleColor | Draws paths on an image with a single color. | |
| CreateCircle | Creates a circle from an aligned point and radius. | |
| RegionArea | Computes the number of pixels contained in a region. |
