[Master Index] [Index for .]

c2f

(./c2f.m)


Function Synopsis

y = c2f (left, right, window_size, attention, max_disp, low_res_width, pixel, shrink, scale)

Help text

 C2f -- Compute stereo disparity using a simple coarse to fine normalized SAD
 algorithm.  Disparity is defined as LEFT-RIGHT, only positive disparities
 will be checked.  A bisymmetric window (truncated at the available image area
 and the input window_size) is used for all comparisons.

	left  -- Left input image.  Must have same dimensions as:
	right -- Right input image (same size as left image)
	window_size -- size of the SSD window [5]
	attention -- Number of the row on which to focus attention [0] (none)
	max_disp -- Maximum integer disparity at each level [4*window_size]
	low_res_width -- Width of the smallest image [4*window_size]
	pixel_col -- Generate profiles for pixel (attention,pixel_col) [0]
	shrink -- Filter to decimate the input image ['halve']
	scale [internal parameter] -- Used to save disparity space

  Make sure you type:   global SPACE SCALES  on the command line if you want
  to focus attention on the disparity space of a particular row

Cross-Reference Information

This function calls
This function is called by

Produced by mat2html on Thu Oct 9 14:13:05 1997
Cross-Directory links are: OFF