A Non-Local Cost Aggregation Method for Stereo Matching