Woolz Image Processing Version 1.4.0
WlzRegConCalc.c File Reference

Computes region connected calculus spatial classifications. More...

Functions

WlzRegConRCC8 WlzRegConCalcRCC8 (WlzObject *obj0, WlzObject *obj1, double *dstNrmVol, WlzErrorNum *dstErr)
 The given pair of spatial domain objects are classified using the RCC8. For an explanation of RCC8 classifications see the type definition WlzRegConRCC8 and the paper: D.A. Randell, etal, "Discrete Mereotopology for Spatial Reasoning in Automated Histological Image Analysis", PAMI 35(3) 2013. The classification is performed using simple combinations of the Woolz union, intersection and difference morphological operators:

\begin{eqnarray*} C_0 &=& O_0 \cap O_1 \\ C_1 &=& O_0^+ \cap O_1 \\ C_2 &=& (O_0 \cup O_1) \oplus o_0 \\ C_3 &=& (O_0 \cup O_1) \oplus o_1 \\ C_4 &=& (O_0^+ \cup O_1) \oplus o_0 \\ C_5 &=& (O_0 \cup O_1^+) \oplus o_1 \end{eqnarray*}

where $O^+$ indicates the dilation of $O$.


Detailed Description

Computes region connected calculus spatial classifications.

Author:
Bill Hill
Date:
July 2013
Version:
Id:
f4f0f78d95a438dda6d2e7c8c86063963895b162
Address: MRC Human Genetics Unit, MRC Institute of Genetics and Molecular Medicine, University of Edinburgh, Western General Hospital, Edinburgh, EH4 2XU, UK.
Copyright (C), [2013], The University Court of the University of Edinburgh, Old College, Edinburgh, UK.

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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.