#include <sadie.h>
#include "Sadie_Index.h"
#include "tclSadie_ROI.h"
Go to the source code of this file.
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. | |
Variables | |
sad_doclistp_t | global_doclist |
Global hash table holding the ROIs for the lifetime of an image. |
The SADIE library does not provide a mechanism for associating regions of interest with particular images (although some previous versions used a modified image structure for this purpose). Here we provide not only an interface to the library's function for generating region of interest data (ROISTATS), but also associate them with the image from which they were derived, using a global hash table to record the association for the lifetime of the image, or the the duration of a particular tclSadie run (whichever is the shorter).
Definition in file tclSadie_ROI.c.
|
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
Definition at line 107 of file tclSadie_ROI.c. References sad_get_doc_property(), and sad_put_doc_property(). Referenced by Sadie_Plot_CreateROICmd(). |