Depth detection method and system using thereof
First Claim
1. A depth detection system, comprising:
- a dual camera apparatus for shooting first video data and second video data, which respectively correspond to a first viewing angle and a second viewing angle, wherein each of the first and second video data comprise r×
c sets of pixel data, wherein r and c are natural numbers greater than 1;
a horizontal calibration apparatus for performing horizontal calibration on the first and second video data, and outputting the first and second video data, which are horizontally calibrated; and
a depth estimation apparatus, comprising;
a similarity estimation module for comparing pixel data of the first and second video data, provided by the horizontal calibration apparatus, with each other to obtain initial similarity data, which comprise r×
c sets of initial similarity elements, each comprising d initial similarity elements, wherein d is a natural number greater than 1;
an iteration update module for selecting multiple initial similarity elements to perform an accumulation operation to obtain an iteration parameter according to a reference mask with each of the initial similarity elements serving as a center, wherein the iteration update module performs n times of iteration update operations on the initial similarity data according to the iteration parameter to generate updated similarity data, which comprise r×
c sets of update similarity elements, each comprising d similarity elements;
a control module for judging whether each of the r×
c sets of update similarity elements satisfies a character verification condition;
wherein when the r×
c sets of update similarity elements satisfy the character verification condition, the control module converts the r×
c sets of update similarity elements into depth distribution data;
a characteristic analyzing apparatus for receiving and analyzing the first and second video data provided by the horizontal calibration apparatus to obtain first characteristic region data and second characteristic region data according to the first and second video data, respectively, wherein the first characteristic region data respectively correspond to the second characteristic region data, and the first characteristic region data and the second characteristic region data correspond to a plurality of minutia points; and
a depth range estimation apparatus, which comprises;
an estimation module for receiving and calculating a horizontal displacement quantity between the first characteristic region data and the corresponding second characteristic region data, and converting the horizontal displacement quantity into depth data;
a statistics module for converting the depth data into a set of depth statistics distribution data; and
an operation module for obtaining a minimum depth value and a maximum depth value from the set of depth statistics distribution data according to a comparison between a number of the minutia points and a critical number corresponding to a first critical condition, and determining depth range data corresponding to the first and second video data according to the minimum and maximum depth values;
wherein the depth estimation apparatus determines the depth distribution data based on the depth range data.
1 Assignment
0 Petitions
Accused Products
Abstract
A depth detection method includes the following steps. First, first and second video data are shot. Next, the first and second video data are compared to obtain initial similarity data including r×c×d initial similarity elements, wherein r, c and d are natural numbers greater than 1. Then, an accumulation operation is performed, with each similarity element serving as a center, according to a reference mask to obtain an iteration parameter. Next, n times of iteration update operations are performed on the initial similarity data according to the iteration parameter to generate updated similarity data. Then, it is judged whether the updated similarity data satisfy a character verification condition. If yes, the updated similarity data is converted into depth distribution data.
20 Citations
8 Claims
-
1. A depth detection system, comprising:
-
a dual camera apparatus for shooting first video data and second video data, which respectively correspond to a first viewing angle and a second viewing angle, wherein each of the first and second video data comprise r×
c sets of pixel data, wherein r and c are natural numbers greater than 1;a horizontal calibration apparatus for performing horizontal calibration on the first and second video data, and outputting the first and second video data, which are horizontally calibrated; and a depth estimation apparatus, comprising; a similarity estimation module for comparing pixel data of the first and second video data, provided by the horizontal calibration apparatus, with each other to obtain initial similarity data, which comprise r×
c sets of initial similarity elements, each comprising d initial similarity elements, wherein d is a natural number greater than 1;an iteration update module for selecting multiple initial similarity elements to perform an accumulation operation to obtain an iteration parameter according to a reference mask with each of the initial similarity elements serving as a center, wherein the iteration update module performs n times of iteration update operations on the initial similarity data according to the iteration parameter to generate updated similarity data, which comprise r×
c sets of update similarity elements, each comprising d similarity elements;a control module for judging whether each of the r×
c sets of update similarity elements satisfies a character verification condition;
wherein when the r×
c sets of update similarity elements satisfy the character verification condition, the control module converts the r×
c sets of update similarity elements into depth distribution data;a characteristic analyzing apparatus for receiving and analyzing the first and second video data provided by the horizontal calibration apparatus to obtain first characteristic region data and second characteristic region data according to the first and second video data, respectively, wherein the first characteristic region data respectively correspond to the second characteristic region data, and the first characteristic region data and the second characteristic region data correspond to a plurality of minutia points; and a depth range estimation apparatus, which comprises; an estimation module for receiving and calculating a horizontal displacement quantity between the first characteristic region data and the corresponding second characteristic region data, and converting the horizontal displacement quantity into depth data; a statistics module for converting the depth data into a set of depth statistics distribution data; and an operation module for obtaining a minimum depth value and a maximum depth value from the set of depth statistics distribution data according to a comparison between a number of the minutia points and a critical number corresponding to a first critical condition, and determining depth range data corresponding to the first and second video data according to the minimum and maximum depth values; wherein the depth estimation apparatus determines the depth distribution data based on the depth range data. - View Dependent Claims (2, 3, 4)
-
-
5. A depth detection method, comprising the steps of:
-
shooting first video data and second video data, which respectively correspond to a first viewing angle and a second viewing angle, wherein each of the first and second video data comprise r×
c sets of pixel data, wherein r and c are natural numbers greater than 1;performing horizontal calibration on the first and second video data; comparing pixel data of the horizontally calibrated first and second video data with each other to obtain initial similarity data, wherein the initial similarity data comprise r×
c sets of initial similarity elements, and each of the r×
c sets of initial similarity data comprise d initial similarity elements, wherein d is a natural number greater than 1;selecting multiple similarity elements according to a reference mask with each of the similarity elements serving as a center, and performing an accumulation operation on the selected similarity elements to obtain an iteration parameter; performing n times of iteration update operations on the initial similarity data according to the iteration parameter to generate r×
c sets of update similarity elements, each comprising d similarity elements;judging whether each of the r×
c sets of update similarity elements satisfies a character verification condition; andconverting the r×
c sets of update similarity elements into depth distribution data when the r×
c sets of update similarity elements satisfy the character verification condition;wherein; before the step of obtaining the initial similarity data, further comprising the steps of; analyzing the horizontally calibrated first and second video data to obtain first characteristic region data from the first video data and to obtain second characteristic region data from the second video data, wherein the first characteristic region data correspond to the second characteristic region data, and the first characteristic region data and the second characteristic region data correspond to a plurality of minutia points; calculating a horizontal displacement quantity between the first characteristic region data and the corresponding second characteristic region data, and converting the horizontal displacement quantity into depth data; converting the depth data into one set of depth statistics distribution data; and obtaining a minimum depth value and a maximum depth value from the set of depth statistics distribution data according to a comparison between a number of the minutia points and a critical number corresponding to a first critical condition, and determining depth range data corresponding to the first and second video data according to the minimum and maximum depth values. - View Dependent Claims (6, 7, 8)
-
Specification