Main Page | Class List | File List | Class Members | File Members

chain_ringwidths.c File Reference

Measures ring widths and brightness profiles. More...

#include <math.h>
#include "junkmath.h"
#include "sadie_byte.h"
#include "chain.h"
#include "mosaic.h"
#include "trees_profile.h"
#include "boundary.h"

Defines

#define crashandburn(e)   {fprintf(stderr,"Panic: %s!\n",e) ;exit(-2) ;} \
 Stopgap error handler.

Functions

void initialize_mosaic_context (IMAGE_BYTE *im, MOSAIC_INDEX *imindex, IMAGE_CONTEXT *newcontext)
void initialize_image_context (IMAGE *im, IMAGE_CONTEXT *newcontext)
void initialize_chaincode_context (LIST_NODE *chain_boundary, BOUNDARY_CONTEXT *newcontext)
 make_rotator (left, make_rotator(right)
void demolish_index (RBNODE *ix)
void discard_boundary (BOUNDER *bound)
BOUNDER * make_boundary (BOUNDARY_CONTEXT *bcon)
void build_index (BOUNDER *bound)
double find_width (BOUNDER *in, BOUNDER *out, IMAGE_CONTEXT *mosaic, PROFILE_LIST *last_ringprofile)
void CHAIN_RINGWIDTHS (IMAGE_BYTE *mimage, MOSAIC_INDEX *mindex, CHAIN *chainmap, PROFILE_LIST *profiles, int *numrings, double **ringwidths, BOUNDBOX_LIST *bound_box_list)


Detailed Description

Measures ring widths and brightness profiles.

We're assuming that all the previous phases of TREES are complete: that it has acquired images, assembled them into a mosaic, and identified the ring boundaries. This has one interface visible to the rest of TREES, the function CHAIN_RINGWIDTHS,

Author:
University of Arizona Digital Image Analysis Lab
Date:
2003
Version:
Id
chain_ringwidths.c,v 1.28 2004/11/09 08:01:32 mmunro Exp

Define Documentation

#define crashandburn  )     {fprintf(stderr,"Panic: %s!\n",e) ;exit(-2) ;} \
 

Stopgap error handler.

This doesn't just abort the functions defined in this file, or the thread running them, but the entire process running TREES.


Generated on Sat Dec 4 17:12:29 2004 for trees by  doxygen 1.3.9.1