Apparatus, method, and storage medium
AssigneeCanon Kabushiki Kaisha
InventorAzusa Tsukahara
Life of this patent
Estimating the term…
Abstract
An apparatus for calculating a parallax based on a first image and a second image calculates a cross-correlation value between a first criterion image set on the first image and a first reference image set on the second image, calculates an auto-correlation value between a second criterion image and a second reference image set on either one of the first image and the second image, calculates a parallax amount between the first image and the second image by using the cross-correlation value and the auto-correlation value, and corrects the cross-correlation value by using the auto-correlation value.
Claims20
An apparatus for calculating a parallax based on a first image and a second image, the apparatus comprising:
- one or more memories storing instructions;
- and
- one or more processors executing the instructions to:
- calculate a cross-correlation value between a first criterion image set on the first image and a first reference image set on the second image;
- calculate an auto-correlation value between a second criterion image and a second reference image set on either one of the first image and the second image;
- calculate a parallax amount between the first image and the second image by using the cross-correlation value and the auto-correlation value;
- and
- correct the cross-correlation value by using the auto-correlation value of a formula,
- wherein the cross-correlation value is corrected using the formula depending on when a sub pixel parallax is estimated to exist on a positive side or a negative side in a parallax search direction.
An apparatus for calculating a parallax based on a first image and a second image, the apparatus comprising:
- one or more memories storing instructions;
- and
- one or more processors executing the instructions to:
- calculate a cross-correlation value between a first criterion image set on the first image and a first reference image set on the second image;
- calculate an auto-correlation value between a second criterion image and a second reference image set on either one of the first image and the second image;
- calculate a parallax amount between the first image and the second image by using the cross-correlation value and the auto-correlation value;
- and
- correct a fitting function by using the auto-correlation value of a formula,
- wherein the cross-correlation value is corrected using the formula depending on when a sub pixel parallax is estimated to exist on a positive side or a negative side in a parallax search direction.
An apparatus for calculating a parallax based on a first image and a second image, the apparatus comprising:
- one or more memories storing instructions;
- and
- one or more processors executing the instructions to:
- calculate a cross-correlation value between a first criterion image set on the first image and a first reference image set on the second image;
- calculate an auto-correlation value between a second criterion image and a second reference image set on either one of the first image and the second image;
- calculate a parallax amount between the first image and the second image by using the cross-correlation value and the auto-correlation value;
- and
- calculate the parallax amount by using the cross-correlation value and the auto-correlation value belonging to a same fitting function, by using the auto-correlation value of a formula,
- wherein the cross-correlation value is corrected using the formula depending on when a sub pixel parallax is estimated to exist on a positive side or a negative side in a parallax search direction.
A method for calculating a parallax based on a first image and a second image, the method comprising:
- calculating a cross-correlation value between a first criterion image set on the first image and a first reference image set on the second image;
- calculating an auto-correlation value between a second criterion image and a second reference image set on either one of the first image and the second image;
- and
- calculating a parallax amount between the first image and the second image by using the cross-correlation value and the auto-correlation value,
- wherein, in the calculating the parallax amount, an asymmetry of a fitting function is estimated by using the auto-correlation value to correct the cross-correlation value of a formula,
- wherein the cross-correlation value is corrected using the formula depending on when a sub pixel parallax is estimated to exist on a positive side or a negative side in a parallax search direction.
A non-transitory computer-readable storage medium storing a program for causing an apparatus for calculating a parallax based on a first image and a second image to execute a method comprising:
- calculating a cross-correlation value between a first criterion image set on the first image and a first reference image set on the second image;
- calculating an auto-correlation value between a second criterion image and a second reference image set on either one of the first image and the second image;
- and
- calculating a parallax amount between the first image and the second image by using the cross-correlation value and the auto-correlation value of a formula,
- wherein, in the calculating the parallax amount, an asymmetry of a fitting function is estimated by using the auto-correlation value to correct the cross-correlation value,
- wherein the cross-correlation value is corrected using the formula depending on when a sub pixel parallax is estimated to exist on a positive side or a negative side in a parallax search direction.
Dependencies are inferred from the claim text.