SmtImage
<image/SmtImage.h>
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.
Member Fields
Field | Type | Notes |
---|
Member Functions
(constructor) | |
Do a simple background subtraction of the current image by using iBackImage as the background. |
|
Detect groups of pixels that are in similar locations to one another. |
|
Get the camera index number of the camera that took this image. |
|
Compare the sizes of two contour areas to determine which one is bigger. This is used for ordering lists contour areas. |
|
This method copies the attributes from iImage and saves them in the current object. Useful for initializing images. |
|
Returns the suffix of the image when it has been loaded from a file. Otherwise it will be an empty string. |
|
No details given |
|
No details given |
|
Get a list of the iMaxNumClusters largest clusters in this image. This really only makes sense when the image is a binary image. Garbage in, garbage out. |
|
No details given |
|
Is this image a binary image. Useful check before calling functions like GetPixelClusters, that depend on the image being binary. |
|
If the object doesn’t have any pixel data, then it will return true. Otherwise, false. |
|
No details given |
|
If the image was loaded from a file. This is the path to that file. Otherwise, it is an empty string. |
|
If the image is in RGB format this returns true, otherwise false. It can be false as sometimes it is in BGR format. |
|
No details given |
|
No details given |
|
Threshold the colors in an image based on the passed in boundary conditions. The values for the lower bound (iLowerb) and the upper bound (iUpperb) are based on HSV. iFilterSize, iNumIterations, and iLowerNoiseThreshold are used for smoothing the thresholded image to try to decrease the effect that noise can have on creating clusters of pixels. |
|
Get the timestep of of the image sequence that this image came from. |
|
Use the instrinsic matrix of the camera to undistort this image. |
|
No details given |
|
Writes image to an previously opened pipe so that the images can be further processed. |