Image capture device with a calibration function and calibration method of an image capture device
An image capture device includes at least one image capture unit and a calibration unit. A calibration method of the image capture device includes an image capture unit of the at least one image capture unit capturing a first image, the calibration unit executing a global calibration operation on original coordinates of all image points of the first image to generate first rectification coordinates of the all image points, the calibration unit finding a geometric graph including each image point of at least one image point of the all image points according to first rectification coordinates of the each image point of the at least one image point of the all image points, and the calibration unit rectifying the first rectification coordinates of the each image point to second rectification coordinates of the each image point according to a rectification equation corresponding to the geometric graph.
1. A calibration method of an image capture device, wherein the image capture device comprises at least one image capture unit and a calibration unit, the calibration method comprising:
capturing a first image by an image capture unit of the at least one image capture unit;
executing a global calibration operation on original coordinates of all image points of the first image by the calibration unit to generate first rectification coordinates of the all image points of the first image;
finding a geometric graph comprising each image point of at least one image point of the all image points according to first rectification coordinates of the each image point of the at least one image point of the all image points by the calibration unit; and
rectifying the first rectification coordinates of the each image point of the at least one image point of the all image points to second rectification coordinates of the each image point of the at least one image point of the all image points according to a rectification equation corresponding to the geometric graph by the calibration unit.
2. The calibration method of claim 1 , wherein the geometric graph is a triangle or a rectangle.
3. The calibration method of claim 1 , wherein the each image point of the at least one image point of the all image points corresponds to a pixel of the image capture unit.
4. The calibration method of claim 1 , further comprising:
generating a second image comprising a calibration pattern by the image capture unit, wherein the calibration pattern comprises a plurality of feature points;
dividing the calibration pattern of the second image into a plurality of geometric graphs according to the plurality of feature points of the calibration pattern of the second image by the calibration unit; and
determining a rectification equation corresponding to each geometric graph of the plurality of geometric graphs according to coordinates of feature points comprised in a target geometric graph corresponding to the each geometric graph of the plurality of geometric graphs and coordinates of feature points comprised in the each geometric graph by the calibration unit, wherein the target geometric graph is comprised in a target calibration pattern.
5. The calibration method of claim 4 , wherein the rectification equation corresponding to the each geometric graph is stored in a memory unit of the calibration unit.
6. The calibration method of claim 4 , wherein the calibration pattern corresponds to a programmable target calibration pattern displayed on a display screen, and a host electrically connected to the display screen and the image capture device adjusts positions of a plurality of feature points of the programmable target calibration pattern displayed on the display screen to make the plurality of geometric graphs be a plurality of rectangles.
7. The calibration method of claim 4 , wherein the calibration pattern corresponds to a programmable target calibration pattern displayed on a display screen, and a host electrically connected to the display screen and the image capture device adjusts positions of a plurality of feature points of the programmable target calibration pattern displayed on the display screen to make the plurality of feature points of the calibration pattern be located on predetermined positions of the second image.
8. The calibration method of claim 4 , wherein the calibration unit executes the global calibration operation on the original coordinates of the all image points of the first image to make first rectification coordinates of each image point of the all image points match corresponding coordinates of the target calibration pattern.
9. An image capture device with a calibration function, the image capture device comprising:
at least one image capture unit, wherein an image capture unit of the at least one image capture unit captures a first image; and
a calibration unit coupled to the at least one image capture unit for executing a global calibration operation on original coordinates of all image points of the first image to generate first rectification coordinates of the all image points of the first image, finding a geometric graph comprising each image point of at least one image point of the all image points according to first rectification coordinates of the each image point of the at least one image point of the all image points, and rectifying the first rectification coordinates of the each image point of the at least one image point of the all image points to second rectification coordinates of the each image point of the at least one image point of the all image points according to a rectification equation corresponding to the geometric graph.
10. The image capture device of claim 9 , wherein the geometric graph is a triangle or a rectangle.
11. The image capture device of claim 9 , wherein the each image point of the at least one image point of the all image points corresponds to a pixel of the image capture unit.
12. The image capture device of claim 9 , wherein the image capture unit further generates a second image comprising a calibration pattern, wherein the calibration pattern comprises a plurality of feature points, the calibration unit further divides the calibration pattern of the second image into a plurality of geometric graphs according to the plurality of feature points of the calibration pattern of the second image, and determines a rectification equation corresponding to each geometric graph of the plurality of geometric graphs according to coordinates of feature points comprised in a target geometric graph corresponding to the each geometric graph of the plurality of geometric graphs and coordinates of feature points comprised in the each geometric graph, wherein the target geometric graph is comprised in a target calibration pattern.
13. The image capture device of claim 12 , wherein the rectification equation corresponding to the each geometric graph is stored in a memory unit of the calibration unit.
14. The image capture device of claim 12 , wherein the calibration pattern corresponds to a programmable target calibration pattern displayed on a display screen, and a host electrically connected to the display screen and the image capture device adjusts positions of a plurality of feature points of the programmable target calibration pattern displayed on the display screen to make the plurality of geometric graphs be a plurality of rectangles.
15. The image capture device of claim 12 , wherein the calibration pattern corresponds to a programmable target calibration pattern displayed on a display screen, and a host electrically connected to the display screen and the image capture device adjusts positions of a plurality of feature points of the programmable target calibration pattern displayed on the display screen to make the plurality of feature points of the calibration pattern be located on predetermined positions of the second image.
16. The image capture device of claim 12 , wherein the calibration unit executes the global calibration operation on the original coordinates of the all image points of the first image to make first rectification coordinates of each image point of the all image points match corresponding coordinates of the target calibration pattern.