| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

Classes | Defines | Functions
E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/image_processing/TePDIBaatz.hpp File Reference
`#include "TePDIAlgorithm.hpp"`
`#include "TePDITypes.hpp"`
`#include "TePDIPIManager.hpp"`
`#include "TePDIUtils.hpp"`
`#include "../kernel/TeSharedPtr.h"`

Go to the source code of this file.

## Classes

class | TePDIBaatz
| Region Growing Segmentation, Baatz implementation. More...
struct | segment_pixel
struct | segment
struct | segment_neighbor
struct | segmentation_parameters

## Defines

#define | MAX_STEPS 20
#define | NUM_BANDS 10
#define | POSITION_SEARCH 0.00
#define | OUTLINE_COLOR_0 255
#define | OUTLINE_COLOR_1 000
#define | OUTLINE_COLOR_2 000

## Functions

float | randval (float low, float high)
int | read_seg_parameters (char *parameter_file_name, struct segmentation_parameters *parameters)
int | initialize_segments (struct segment ***segments_ptr_vector, struct segment **first_segment, struct segment **last_segment, TePDITypes::TePDIRasterPtrType input_image, vector< unsigned > input_channels, long int nrows, long int ncols, bool progress_enabled_)
float | segmentation (struct segment **segments_ptr_vector, struct segment *initial_segment, struct segment *final_segment, long int nrows, long int ncols, struct segmentation_parameters parameters, bool progress_enabled_)
void | write_segments (TePDITypes::TePDIRasterPtrType output_image, struct segment *initial_segment, int write_type, bool progress_enabled_)
void | free_segment_list (struct segment **initial_segment, struct segment ***segments_ptr_vector)

## Define Documentation

#define MAX_STEPS 20

#define NUM_BANDS 10

#define OUTLINE_COLOR_0 255

#define OUTLINE_COLOR_1 000

#define OUTLINE_COLOR_2 000

#define POSITION_SEARCH 0.00

## Function Documentation

void free_segment_list | ( | struct segment ** | initial_segment,
|  | struct segment *** | segments_ptr_vector
| ) |  |

int initialize_segments | ( | struct segment *** | segments_ptr_vector,
|  | struct segment ** | first_segment,
|  | struct segment ** | last_segment,
|  | TePDITypes::TePDIRasterPtrType | input_image,
|  | vector< unsigned > | input_channels,
|  | long int | nrows,
|  | long int | ncols,
|  | bool | progress_enabled_
| ) |  |

float randval | ( | float | low,
|  | float | high
| ) |  |

int read_seg_parameters | ( | char * | parameter_file_name,
|  | struct segmentation_parameters * | parameters
| ) |  |

float segmentation | ( | struct segment ** | segments_ptr_vector,
|  | struct segment * | initial_segment,
|  | struct segment * | final_segment,
|  | long int | nrows,
|  | long int | ncols,
|  | struct segmentation_parameters | parameters,
|  | bool | progress_enabled_
| ) |  |

void write_segments | ( | TePDITypes::TePDIRasterPtrType | output_image,
|  | struct segment * | initial_segment,
|  | int | write_type,
|  | bool | progress_enabled_
| ) |  |

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines