Displacement detection apparatus and method
First Claim
Patent Images
1. A displacement detection method, comprising:
- capturing a first frame and a second frame;
selecting a first block in the first frame and a second block in the second frame, wherein the first and second blocks have a same size, the size of the first and second blocks is either a first size or a second size, and the second size is smaller than the first size;
determining a displacement according to the first block and the second block;
comparing the displacement with an upper threshold or a lower threshold, wherein the lower threshold is smaller than the upper threshold;
for the size of the first and second blocks being the first size, adjusting the size of the first and second blocks to the second size when the displacement is larger than the upper threshold, and maintaining the size of the first and second blocks as the first size when the displacement is smaller than the upper threshold; and
for the size of the first and second blocks being the second size, adjusting the size of the first and second blocks to the first size when the displacement is smaller than the lower threshold, and maintaining the size of the first and second blocks as the second size when the displacement is larger than the lower threshold.
1 Assignment
0 Petitions
Accused Products
Abstract
A displacement detection method includes the steps of: capturing a first frame and a second frame; selecting a first block with a predetermined size in the first frame and selecting a second block with the predetermined size in the second frame; determining a displacement according to the first block and the second block; comparing the displacement with at least one threshold; and adjusting the predetermined size according to a comparison result of comparing the displacement and the threshold. The present invention further provides a displacement detection apparatus.
21 Citations
17 Claims
-
1. A displacement detection method, comprising:
-
capturing a first frame and a second frame; selecting a first block in the first frame and a second block in the second frame, wherein the first and second blocks have a same size, the size of the first and second blocks is either a first size or a second size, and the second size is smaller than the first size; determining a displacement according to the first block and the second block; comparing the displacement with an upper threshold or a lower threshold, wherein the lower threshold is smaller than the upper threshold; for the size of the first and second blocks being the first size, adjusting the size of the first and second blocks to the second size when the displacement is larger than the upper threshold, and maintaining the size of the first and second blocks as the first size when the displacement is smaller than the upper threshold; and for the size of the first and second blocks being the second size, adjusting the size of the first and second blocks to the first size when the displacement is smaller than the lower threshold, and maintaining the size of the first and second blocks as the second size when the displacement is larger than the lower threshold. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A displacement detection method, comprising:
-
capturing a first frame and a second frame; comparing a first area of the first frame with a second area of the second frame, wherein the first and second areas have a same size, the size of the first and second areas is a first size, a second size or a third size, the second size is smaller than the first size and the third size is smaller than the second size; determining a displacement according to a comparison result; for the size of the first and second areas being the first size, adjusting the size of the first and second areas to the second size when the displacement is larger than a first upper threshold, and maintaining the size of the first and second areas as the first size when the displacement is smaller than the first upper threshold; for the size of the first and second areas being the second size, adjusting the size of the first and second areas to the third size when the displacement is larger than a second upper threshold, adjusting the size of the first and second areas to the first size when the displacement is smaller than a first lower threshold, and maintaining the size of the first and second areas as the second size when the displacement is smaller than the second upper threshold and larger than a second lower threshold; and for the size of the first and second areas being the third size, adjusting the size of the first and second areas to the second size when the displacement is smaller than the second lower threshold, and maintaining the size of the first and second areas as the third size when the displacement is larger than the second lower threshold, wherein the first lower threshold is smaller than the first upper threshold, the first upper threshold is smaller than the second lower threshold, and the second lower threshold is smaller than the second upper threshold. - View Dependent Claims (8, 9, 10, 11)
-
-
12. A displacement detection apparatus, comprising:
-
an image sensing unit configured to capture a first frame and a second frame; a storage unit configured to store an upper threshold and a lower threshold, wherein the lower threshold is smaller than the upper threshold; and a processor configured to select a first block in the first frame and select a second block in the second frame, wherein the first and second blocks have a same size, the size of the first and second blocks is either a first size or a second size, and the second size is smaller than the first size, determine a displacement according to the first block and the second block, compare the displacement with the upper threshold or the lower threshold, for the size of the first and second blocks being the first size, adjust the size of the first and second blocks to the second size when the displacement is larger than the upper threshold, and maintain the size of the first and second blocks as the first size when the displacement is smaller than the upper threshold, and for the size of the first and second blocks being the second size, adjust size of the first and second blocks the to the first size when the displacement is smaller than the lower threshold, and maintain the size of the first and second blocks as the second size when the displacement is larger than the lower threshold. - View Dependent Claims (13, 14, 15, 16, 17)
-
Specification