STOC. More...

STOC.

The stoc driver controls Videre Design's STOC (Stereo on a Chip) cameras through the SVS (Small Vision System) library. The driver provides a stereo interface.

Compile-time dependencies
Provides
Requires
Supported configuration requests
Properties provided

-none yet

Configuration file options
Example
driver
(
  name "stoc"
  provides ["stereo:0"]
  
  ## ---[ Misc camera parameters: all -1 values assume SVS defaults
  # Color mode: 0 (both), 1 (left only), 2 (right only)
  color_mode 0
  # Color algorithm: COLOR_ALG_BEST (2), or COLOR_ALG_FAST (0) - check SVS manual
  color_alg 2
  
  # Processing mode for STOC: PROC_MODE_OFF (0), PROC_MODE_NONE (1), PROC_MODE_TEST (2),
  #                           PROC_MODE_RECTIFIED (3), PROC_MODE_DISPARITY (4), PROC_MODE_DISPARITY_RAW (5)
  # Check your STOC camera manual for extra details.
  proc_mode 5
  
  # Image rate in fps
  rate 15
  
  # Image rectification: enabled (1) / disabled (0)
  rectification 1

  ## ---[ Stereo parameters: all -1 values assume SVS defaults
  # Points to disconsider at the bottom of the disparity image (due to errors in SVS?)
  cut_di 32
  
  # Number of disparities, 8 to 128
  ndisp 64
  
  # Texture filter threshold (confidence)
  tex_thresh 4

  # Uniqueness filter threshold
  unique 3
  
  # Correlation window size, 7 to 21
  corrsize 15
  
  # Minimum disparity region size
  speckle_size 400
)
Author
Radu Bogdan Rusu