Main Page | Data Structures | Directories | File List | Data Fields | Globals

tclSadie_ROI.h File Reference

A region of interest handling interface for tclSadie. More...

#include "project_utilities.h"

Go to the source code of this file.

Defines

#define TCLSADIE_ROI_H   1
 The standard guard against including the same header twice.
#define ROI_PROPERTY_NAME   "oldfashioned_roi_list"
 This string identifies the original SADIE ROI as an image property.

Functions

void CREATE_ROI (IMAGE *in, const char *name, const char *dkey, uint32_t xbgn, uint32_t ybgn, uint32_t xend, uint32_t yend, int matrix, uint32_t inc, uint32_t nlev)
 Create a data structure summarizing a rectangular ROI within an image.


Detailed Description

A region of interest handling interface for tclSadie.

In future the tclSadie regions of interest (ROIs) might have a wider range of properties, and there might be more than one type of ROI, but at the moment we provide just the original SADIE ROI, storing it as an image property:

See also:
Sadie_Index.c for the mechanism used for this.
Author:
University of Arizona Digital Image Analysis Lab
Date:
1999, 2004
Version:
Id
tclSadie_ROI.h,v 1.1 2005/03/22 20:38:22 mmunro Exp

Definition in file tclSadie_ROI.h.


Function Documentation

void CREATE_ROI IMAGE *  in,
const char *  name,
const char *  dkey,
uint32_t  xbgn,
uint32_t  ybgn,
uint32_t  xend,
uint32_t  yend,
int  matrix,
uint32_t  inc,
uint32_t  nlev
 

Create a data structure summarizing a rectangular ROI within an image.

Note that this is currently inefficient and inelegant: it operates on a partial copy of the original image rather than simply examining the original pixel values. The sadie.h file defines a region of interest data structure into which we place the various statistics, using the ROISTATS operation from the SADIE library. All the regions defined within a particular image are strung together in a single list, and the global hash table maintains the association between this and the image.

Parameters:
[in] in points to the image containing the region.
[in] name a name to give the region.
[in] dkey the ID of the image containing the region.
[in] xbgn the region's initial horizontal coordinate.
[in] ybgn the region's initial vertical coordinate.
[in] xend the region's final horizontal coordinate.
[in] yend the region's final vertical coordinate.
[in] matrix compute covariances and correlations (1), or not (0).
[in] inc the pixel subsample increment.
[in] nlev the number of histogram bins (or zero to suppress it).

Definition at line 107 of file tclSadie_ROI.c.

References sad_get_doc_property(), and sad_put_doc_property().

Referenced by Sadie_Plot_CreateROICmd().


Generated on Fri Jul 8 14:55:03 2005 for tclSadie by  doxygen 1.4.2