Skip to content

Commit

Permalink
Modify comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinichi Muramatsu committed Jul 24, 2023
1 parent d182130 commit 6a2b927
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions include/libsgm.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class StereoSGM
* @param width Processed image's width.
* @param height Processed image's height.
* @param disparity_size It must be 64, 128 or 256.
* @param input_depth_bits Processed image's bits per pixel. It must be 8 or 16.
* @param input_depth_bits Processed image's bits per pixel. It must be 8, 16 or 32.
* @param output_depth_bits Disparity image's bits per pixel. It must be 8 or 16.
* @param inout_type Specify input/output pointer type. See sgm::EXECUTE_TYPE.
* @attention
Expand All @@ -130,7 +130,7 @@ class StereoSGM
* @param width Processed image's width.
* @param height Processed image's height.
* @param disparity_size It must be 64, 128 or 256.
* @param input_depth_bits Processed image's bits per pixel. It must be 8 or 16.
* @param input_depth_bits Processed image's bits per pixel. It must be 8, 16 or 32.
* @param output_depth_bits Disparity image's bits per pixel. It must be 8 or 16.
* @param src_pitch Source image's pitch (pixels).
* @param dst_pitch Destination image's pitch (pixels).
Expand Down
2 changes: 1 addition & 1 deletion src/libsgm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class StereoSGM::Impl
param_(param)
{
// check values
SGM_ASSERT(src_depth == 8 || src_depth == 16 || src_depth == 32, "src depth bits must be 8 or 16 or 32");
SGM_ASSERT(src_depth == 8 || src_depth == 16 || src_depth == 32, "src depth bits must be 8, 16 or 32");
SGM_ASSERT(dst_depth == 8 || dst_depth == 16, "dst depth bits must be 8 or 16");
SGM_ASSERT(disparity_size == 64 || disparity_size == 128 || disparity_size == 256, "disparity size must be 64 or 128 or 256");
SGM_ASSERT(has_enough_depth(dst_depth, disparity_size, param_.min_disp, param_.subpixel),
Expand Down

0 comments on commit 6a2b927

Please sign in to comment.