Regions

Documentation for Regions.

Regions.jl defines a set of types and functions that model a discrete 2-dimensional region concept.

Example of a region

In order to use the types and functions defined in the Regions package, you must first install it with the package manager and then make it known to your module:

julia> using Pkg
julia> Pkg.add("Regions")
julia> using Regions

Regions can be used for various purposes in machine vision and image processing. Since they provide an efficient run-length encoding of binary images, they avoid the need to touch every pixel when doing binary morphology and thus enable substantial speedup of such operations. Regions are also the basis for binary blob analysis, where the calculation of shape-based features is substantially accelerated because of the run-length encoding. Finally, regions can be used as the domain of image processing functions.

Contents