About
  1. | API Documentation
  2. | Common
  3. | image

image

Classes and functions that deal with images, pixels, and groups of both.

Types

Type Definition Notes
PixelSet
std::vector<std::vector<std::vector<SmtPixel>>>

For each timestep, for each camera, we have a list of pixels found in the image.

ImageSet
std::vector<std::vector<SmtImage>>

For each timestep, for each camera, we have an image.

PixelClusterSet
std::vector<std::vector<std::vector<PixelCluster>>>

For each timestep, for each camera, we have a list of PixelClusters.

Classes

PixelCluster

No details given

SmtImage

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.

SmtPixel

No details given

Functions

BackgroundSubtraction

Background subtraction using mixture of gaussians. Don’t use this.

GetInterestingPixels

Go through the imageset and find the pixels that are not 0.

GetPixelClusters

Go through the images and find groups of pixels to create clusters of pixels.

GetPixelClustersGroupTimestep

Helper function to do pixel cluster search multi-threaded. Shouldn’t be directly called.

MergeThresholdHalves

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.

ThresholdImages

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.

UndistortImages

No details given

SnakeStrike — An program for high-speed multi-camera data collection and triangulation.

Page owner(s): gwjensen  Last updated: 2020-09-28 07:40:17 +0000