#include "speckle.h"
#include "blobs.h"
#include "ratngs.h"
#include "params.h"
Functions | |
void | AddLargeSpeckleTo (BLOB_CHOICE_LIST *Choices) |
BOOL8 | LargeSpeckle (TBLOB *blob) |
Variables | |
double | speckle_large_max_size = 0.30 |
double | speckle_small_penalty = 10.0 |
double | speckle_large_penalty = 10.0 |
double | speckle_small_certainty = -1.0 |
void AddLargeSpeckleTo | ( | BLOB_CHOICE_LIST * | Choices | ) |
This routine adds a null choice to Choices with a rating equal to the worst rating in Choices plus a pad. The certainty of the new choice is the same as the certainty of the worst choice in Choices. The new choice is added to the end of Choices.
Globals:
Choices | choices to add a speckle choice to |
Exceptions: none History: Mon Mar 11 11:08:11 1991, DSJ, Created.
This routine returns TRUE if both the width of height of Blob are less than the MaxLargeSpeckleSize.
Globals:
Exceptions: none History: Mon Mar 11 10:06:49 1991, DSJ, Created.
Blob | blob to test against speckle criteria |
double speckle_large_max_size = 0.30 |
define control knobs for adjusting definition of speckle "Max large speckle size"
double speckle_large_penalty = 10.0 |
"Large speckle penalty"
double speckle_small_certainty = -1.0 |
"Small speckle certainty"
double speckle_small_penalty = 10.0 |
"Small speckle penalty"