Woolz Image Processing  Version 1.8.3
WlzProfile.c File Reference

Functions for extracting a profile (with or without) grey values along a ray through an object. More...

Data Structures

struct  _WlzProfileWalkWSp
 

Typedefs

typedef struct _WlzProfileWalkWSp WlzProfileWalkWSp
 
typedef WlzErrorNum(* WlzProfileWalkFn) (WlzObject *, WlzIVertex3, WlzProfileWalkWSp *)
 

Functions

WlzObjectWlzProfileLine (WlzObject *gObj, WlzIVertex3 sPos, WlzIVertex3 ePos, WlzErrorNum *dstErr)
 Creates a new 2D Woolz object with a single line which is the profile from the given start position to the given end position. Empty objects are allowed and in this case a new empty object is returned. In other cases (where there is no error) the returned object will always be a 2D spatial domain object (WLZ_2D_DOMAINOBJ) which has an interval domain and where the given object has values a rectangular value table. These will have a single line with the pixel at 0,0. When the line segment between the given points does not intersect the given object a spatial domain object is still returned but it will have no intervals and it may be necessary to call WlzIsEmpty(). More...
 
WlzIntervalDomainWlzProfileLineIDom (WlzObject *gObj, WlzIVertex3 sPos, WlzIVertex3 ePos, WlzErrorNum *dstErr)
 Creates a new 2D Woolz interval domain with a single line which is the profile from the given start position to the given end position for the given spatial domain object. More...
 

Detailed Description

Functions for extracting a profile (with or without) grey values along a ray through an object.

Author
Bill Hill
Date
September 2018
Version
Id
baa9d5137488104fa8f9e569bc20fa7ffa26e388
Address: MRC Human Genetics Unit, MRC Institute of Genetics and Molecular Medicine, University of Edinburgh, Western General Hospital, Edinburgh, EH4 2XU, UK.
Copyright (C), [2018], 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.

Typedef Documentation

◆ WlzProfileWalkWSp

◆ WlzProfileWalkFn

typedef WlzErrorNum(* WlzProfileWalkFn) (WlzObject *, WlzIVertex3, WlzProfileWalkWSp *)