Test Semi Global Matching