CPLremovearea
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CPL/Closed Polygon Lists
Introduced first in SolidGeometry 4.5, Creation date: 2019-02-10, Last change: 2025-09-14
removes CPLs of small area using the polyshape class
Description
The behavour has changed accidentially 2 times.
for some time only regisons were removed.
Now in 5.2 again CPLS are removed or regions if the flag is used
See Also: CPLremstraightAmin
, imofimsketch
, CPLremoveregionsholes
Example Illustration
Syntax
CPLN=CPLremovearea(CPL,[sline,remregions])
Input Parameter
CPL: | | Original CPL |
sline: | | minimal length (not area) |
remregions: | | if true, regions are removed |
Output Parameter
CPLN: | | CPL without removed areas |
Examples
I=rgbsketch; imshow(I); shg;
imshow(imofimsketch(I));shg
CPLremovearea(CPLofimage(I))
CPLremovearea(CPLofimage(imofimsketch(I)))
Copyright 2019-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth
Last html export of this page out of FM database by TL: 2025-09-21