image
Classes and functions that deal with images, pixels, and groups of both.
Types
Type | Definition | Notes |
---|---|---|
std::vector<std::vector<std::vector<SmtPixel>>> |
For each timestep, for each camera, we have a list of pixels found in the image. |
|
std::vector<std::vector<SmtImage>> |
For each timestep, for each camera, we have an image. |
|
std::vector<std::vector<std::vector<PixelCluster>>> |
For each timestep, for each camera, we have a list of PixelClusters. |
Classes
No details given |
|
This class is the base image object used in the library. It holds data pertaining to the capture of the image as well as functions for easier use. |
|
No details given |
Functions
Background subtraction using mixture of gaussians. Don’t use this. |
|
Go through the imageset and find the pixels that are not 0. |
|
Go through the images and find groups of pixels to create clusters of pixels. |
|
Helper function to do pixel cluster search multi-threaded. Shouldn’t be directly called. |
|
When thresholding using a color like red, the thresholding has to be done twice because red overlaps the 0/360 boundary of the HSV scale. So it has to be done once for X to 0 and then again for 360 to Y if the H value of the color range is X to Y. Then the two halves need to be merged. This function does that. |
|
Threshold the images using the passed in constraints. These values are typically passed in from a gui or some other easier way for the user to specify the values. |
|
No details given |