Multiscale Shape Analysis Toolbox: Matlab Scripts



All programs below are distributed under the GNU General Public License (GNU-GPL) and are distributed WITHOUT ANY WARRANTY. The following disclaimer from the (GNU-GPL) apply to all programs distributed here:

% This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.


contfol

CONTFOL

[x,y] = contfol(img);

CONTFOL: contour following, with the algorithm based on Costa & Cesar,
Shape Classification and Analysis, CRC Press, 2000.

See also

Further Information:
http://www.ime.usp.br/~cesar

Copyright (c) 2001 by Roberto M Cesar Jr.
e-mail:cesar@ime.usp.br
$Revision: 0.0 $ $Date: 2001/01/16 $


chainpoint

CHAINPOINT

u1 = chainpoint(u0,cc);


Returns the neighbor in the CC chain-code direction.

See also

Further Information:
http://www.ime.usp.br/~cesar/projects/matlab/mulstiscale

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Copyright (c) 2001 by Roberto M Cesar Jr.
e-mail:cesar@ime.usp.br
$Revision: 0.0 $ $Date: 2001/01/01 $


maxima

MAXIMA

BImg = maxima(PImg);


Vertical Local Maxima Points

See also

Further Information:
http://www.ime.usp.br/~cesar/projects/matlab/mulstiscale

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Copyright (c) 2001 by Roberto M Cesar Jr.
e-mail:cesar@ime.usp.br
$Revision: 0.0 $ $Date: 2001/01/01 $


curvegram

CURVEGRAM

k = curvegram(x,y, nscales_block, n_blocks, frmin, frmax);

CURVEGRAM: Multiscale curvature, with the algorithm based on Costa & Cesar,
Shape Classification and Analysis, CRC Press, 2000.

x,y: x and y coordinates of the 2D parametric curve

nscales_block, n_blocks: The multiscale curvature is calculated for a
number of different scales. The total number of scales is
nscales_block * n_blocks (e.g. for nscales_block=2 n_blocks=3, there
are 3 blocks of 2 scales each, totalizing 2*3=6 different scales). This
solution of blocks of scales is adopted because of memory
limitations in Matlab.

frmin, frmax: the scale is the inverse of frequency, ie
frequency = 1/scale. frmin and frmax are the minimum and the maximum
frequencies, which define the minimum and the maximum scales
calculated for the multiscale curvature (i.e. curvegram).


See also

Further Information:
http://www.ime.usp.br/~cesar

Copyright (c) 2001 by Roberto M Cesar Jr.
e-mail:cesar@ime.usp.br
$Revision: 0.0 $ $Date: 2001/01/16 $


fftsh1d

FFTSH1D

B = FFTSH1D(A);

Shifts eack line of matrix A.


See also

Further Information:
http://www.ime.usp.br/~cesar/projects/matlab/mulstiscale

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Copyright (c) 2001 by Roberto M Cesar Jr.
e-mail:cesar@ime.usp.br
$Revision: 0.0 $ $Date: 2001/01/01 $


wwwmultiscaledemo

WWWMULTISCALEDEMO

wwwmultiscaledemo


See also

Further Information:
http://www.ime.usp.br/~cesar/projects/matlab/mulstiscale

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Copyright (c) 2001 by Roberto M Cesar Jr.
e-mail:cesar@ime.usp.br
$Revision: 0.0 $ $Date: 2001/01/01 $


plotmax

PLOTMAX

plotmax(PImg);


Plot Vertical Local Maxima Points. This function creates its
own plot figure.

See also

Further Information:
http://www.ime.usp.br/~cesar/projects/matlab/mulstiscale

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Copyright (c) 2001 by Roberto M Cesar Jr.
e-mail:cesar@ime.usp.br
$Revision: 0.0 $ $Date: 2001/01/01 $


multidemo

MULTIDEMO

multidemo


See also

Further Information:
http://www.ime.usp.br/~cesar

Copyright (c) 2001 by Roberto M Cesar Jr.
e-mail:cesar@ime.usp.br
$Revision: 0.0 $ $Date: 2001/01/16 $


sigmoid

SIGMOID

out=SIGMOID(v,a)


Sigmoid function, following the definition in page 36 of Costa & Cesar,
Shape Classification and Analysis, CRC Press, 2000.

S(v) = (1 - exp(-a * v)) ./ (1 + exp(-a * v));

See also

Further Information:
http://www.ime.usp.br/~cesar/projects/matlab/mulstiscale

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Copyright (c) 2001 by Roberto M Cesar Jr.
e-mail:cesar@ime.usp.br
$Revision: 0.0 $ $Date: 2001/01/01 $


fftunsh

%% %% %% %% %% %% %% %% %% %% %% %% %% %% %% %% %% %% %% %% %% %% %% %%
% % %
% fftunsh.m:
%
% % %
% Feito por Roberto Marcondes Cesar Junior % %
% e-mail : pinda@.ifqsc.sc.usp.br % %
% % %
% data : 14/03/96
% % %
% observacoes : fftunshift correto
%
%
% % %
% % %
%
% % %
%% %% %% %% %% %% %% %% %% %% %% %% %% %% %% %% %% %% %% %% %% %% %% %%



This page was generated by Matlab HTML Toolbox.
Last update: 01-Nov-2006, 14:36:3