Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Configure Camera application allows you to select which camera to use, to configure the video rate and image size, and depending on the camera to configure other camera settings. First select the camera that you want to use for data acquisition using the drop down menu called Camera Name. The software automatically recognizes all available cameras. For many of our applications high resolution images will not be needed. I recommend using 480x640 images at 30 frames per second to detect a floc water interface. You can change the video setting on the camera by browsing in the attribute window until you find the video mode. Select video mode and then you will be able to choose from a drop down menu of available video modes.

The next step is to configure the interface recognition software. You can do this "live" with images from the camera by clicking on the Test Settings button. Select a region of interest in the image that you want to analyze by using the rectangle tool that is located to the left of the image. The interface recognition software has only been tested using the vertically oriented rectangle to define the region of interest. The image must be oriented in the default direction (480 high and 640 wide).
Use a measuring tape to assign an elevation to the top of the field of view and to measure the height of the field of view.

Image processing steps

  • The interface recognition algorithm takes the average of each of the rows of pixels in the region of interest to using the color band(s) that are selected to produce a single array of light intensities.
  • A running average over the length set by Smooth Length is used to filter out some of the noise in the image.
  • Numerical derivative is taken
  • The minimum value of the derivative is an indication of the location where the image transitions from light to dark in the direction of top to bottom. This direction definition is used because images are defined with the top left corner being zero, zero.
  • The pixel location of the minimum value of the derivative is converted into physical space given the location of the field of view.
  • If the absolute value of the minimum value of the derivative isn't greater than the minimum derivative magnitude, then the interface is assigned to be at the bottom of the region of interest.

Saving the Configuration

The camera configuration information is saved in a file in

Image Added