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

mr_ray_tracing.h File Reference

#include <mr_vector.h>
#include <mr_line.h>
#include <mr_image.h>

Go to the source code of this file.

Data Structures

struct  MrRayTracing

Defines

#define MR_RAY_NB_RAYS   10
#define MR_RAY_MIN_INTERSECTIONS   6
#define MR_RAY_MIN_LINES_SPACES   6

Typedefs

typedef MrRayTracing MrRayTracing

Functions

MrRayTracingmr_ray_tracing_new (void)
void mr_ray_tracing_free (void *r)
void mr_ray_tracing_clear (MrRayTracing *ray)
short int mr_ray_tracing_apply (MrRayTracing *ray, MrImage *image)
short int mr_ray_tracing_hor_ROI (MrRayTracing *ray, MrImage *image, MrLine *ROI)
short int mr_ray_tracing_ver_ROI (MrRayTracing *ray, MrImage *image, MrLine *ROI)


Define Documentation

#define MR_RAY_MIN_INTERSECTIONS   6
 

Default number of required intersections.

#define MR_RAY_MIN_LINES_SPACES   6
 

Default number of spaces between 2 lines.

#define MR_RAY_NB_RAYS   10
 

Default number of virtual vertical lines.


Typedef Documentation

typedef struct MrRayTracing MrRayTracing
 


Function Documentation

short int mr_ray_tracing_apply MrRayTracing ray,
MrImage image
 

Apply the ray tracing algorithm on a simple image.

void mr_ray_tracing_clear MrRayTracing ray  ) 
 

Destroy lines previously detected.

void mr_ray_tracing_free void *  r  ) 
 

Destroy a ray tracer lines detector.

short int mr_ray_tracing_hor_ROI MrRayTracing ray,
MrImage image,
MrLine ROI
 

Apply the ray tracing algorithm to detect vertical lines on an image ROI

MrRayTracing* mr_ray_tracing_new void   ) 
 

Creates a new ray tracer lines detector.

short int mr_ray_tracing_ver_ROI MrRayTracing ray,
MrImage image,
MrLine ROI
 

Apply the ray tracing algorithm to detect vertical lines on an image ROI


Generated on Sun Apr 9 17:29:41 2006 for MusicReco by  doxygen 1.4.4