Syntax
[S,pso,T2,psc,ps]=CPSsimilaritymap(CPS,[tol])
Input Parameter
CPS : | | CPS struct or array of polyshape array |
tol : | | tolerance for turningdist; default is 1e-7 ~ eps2 |
Output Parameter
S : | | cell list of similar boundaries n x ..... |
pso : | | array of different shape: n elements |
T2 : | | List of 3x3 transformation matrix related to ps |
psc : | | array of different shape n elements |
ps : | | full array of boundary contour |
Examples
SGfigure;
for i=1:3; CPLplotasPS(PLtransR(CPLsample(34),rot(randminv([-pi,pi])))+randminv(1,2,[-10 10])); end
for i=1:4; CPLplotasPS(PLtransR(CPLsample(33),rot(randminv([-pi,pi])))+randminv(1,2,[-20 20])); end
CPS=CPSofgca; CPSsimilaritymap(CPS), CPSsimilaritymap(CPS.ps)
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