CN106385532A - 3D real-time imaging method - Google Patents

3D real-time imaging method Download PDF

Info

Publication number
CN106385532A
CN106385532A CN201610787050.8A CN201610787050A CN106385532A CN 106385532 A CN106385532 A CN 106385532A CN 201610787050 A CN201610787050 A CN 201610787050A CN 106385532 A CN106385532 A CN 106385532A
Authority
CN
China
Prior art keywords
rotary part
dimensional
shooting
numerical value
real time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610787050.8A
Other languages
Chinese (zh)
Inventor
杨立新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Li Yundan
Lu Taijin
Original Assignee
杨立新
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 杨立新 filed Critical 杨立新
Priority to CN201610787050.8A priority Critical patent/CN106385532A/en
Publication of CN106385532A publication Critical patent/CN106385532A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/24Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
    • G06T3/08
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/60Rotation of a whole image or part thereof
    • G06T3/604Rotation of a whole image or part thereof using a CORDIC [COordinate Rotation Digital Compute] device

Abstract

The invention discloses a 3D real-time imaging method, and relates to the technical field of thermo-technical measurement. The shooting frame rate of a camera is adjusted according to the rotating speed of a rotary part, so that discontinuous shooting is controlled automatically, manual operation is not needed, the labor resource is saved, and the shooting control precision is improved; and a 2D image obtained by shooting is converted into a 3D stereoscopic image, the rotary part can be reduced in the image, and further, more bases are provided for research on the high-speed rotary part and surface condition thereof.

Description

A kind of three-dimensional real time imagery method
Technical field
The present invention relates to thermal measurement technical field, more particularly, to a kind of three-dimensional real time imagery method.
Background technology
In order to study to the part of high-speed rotation, it is possible to use high-speed camera shoots to it, such as, grinding Study carefully icing cone surface ice condition when, just using high-speed camera, icing cone is shot, then according to shooting To image the ice condition on surface is studied.
At present, shoot the part of high-speed rotation using high-speed camera, typically video camera is controlled using manually mode Startup and stopping, not only wasting time and energy, consume substantial amounts of human resources, and control accuracy is low, also cannot be according to rotating part The frame rate of the rotational speed regulation camera of part, meanwhile, the image photographing is two dimensional image, be unfavorable for high-speed rotary part and Its surface condition is studied.
Content of the invention
It is an object of the invention to provide a kind of three-dimensional real time imagery method, thus solving aforementioned present in prior art Problem.
To achieve these goals, the technical solution used in the present invention is as follows:
A kind of three-dimensional real time imagery method, comprises the steps:
S1, determines the acquisition parameters of high-speed camera, including time interval and single group between shooting group number, frame rate, group Interior frame number;
S2, coding controls described high-speed camera according to described acquisition parameters, rotary part to be shot, and obtains The two dimensional image of described rotary part;
S3, extracts the boundary contour of described two dimensional image;
S4, is separated into two-dimensional coordinate, and the rotation according to described rotary part by extracting the described boundary contour obtaining Gyration carries out changes in coordinates, obtains constituting the three-dimensional coordinate of the point of described rotary part;
S5, is fitted obtaining the bus of described rotary part to the three-dimensional coordinate of the point of described rotary part;Using institute State bus group and do curved surface, form three-dimensional image.
Preferably, in S1, described frame rate is calculated using equation below:
f = 6 n θ
In formula,
f:Frame rate,
θ:The angle that when shooting every time, rotary part rotated through relative to last time,
n:The rotating speed of rotary part.
Preferably, in S1, in described single group, frame number is calculated using equation below:
M=360/ θ
In formula,
m:Frame number in single group,
θ:The angle that when shooting every time, rotary part rotated through relative to last time.
Preferably, in S1, described shooting group number is calculated using equation below:
l = I t δ
In formula,
l:Shooting group number,
I:Intensity,
δ:Precision,
t:Time.
Preferably, S3 comprises the steps:
S301, sets a numerical value;
S302, each pixel of the gray level image of described two dimensional image and the numerical value of this setting is compared, obtains The all pixels point of this numerical value must be more than, and all pixels point less than this numerical value;
S303, obtain be located at the described all pixels point more than this numerical value, and less than this numerical value all pixels point it Between pixel, form described two dimensional image boundary contour.
Preferably, S4 comprises the steps:
S401, outline line is that pixel forms one by one, the central shaft of described rotary part is set to X-axis, described rotation The summit of part is set to initial point, obtains the two-dimensional coordinate of each pixel forming described boundary contour;
S402, the two-dimensional coordinate obtaining in S401 is converted into polar coordinates;
S403, the angle being turned over according to the described rotary part of every graphical representation, obtain the described side forming this image The three-dimensional cylindrical coordinates of each pixel of boundary's outline line.
Preferably, S5 specifically can adopt and be implemented with the following method:
S501, the three-dimensional cylindrical coordinates of all pixels obtaining in S403 point is converted in surf function in Matlab requiring Matrix,
S502, calls the surf function in Matlab, obtains three-dimensional image.
The invention has the beneficial effects as follows:A kind of three-dimensional real time imagery method provided in an embodiment of the present invention, by according to rotation The rotating speed of rotation member, to adjust the frame rate of camera, is realized automatically controlling of discontinuity shooting, and need not manually be operated, not only Save human resources, and improve shooting control accuracy, in addition, by changing into three-dimensional by shooting the two dimensional image obtaining Stereo-picture, that can realize rotary part on image reduces the research so as to high-speed rotary part and its surface condition More there is foundation.
Brief description
Fig. 1 is a kind of three-dimensional real time imagery method flow schematic diagram provided in an embodiment of the present invention.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, below in conjunction with accompanying drawing, the present invention is entered Row further describes.It should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to Limit the present invention.
As shown in figure 1, embodiments providing a kind of three-dimensional real time imagery method, comprise the steps:
S1, determines the acquisition parameters of high-speed camera, including time interval and single group between shooting group number, frame rate, group Interior frame number;
S2, coding controls described high-speed camera according to described acquisition parameters, rotary part to be shot, and obtains The two dimensional image of described rotary part;
S3, extracts the boundary contour of described two dimensional image;
S4, is separated into two-dimensional coordinate, and the rotation according to described rotary part by extracting the described boundary contour obtaining Gyration carries out changes in coordinates, obtains constituting the three-dimensional coordinate of the point of described rotary part;
S5, is fitted obtaining the bus of described rotary part to the three-dimensional coordinate of the point of described rotary part;Using institute State bus group and do curved surface, form three-dimensional image.
In practical operation, determine time interval between shooting group number, frame rate, group, frame number in single group as requested Set in operation interface after (every group of shooting number), store path, need to click on when starting to shoot and start shooting and can complete Image automatic shooting and storage.
Programme controlled Main Function is just that instead of people makes it more accurate come the shooting and stopping to control camera, specifically Process in turn includes the following steps:Camera starts shooting --- shoot the n second----stop shoots and transmits Data ----waiting m (the every group of interval-n) second ----startup shoots and is repeated up to complete the shooting of all groups of numbers.
In S1, described frame rate can be calculated using equation below:
f = 6 n θ
In formula,
f:Frame rate,
θ:The angle that when shooting every time, rotary part rotated through relative to last time,
n:The rotating speed of rotary part.
In S1, in described single group, frame number can be calculated using equation below:
M=360/ θ
In formula,
m:Frame number in single group,
θ:The angle that when shooting every time, rotary part rotated through relative to last time.
In S1, described shooting group number can be calculated using equation below:
l = I t δ
In formula,
l:Shooting group number,
I:Intensity,
δ:Precision,
t:Time.
S3 may include steps of:
S301, sets a numerical value;
S302, each pixel of the gray level image of described two dimensional image and the numerical value of this setting is compared, obtains The all pixels point of this numerical value must be more than, and all pixels point less than this numerical value;
S303, obtain be located at the described all pixels point more than this numerical value, and less than this numerical value all pixels point it Between pixel, form described two dimensional image boundary contour.
The extraction process of the boundary contour of above-mentioned two dimensional image, mainly to judge according to gray scale:The gray scale of picture Each pixel of image is stored as a byte in computer, and its value is set as certain number between 0-255.Numerical value Bigger this pixel of expression brighter (white), numerical value is more little then to represent pixel darker (black).First set a numerical value, compared with this number What value was big is considered as white pixel, and little compared with this numerical value is considered as black picture element.White pixel is edge with the boundary of black picture element.
In the embodiment of the present invention, S4 may include steps of:
S401, outline line is that pixel forms one by one, the central shaft of described rotary part is set to X-axis, described rotation The summit of part is set to initial point, obtains the two-dimensional coordinate of each pixel forming described boundary contour;
S402, the two-dimensional coordinate obtaining in S401 is converted into polar coordinates;
S403, the angle being turned over according to the described rotary part of every graphical representation, obtain the described side forming this image The three-dimensional cylindrical coordinates of each pixel of boundary's outline line.
S5 specifically can adopt and be implemented with the following method:
S501, the three-dimensional cylindrical coordinates of all pixels obtaining in S403 point is converted in surf function in Matlab requiring Matrix,
S502, calls the surf function in Matlab, obtains three-dimensional image.
By using technique scheme disclosed by the invention, having obtained following beneficial effect:The embodiment of the present invention carries For a kind of three-dimensional real time imagery method, adjust the frame rate of camera by the rotating speed according to rotary part, realize interruption Property shoot automatically control, and need not manually operate, not only save human resources, and improve shooting control accuracy, separately Outward, by changing into three-dimensional image by shooting the two dimensional image obtaining, the reduction of rotary part can be realized on image, So that the research to high-speed rotary part and its surface condition more has foundation.
Each embodiment in this specification is all described by the way of going forward one by one, what each embodiment stressed be with The difference of other embodiment, between each embodiment identical similar partly mutually referring to.
Those skilled in the art should be understood that the sequential of the method and step that above-described embodiment provides can be entered according to actual conditions Row accommodation, is concurrently carried out also dependent on actual conditions.
All or part of step in the method that above-described embodiment is related to can be instructed by program correlation hardware Lai Complete, described program can be stored in the storage medium that computer equipment can read, for executing the various embodiments described above side All or part of step described in method.Described computer equipment, for example:Personal computer, server, the network equipment, intelligent sliding Dynamic terminal, intelligent home device, wearable intelligent equipment, vehicle intelligent equipment etc.;Described storage medium, for example:RAM、 ROM, magnetic disc, tape, CD, flash memory, USB flash disk, portable hard drive, storage card, memory stick, webserver storage, network cloud storage Deng.
Last in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by One entity or operation are made a distinction with another entity or operation, and not necessarily require or imply these entities or operation Between there is any this actual relation or order.And, term " inclusion ", "comprising" or its any other variant meaning Covering comprising of nonexcludability, so that including a series of process of key elements, method, commodity or equipment not only include that A little key elements, but also include other key elements being not expressly set out, or also include for this process, method, commodity or The intrinsic key element of equipment.In the absence of more restrictions, the key element being limited by sentence "including a ...", does not arrange Remove and also there is other identical element in the process including described key element, method, commodity or equipment.
The above is only the preferred embodiment of the present invention it is noted that ordinary skill people for the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should Depending on protection scope of the present invention.

Claims (7)

1. a kind of three-dimensional real time imagery method is it is characterised in that comprise the steps:
S1, determines the acquisition parameters of high-speed camera, including frame in time interval between shooting group number, frame rate, group and single group Number;
S2, coding controls described high-speed camera according to described acquisition parameters, rotary part to be shot, and obtains described The two dimensional image of rotary part;
S3, extracts the boundary contour of described two dimensional image;
S4, is separated into two-dimensional coordinate, and the anglec of rotation according to described rotary part by extracting the described boundary contour obtaining Degree carries out changes in coordinates, obtains constituting the three-dimensional coordinate of the point of described rotary part;
S5, is fitted obtaining the bus of described rotary part to the three-dimensional coordinate of the point of described rotary part;Using described mother Line group does curved surface, forms three-dimensional image.
2. three-dimensional real time imagery method according to claim 1 is it is characterised in that in S1, described frame rate is using such as Lower formula is calculated:
f = 6 n θ
In formula,
f:Frame rate,
θ:The angle that when shooting every time, rotary part rotated through relative to last time,
n:The rotating speed of rotary part.
3. three-dimensional real time imagery method according to claim 1 is it is characterised in that in S1, in described single group, frame number adopts Equation below is calculated:
M=360/ θ
In formula,
m:Frame number in single group,
θ:The angle that when shooting every time, rotary part rotated through relative to last time.
4. three-dimensional real time imagery method according to claim 1 is it is characterised in that in S1, described shooting group number is using such as Lower formula is calculated:
l = I t δ
In formula,
l:Shooting group number,
I:Intensity,
δ:Precision,
t:Time.
5. three-dimensional real time imagery method according to claim 1 is it is characterised in that S3 comprises the steps:
S301, sets a numerical value;
S302, each pixel of the gray level image of described two dimensional image and the numerical value of this setting are compared, and obtain big In all pixels point of this numerical value, and all pixels point less than this numerical value;
S303, obtains and is located at the described all pixels point more than this numerical value, and be less than between all pixels point of this numerical value Pixel, forms the boundary contour of described two dimensional image.
6. three-dimensional real time imagery method according to claim 1 is it is characterised in that S4 comprises the steps:
S401, outline line is that pixel forms one by one, the central shaft of described rotary part is set to X-axis, described rotary part Summit be set to initial point, obtain the two-dimensional coordinate of each pixel forming described boundary contour;
S402, the two-dimensional coordinate obtaining in S401 is converted into polar coordinates;
S403, the angle being turned over according to the described rotary part of every graphical representation, obtain the described border wheel forming this image The three-dimensional cylindrical coordinates of each pixel of profile.
7. three-dimensional real time imagery method according to claim 6 is it is characterised in that S5 specifically can adopt to enter with the following method Row is implemented:
S501, the three-dimensional cylindrical coordinates of all pixels obtaining in S403 point is converted into the square require in surf function in Matlab Battle array,
S502, calls the surf function in Matlab, obtains three-dimensional image.
CN201610787050.8A 2016-08-30 2016-08-30 3D real-time imaging method Pending CN106385532A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610787050.8A CN106385532A (en) 2016-08-30 2016-08-30 3D real-time imaging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610787050.8A CN106385532A (en) 2016-08-30 2016-08-30 3D real-time imaging method

Publications (1)

Publication Number Publication Date
CN106385532A true CN106385532A (en) 2017-02-08

Family

ID=57939449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610787050.8A Pending CN106385532A (en) 2016-08-30 2016-08-30 3D real-time imaging method

Country Status (1)

Country Link
CN (1) CN106385532A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109978758A (en) * 2019-03-25 2019-07-05 深圳职业技术学院 A kind of three-dimensional modeling method based on computer graphic image

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6061468A (en) * 1997-07-28 2000-05-09 Compaq Computer Corporation Method for reconstructing a three-dimensional object from a closed-loop sequence of images taken by an uncalibrated camera
CN101072298A (en) * 2006-12-13 2007-11-14 北京交通大学 Multifunctional sequence image information automatic collecting device and method
CN101266690A (en) * 2007-03-15 2008-09-17 华南农业大学 Plant root species form 3-D image reconstruction system and method
CN101753837A (en) * 2008-12-18 2010-06-23 三星电子株式会社 Method for interval photographing by a multiple photographing condition and photographing apparatus using the same
CN105092883A (en) * 2015-06-01 2015-11-25 浙江宇视科技有限公司 Method for measuring rotating speed of a holder and apparatus thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6061468A (en) * 1997-07-28 2000-05-09 Compaq Computer Corporation Method for reconstructing a three-dimensional object from a closed-loop sequence of images taken by an uncalibrated camera
CN101072298A (en) * 2006-12-13 2007-11-14 北京交通大学 Multifunctional sequence image information automatic collecting device and method
CN101266690A (en) * 2007-03-15 2008-09-17 华南农业大学 Plant root species form 3-D image reconstruction system and method
CN101753837A (en) * 2008-12-18 2010-06-23 三星电子株式会社 Method for interval photographing by a multiple photographing condition and photographing apparatus using the same
CN105092883A (en) * 2015-06-01 2015-11-25 浙江宇视科技有限公司 Method for measuring rotating speed of a holder and apparatus thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王方: "利用数码相机重构物体三维形体的方法研究", 《中国优秀硕士学位论文全文数据库-信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109978758A (en) * 2019-03-25 2019-07-05 深圳职业技术学院 A kind of three-dimensional modeling method based on computer graphic image
CN109978758B (en) * 2019-03-25 2022-06-21 深圳职业技术学院 Three-dimensional modeling method based on computer graphic image

Similar Documents

Publication Publication Date Title
CN108596961B (en) Point cloud registration method based on three-dimensional convolutional neural network
US11037281B2 (en) Image fusion method and device, storage medium and terminal
US11070725B2 (en) Image processing method, and unmanned aerial vehicle and system
WO2020192706A1 (en) Object three-dimensional model reconstruction method and device
EP3982290A1 (en) Artificial intelligence-based image recognition method and related device
CN104463166B (en) The extracting method and system of target water body
CN103810504B (en) Image processing method and device
CN110929566A (en) Human face living body detection method based on visible light and near-infrared binocular camera
CN103945045A (en) Method and device for data processing
WO2008098235A3 (en) System and method for providing simulated images through cosmetic monitoring
CN101587586A (en) Device and method for processing images
CN109509255A (en) A kind of labeling map structuring and space map updating method and device
CN108848367A (en) A kind of method, device and mobile terminal of image procossing
CN103984942A (en) Object recognition method and mobile terminal
WO2021139764A1 (en) Method and device for image processing, electronic device, and storage medium
CN107295260A (en) A kind of method, photo taking and photo camera for smart machine
CN106385532A (en) 3D real-time imaging method
CN106056532B (en) Method and device for removing background image
CN105975172A (en) Method and device for adjustment of panoramic video and mobile terminal
CN112700568B (en) Identity authentication method, equipment and computer readable storage medium
CN106447734A (en) Intelligent mobile phone camera calibration algorithm adopting human face calibration object
CN110852356B (en) Method for extracting V-SLAM dynamic threshold image feature points of mobile robot
CN105447841B (en) Image matching method and method for processing video frequency
CN109314774A (en) System and method for three-dimensional imaging
CN115063485A (en) Three-dimensional reconstruction method, device and computer-readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20170504

Address after: 100000 Beijing city Haidian District Xizhimen village on No. 3 Beijing Jiaotong University

Applicant after: Yang Lixin

Applicant after: Zhou Jianjun

Applicant after: Li Yundan

Applicant after: Lu Taijin

Address before: 100000 Beijing city Haidian District Xizhimen village on No. 3 Beijing Jiaotong University

Applicant before: Yang Lixin

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170208