메소드 | 설명 | |
---|---|---|
FindStereoCorrespondence ( Byte>.Image |
Computes disparity map for the input rectified stereo pair. Invalid pixels (for which disparity can not be computed) are set to (state->minDisparity-1)*16 |
|
StereoSGBM ( int minDisparity, int numDisparities, int SADWindowSize, int P1, int P2, int disp12MaxDiff, int preFilterCap, int uniquenessRatio, int speckleWindowSize, int speckleRange, bool fullDP ) : System |
Create a stereo disparity solver using StereoSGBM algorithm (combination of H. Hirschmuller + K. Konolige approaches)
|
메소드 | 설명 | |
---|---|---|
DisposeObject ( ) : void |
Release the unmanged memory associated with this stereo solver
|
public FindStereoCorrespondence ( Byte>.Image |
||
left | Byte>.Image | The left single-channel, 8-bit image |
right | Byte>.Image | The right image of the same size and the same type |
disparity | Int16>.Image | The output single-channel 16-bit signed disparity map of the same size as input images. Its elements will be the computed disparities, multiplied by 16 and rounded to integer's |
리턴 | void |
public StereoSGBM ( int minDisparity, int numDisparities, int SADWindowSize, int P1, int P2, int disp12MaxDiff, int preFilterCap, int uniquenessRatio, int speckleWindowSize, int speckleRange, bool fullDP ) : System | ||
minDisparity | int | |
numDisparities | int | |
SADWindowSize | int | Set this to 0 for default |
P1 | int | Use 0 for default |
P2 | int | Use 0 for default |
disp12MaxDiff | int | Use 0 for default |
preFilterCap | int | Use 0 for default |
uniquenessRatio | int | Use 0 for default |
speckleWindowSize | int | Use 0 for default |
speckleRange | int | Use 0 for default |
fullDP | bool | Use false for default |
리턴 | System |