NAME

Segment_t3 - Type for segmentation results

SYNOPSIS

#include "t3/t3_segment.h"

Example compile flags (system dependent):
  -DLINUX_X86_64 -DLINUX_X86_64_OPTERON  -DGNU_COMPILER 
   -I/home/kobus/include
   -L/home/kobus/misc/load/linux_x86_64_opteron -L/usr/lib/x86_64-linux-gnu
  -lKJB                               -lfftw3  -lgsl -lgslcblas -ljpeg  -lSVM -lstdc++                    -lpthread -lSLATEC -lg2c    -lacml -lacml_mv -lblas -lg2c      -lncursesw 


typedef struct Segment_t3
{
	int segment_number;
	int num_pixels;
	int num_boundary_pixels;
	double R_ave;
	double G_ave;
	double B_ave;
	double r_chrom_ave;
	double g_chrom_ave;
	double sum_RGB_ave;
	double i_CM;
	double j_CM;
	int i_inside;
	int j_inside;
	double first_moment;
	double second_moment;
	int i_min;
	int i_max;
	int j_min;
	int j_max;
	double boundary_len;
	double outside_boundary_len;
	Pixel_info *pixels;
	Pixel_info *boundary_pixels;
	Matrix *outside_boundary_mp;
	int num_neighbours;
	int *neighbours;
	double *nb_edge_r_diffs;
	double *nb_edge_g_diffs;
	double *nb_edge_rel_sum_diffs;
	int *connection_counts;
	int pixel_count;
	int boundary_pixel_count;
}
Segment_t3;

PARAMETERS

int pixel_count
Private, should be same as num_pixels.
int boundary_pixel_count
Private

DESCRIPTION

This type was introduced to be part of the Segmentation_t3 type.

DISCLAIMER

This software is not adequatedly tested. It is recomended that results are checked independantly where appropriate.

AUTHOR

Kobus Barnard

DOCUMENTER

Kobus Barnard

SEE ALSO

Segmentation_t3