Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: THEend8_
Programming Assignment
Design and implement Matlab or C/C++ or Python program for a stereo analysis system
involving feature-based, region-based and multiresolution matching. The program should be
able to perform multi-resolution stereo analysis, where the no. of levels are set by the user.
The template and search neighborhood at each level can be set differently by the user, so is the
method and matching measure to be used.
Details below.
1. Methods
-- Region-based analysis
i) Give the user options to pick template size and matching window. Template can be a
rectangle; matching is 1D looking in only one direction for the match.
ii) Provide the following matching scores: i) Sum of Absolute Differences (SAD),
ii) Sum of Squared Differences (SSD), and iii) Normalized Cross-correlation (NCC).
_ Feature-based analysis
Use Harris corners extraction for feature detection, then use the descriptor value for matching
(i.e, Harris corner response measure). Also give the user option to choose different matching
scores: SAD, SSD, NCC.
2. Stereo Matching
i. At a given level, stereo matching is done and disparity calculated.
ii. Validity check is then performed, wherein if the left-to-right match does not correspond to
right-to-left match, a 'zero' is placed at that location in the dispariy. One way to do this is, switch
the left image with right image and see if the correspondences match up in both directions. They
won't match up, for example, when pixels are under occlusion (see Fua's paper provided).
If the correspondences are same in both directions, then consider that the correspondence are
valid, otherwise invalid.