Data processing method, apparatus, and system
Abstract
A data processing method includes reading, from a first storage unit into a second storage unit, one or more entire layers of data at a top of one or more image pyramids having a plurality of layers; computing, according to to-be-processed data at each layer stored in the second storage unit, a processing result at each layer stored in the second storage unit; and reading and processing, in sequence, data at one or more remaining layers of the one or more image pyramids from the first storage unit. The one or more image pyramids include a first original pyramid of a first image and a second original pyramid of a second image.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A data processing method comprising:
reading, from a first storage unit into a second storage unit, one or more entire layers of data at a top of one or more image pyramids having a plurality of layers, wherein the one or more image pyramids include a first original pyramid of a first image and a second original pyramid of a second image; computing, according to to-be-processed data at each layer stored in the second storage unit, a processing result at each layer stored in the second storage unit; and reading and processing, in sequence, data at one or more remaining layers of the one or more image pyramids from the first storage unit.
2 . The method of claim 1 , wherein to-be processed data at a present layer stored in the second storage unit includes:
data at a first tracking window at the present layer of the first original pyramid; and data at a second tracking window at the present layer of the second original pyramid.
3 . The method of claim 2 , further comprising:
determining a position of the first tracking window based on a position of a tracking point at the present layer of the first original pyramid.
4 . The method of claim 2 , further comprising:
determining a position of the second tracking window based on a processing result at a previous layer.
5 . The method of claim 2 , wherein computing the processing result at each layer stored in the second storage unit includes:
computing, according to the to-be-processed data at each layer stored in the second storage unit and gradient data at each layer of the first image, the processing result at each layer stored in the second storage unit.
6 . The method of claim 5 , wherein:
the first image further includes a gradient pyramid; and the gradient data at each layer of the first image includes data at each layer of the gradient pyramid within the first tracking window.
7 . The method of claim 2 , wherein computing the processing result at each layer stored in the second storage unit includes:
sequentially calculating, starting from a highest layer of the pyramid and with a decreasing order, the processing result at each layer stored in the second storage unit according to the to-be-processed data at each layer stored in the second storage unit.
8 . The method of claim 2 , wherein computing the processing result at each layer stored in the second storage unit includes: calculating, via a plurality of iteration processes, the processing result at each layer stored in the second storage unit according to the to-be-processed data at each layer stored in the second storage unit.
9 . The method of claim 1 , wherein the processing result includes an offset correction of a tracking point at a preset layer and a predicted offset at a previous layer.
10 . The method of claim 9 , further comprising:
obtaining a positional offset of the tracking point from the first image to the second image according to the offset correction and a predicted offset of the tracking point at a lowest layer.
11 . The method of claim 1 , wherein reading the one or more entire layers of data at the top of the one or more image pyramids includes:
completing reading, prior to computing the processing result at each layer stored in the second storage unit, the one or more entire layers of data at the top of the one or more image pyramids.
12 . The method of claim 11 , wherein reading and processing, in sequence, the data at the one or more remaining layers of the one or more image pyramids from the first storage unit includes:
reading and processing, in sequence from the first storage unit to the second storage unit, only to-be-processed data at the one or more remaining layers stored in the first storage unit.
13 . A data processing apparatus comprising:
a first storage unit and a second storage unit; a memory storing one or more computer programs; and a processor coupled to the memory and configured to execute the one or more computer programs to:
read, from the first storage unit into the second storage unit, one or more entire layers of data at a top of one or more image pyramids having a plurality of layers, wherein the one or more image pyramids include a first original pyramid of a first image and a second original pyramid of a second image;
compute, according to to-be-processed data at each layer stored in the second storage unit, a processing result at each layer stored in the second storage unit; and
read and process, in sequence, data at one or more remaining layers of the one or more image pyramids from the first storage unit.
14 . The apparatus of claim 13 , wherein:
to-be processed data at a present layer stored in the second storage unit includes:
data at a first tracking window at the present layer of the first original pyramid; and
data at a second tracking window at the present layer of the second original pyramid; and
the processor is further configured to:
determine a position of the first tracking window based on a position of a tracking point at the present layer of the first original pyramid; and
determine a position of the second tracking window based on a processing result at a previous layer.
15 . The apparatus of claim 14 , wherein the processor is further configured to:
compute, according to the to-be-processed data at each layer stored in the second storage unit and gradient data at each layer of the first image, the processing result at each layer stored in the second storage unit.
16 . The apparatus of claim 15 , wherein:
the first image further includes a gradient pyramid; and the gradient data at each layer of the first image includes data at each layer of the gradient pyramid within the first tracking window.
17 . The apparatus of claim 14 , wherein the processor is further configured to:
sequentially calculate, starting from a highest layer of the pyramid and with a decreasing order, the processing result at each layer stored in the second storage unit according to the to-be-processed data at each layer stored in the second storage unit.
18 . The apparatus of claim 14 , wherein the processor is further configured to:
calculate, via a plurality of iteration processes, the processing result at each layer stored in the second storage unit according to the to-be-processed data at each layer stored in the second storage unit.
19 . The apparatus of claim 14 , wherein the processing result includes an offset correction of a tracking point at a preset layer and a predicted offset at a previous layer.
20 . The apparatus of claim 19 , wherein the processor is further configured to:
obtain a positional offset of the tracking point from the first image to the second image according to the offset correction and a predicted offset of the tracking point at a lowest layer.Join the waitlist — get patent alerts
Track US2021150733A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.