CN109167992A - A kind of image processing method and device - Google Patents

A kind of image processing method and device Download PDF

Info

Publication number
CN109167992A
CN109167992A CN201810895922.1A CN201810895922A CN109167992A CN 109167992 A CN109167992 A CN 109167992A CN 201810895922 A CN201810895922 A CN 201810895922A CN 109167992 A CN109167992 A CN 109167992A
Authority
CN
China
Prior art keywords
subject
image
visual angle
under
rendering
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
CN201810895922.1A
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201810895922.1A priority Critical patent/CN109167992A/en
Publication of CN109167992A publication Critical patent/CN109167992A/en
Pending legal-status Critical Current

Links

Classifications

    • G06T3/06
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • G06T2207/10012Stereo images

Abstract

The present invention provides a kind of image processing method and device, there is technical issues that electronic equipment can not obtain subject under non-front viewing angle for solving the prior art.Method includes: the first 2D image obtained subject under the first visual angle, the spatial information of the subject;According to the first 2D image, the spatial information, first 3D rendering of the subject under first visual angle is obtained;It determines the first angle for needing to rotate and first direction, first 3D rendering is rotated according to the first angle toward the first direction, first 3D rendering of the subject under the second visual angle is obtained;Forward projection is carried out to first 3D rendering under second visual angle, obtains the first forward projection figure, and first forward projection is schemed into the 2nd 2D image as the subject under second visual angle.

Description

A kind of image processing method and device
Technical field
The present invention relates to electronic technology field, in particular to a kind of image processing method and device.
Background technique
In the prior art, user, can only when being taken pictures using electronic equipments such as mobile phone, tablet computers for subject Enough obtain image of the subject under electronic equipment front viewing angle.But in daily life, user is frequently present of acquisition quilt Reference object overlooks, looks up etc. the demand of the image of non-positive angle in electronic equipment, but based on current shooting technology, nothing Method realizes this function.Therefore, there are electronic equipments can not obtain image of the subject under non-front viewing angle for the prior art The technical issues of.
Summary of the invention
The embodiment of the present invention provides a kind of image processing method and device, for solve the prior art there are electronic equipment without Method obtains the technical issues of image of the subject under non-front viewing angle.
In a first aspect, the embodiment of the present invention provides a kind of image processing method, comprising:
Obtain the spatial information of first 2D image of the subject under the first visual angle, the subject;
According to the first 2D image, the spatial information, the subject is obtained under first visual angle First 3D rendering;
It determines and needs the first angle that rotates and first direction, by first 3D rendering according to the first angle toward institute It states first direction to be rotated, obtains first 3D rendering of the subject under the second visual angle;
Forward projection is carried out to first 3D rendering under second visual angle, obtains the first forward projection figure, and will First forward projection schemes the 2nd 2D image as the subject under second visual angle.
In the above scheme, electronic equipment is obtaining 2D image and subject of the subject under the first visual angle Spatial information after, be taken according to the spatial information of 2D image, subject under the first visual angle of subject 3D rendering of the object under the first visual angle, then again rotates 3D rendering, and carries out positive throwing to postrotational 3D rendering Shadow can be obtained the 2D image under the second visual angle of subject.In this scenario, electronic equipment need to only execute primary shooting behaviour Make, can obtain subject under front viewing angle i.e. the first visual angle 2D image and non-front viewing angle i.e. the second visual angle under 2D image, solving the prior art, there are the skills that electronic equipment can not obtain image of the subject under non-front viewing angle Art problem can meet user well and obtain the image that subject overlooked, looks up etc. non-positive angle in electronic equipment Demand, improve user experience.
Optionally, the spatial information includes location information, shape information and the size information of the subject.
Optionally, the spatial information of the subject is obtained, comprising: emit infrared light to the subject Or low-frequency electromagnetic wave;Receive the infrared light or low-frequency electromagnetic wave of the subject reflection;According to the subject The infrared light or low-frequency electromagnetic wave of reflection, determine the spatial information of the subject.
Present embodiment, by the sky for emitting infrared light or low-frequency electromagnetic wave acquisition subject to subject Between information, ensure that obtain spatial information timeliness and accuracy.
Optionally, by first forward projection figure as the subject under second visual angle second Before 2D image, further includes: according to the color information of the first 2D image, include the subject other images Color information, to first forward projection scheme carry out color compensation.
Present embodiment, according to the color information of the first 2D image and include the subject other images Color information the first forward projection is schemed to carry out color compensation so that the 2nd 2D image finally obtained is closer to being taken pair As the color character actually presented under depression angle, the accuracy of image processing method is improved, user experience is improved.
Optionally, by first forward projection figure as the subject under second visual angle second Before 2D image, further includes:
According to first forward projection figure, the spatial information of the subject, obtains the subject and exist The second 3D rendering under second visual angle;By second 3D rendering according to the first angle toward the phase of the first direction Opposite direction is rotated, and second 3D rendering of the subject under first visual angle is obtained;At first visual angle Under to second 3D rendering carry out forward projection, obtain the second forward projection figure;Calculate the first 2D image and described The similarity of two forward projection's figures determines that the similarity reaches preset value.
Present embodiment schemes the first forward projection to carry out 3D synthesis, rotation and projection process, is reverted to first Similarity-rough set is carried out with the first 2D image under initially the first visual angle for actually obtaining under visual angle, is determining that similarity reaches default When value, first forward projection's figure is just determined as twoth 2D image of the subject under second visual angle, into one Step improves the accuracy of the image processing method, improves user experience.
Optionally, if the similarity is not up to preset value, the method also includes: it is taken described in reacquisition pair The spatial information of elephant;According to the first 2D image, the spatial information of the subject of reacquisition, institute is recalculated State 2D image of the subject under second visual angle.
Present embodiment, when determining that the similarity of the first 2D image and second forward projection's figure is not up to preset value, weight The new spatial information for obtaining subject calculates 2D image of the subject under the second visual angle, further perfect image Processing scheme improves user experience.
Optionally, the subject is being obtained after the first 3D rendering under first visual angle, further includes: really The second angle and second direction for needing to rotate calmly, by first 3D rendering according to the second angle toward the second direction It is rotated, obtains third 3D rendering of the subject under third visual angle;To described under the third visual angle Three 3D renderings carry out forward projection, obtain third forward projection figure, and will be taken described in third forward projection figure conduct Threeth 2D image of the object under the third visual angle;According to the selection operation that user inputs, show the 2nd 2D image and/ Or the 3rd 2D image.
By present embodiment, it can be generated and be taken pair based on the first 2D image of the subject under the first visual angle As the 2D image under other multiple visual angles, user can select needs from the 2D image under these multiple and different visual angles 2D image, improves user experience.
Second aspect, the embodiment of the present invention provide a kind of image processing apparatus, comprising: obtain module, clapped for obtaining Take the photograph the spatial information of first 2D image of the object under the first visual angle, the subject;The spatial information includes described Location information, shape information and the size information of subject;Processing module, for according to the first 2D image, institute Spatial information is stated, first 3D rendering of the subject under first visual angle is obtained;Determine need to rotate first Angle and first direction rotate first 3D rendering according to the first angle toward the first direction, obtain institute State first 3D rendering of the subject under the second visual angle;First 3D rendering is carried out under second visual angle positive Projection obtains the first forward projection figure, and first forward projection is schemed as the subject in second view The 2nd 2D image under angle.
Optionally, the acquisition module is used for: emitting infrared light or low-frequency electromagnetic wave to the subject;It receives The infrared light or low-frequency electromagnetic wave of the subject reflection;The infrared light or low reflected according to the subject Frequency electromagnetic waves determine the spatial information of the subject.
Optionally, the processing module is also used to: first forward projection is being schemed to exist as the subject Before the 2nd 2D image under second visual angle, according to the color information of the first 2D image, include described be taken The color information of other images of object schemes first forward projection to carry out color compensation.
Optionally, the processing module is also used to: first forward projection is being schemed to exist as the subject Before the 2nd 2D image under second visual angle, believed according to the space of first forward projection figure, the subject Breath, obtains second 3D rendering of the subject under second visual angle;By second 3D rendering according to described The opposite direction of one angle toward the first direction is rotated, and of the subject under first visual angle is obtained Two 3D renderings;Forward projection is carried out to second 3D rendering under first visual angle, obtains the second forward projection figure;It calculates The similarity of the first 2D image and second forward projection figure determines that the similarity reaches preset value.
Optionally, the acquisition module is also used to: when the similarity is not up to preset value, reacquiring described clapped Take the photograph the spatial information of object;The processing module is also used to: according to the first 2D image, reacquire described in be taken pair The spatial information of elephant recalculates 2D image of the subject under second visual angle.
Optionally, the spatial information includes location information, shape information and the size information of the subject.
Optionally, the processing module is also used to: obtaining first of the subject under first visual angle After 3D rendering, the second angle and second direction for needing to rotate are determined, by first 3D rendering according to the second angle It is rotated toward the second direction, obtains third 3D rendering of the subject under third visual angle;In the third Forward projection is carried out to the third 3D rendering under visual angle, obtains third forward projection figure, and the third forward projection is schemed As threeth 2D image of the subject under the third visual angle;According to the selection operation that user inputs, institute is shown State the 2nd 2D image and/or the 3rd 2D image.
The third aspect, the embodiment of the present invention provide a kind of image processing equipment, comprising: at least one processor, Yi Jiyu The memory of at least one processor communication connection;Wherein, the memory be stored with can by it is described at least one processing The instruction that device executes, at least one described processor is by executing the instruction execution embodiment of the present invention the of memory storage Method described in any optional embodiment of one side or first aspect.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, the computer-readable storage medium Matter is stored with computer instruction, when the computer instruction is run on computers, so that computer executes the present invention and implements Method described in any optional embodiment of example first aspect or first aspect.
The one or more technical solutions provided in the embodiment of the present invention, have at least the following technical effects or advantages:
Electronic equipment is obtaining subject after the spatial information of 2D image and subject under the first visual angle, Subject is obtained at the first visual angle according to the spatial information of 2D image, subject under the first visual angle of subject Under 3D rendering, then 3D rendering is rotated again, and to postrotational 3D rendering carry out forward projection, can be obtained and clapped Take the photograph the 2D image under the second visual angle of object.In this scenario, as soon as electronic equipment need to only execute time shooting operation, it can obtain and be clapped Object is taken the photograph in the 2D image under front viewing angle i.e. the first visual angle and the 2D image under non-front viewing angle i.e. the second visual angle, is solved The prior art there is technical issues that electronic equipment can not obtain subject under non-front viewing angle, can be fine Ground meets user and obtains the demand that subject overlooked, looks up etc. the image of non-positive angle in electronic equipment, improves use Family experience.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this For the those of ordinary skill in field, without any creative labor, it can also be obtained according to these attached drawings His attached drawing.
Fig. 1 is the flow diagram of image processing method in the embodiment of the present invention;
Fig. 2 is the structural schematic diagram of image processing apparatus in the embodiment of the present invention;
Fig. 3 is the structural schematic diagram of image processing equipment in the embodiment of the present invention.
Specific embodiment
Technical solution of the present invention is described in detail below by attached drawing and specific embodiment, it should be understood that the present invention Specific features in embodiment and embodiment are the detailed description to technical solution of the present invention, rather than to the technology of the present invention The restriction of scheme, in the absence of conflict, the technical characteristic in the embodiment of the present invention and embodiment can be combined with each other.
It is to be appreciated that in the description of the embodiment of the present invention, the vocabulary such as " first ", " second " are only used for distinguishing and retouch The purpose stated, is not understood to indicate or imply relative importance, can not be interpreted as indication or suggestion sequence.In the present invention In the description of embodiment " multiple ", refer to two or more.
Term "and/or" in the embodiment of the present invention, a kind of only incidence relation for describing affiliated partner, expression can be with There are three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three feelings of individualism B Condition.In addition, character "/" herein, typicallys represent the relationship that forward-backward correlation object is a kind of "or".
The embodiment of the present invention provides a kind of method of image procossing, and for solving the prior art, there are electronic equipments to obtain The technical issues of taking image of the subject under non-front viewing angle.Wherein, the equipment for executing this method can be mobile phone, put down Any electronics with computing capability such as plate computer, laptop, server, wearable device, audio/video playback equipment The electronic apparatus system of equipment or multiple such electronic equipment compositions, the embodiment of the present invention are not particularly limited.Referring to figure 1, the detailed process of this method includes:
S101: the spatial information of first 2D image of the subject under the first visual angle, the subject is obtained;
Specifically, electronic equipment is when shooting subject, while emitting infrared light or low-frequency electromagnetic wave, it is taken Object will reflective portion infrared ray or low-frequency electromagnetic wave, electronic equipment receive subject reflection infrared light or low After frequency electromagnetic waves, space orientation can be carried out to subject by software algorithm, determine the space letter of subject Breath, such as location information, shape information and size information of subject etc..
S102: according to the first 2D image, the spatial information, the subject is obtained at first visual angle Under the first 3D rendering;
S103: the first angle for needing to rotate and first direction are determined, by first 3D rendering according to described first jiao It spends toward the first direction and is rotated, obtain first 3D rendering of the subject under the second visual angle;
In the specific implementation process, electronic equipment can determine need to rotate the according to preset angle and direction One angle and first direction, for example, electronic equipment default first angle is 30 degree, first direction is electronic equipment shooting direction Surface;Electronic equipment can also determine the first angle for needing to rotate and first direction according to the instruction of user, for example, receiving The parameter information for the angle and direction that the instruction that user inputs on electronic equipment interactive interface needs to rotate, the embodiment of the present invention This is not particularly limited.
S104: carrying out forward projection to first 3D rendering under second visual angle, obtains the first forward projection figure, And first forward projection is schemed into the 2nd 2D image as the subject under second visual angle.
In the above scheme, electronic equipment is obtaining 2D image and subject of the subject under the first visual angle Spatial information after, be taken according to the spatial information of 2D image, subject under the first visual angle of subject 3D rendering of the object under the first visual angle, then again rotates 3D rendering, and carries out positive throwing to postrotational 3D rendering Shadow can be obtained the 2D image under the second visual angle of subject.In this scenario, electronic equipment need to only execute primary shooting behaviour Make, can obtain subject under front viewing angle i.e. the first visual angle 2D image and non-front viewing angle i.e. the second visual angle under 2D image, solving the prior art, there are the skills that electronic equipment can not obtain image of the subject under non-front viewing angle Art problem can meet user well and obtain the image that subject overlooked, looks up etc. non-positive angle in electronic equipment Demand, improve user experience.
Optionally, by first forward projection figure as the subject under second visual angle second Before 2D image, the method also includes:
First forward projection is schemed according to the color information of the first 2D image and pre-stored color information Carry out color compensation.
Saved specifically, be stored with an image data base in electronic equipment, in the image data base magnanimity environmental color, The collocation informations such as scenery color and personage's color, after obtaining first forward projection's figure, for the color of the first 2D image Information calls the color datas such as the environment saved in database and portrait, is based on software algorithm, and matching obtains subject and exists Color information under second visual angle enters the color information supplement that first forward projection's figure lacks.
It, in the specific implementation process, can be according to the first 2D image in order to further increase the accuracy of color compensation Color information, include the subject other images color information, to first forward projection scheme carry out Color compensation.
In the specific implementation process, above-mentioned image data base has the function of that self is supplemented, when user usually takes pictures, the number The photographic intelligence of user's shooting can be obtained automatically according to library, extract environmental color, the personage's color of shooting places in photographic intelligence Etc. contents, will after these information extractions storage into data, improve the color data in supplementary data library.When user is shooting newly When photo, the subject in the photo newly shot is determined, then call from several libraries other comprising the subject The color information of image, then in conjunction with the color information of the first 2D image, to the color of first forward projection figure missing into Row compensation.
Present embodiment carries out color compensation by scheming to the first forward projection, so that the 2nd 2D image finally obtained is more The color character actually presented under depression angle close to subject improves the accuracy of image processing method, improves User experience.
Optionally, by first forward projection figure as the subject under second visual angle second Before 2D image, further includes:
According to first forward projection figure, the spatial information of the subject, obtains the subject and exist The second 3D rendering under second visual angle;By second 3D rendering according to the first angle toward the phase of the first direction Opposite direction is rotated, and second 3D rendering of the subject under first visual angle is obtained;At first visual angle Under to second 3D rendering carry out forward projection, obtain the second forward projection figure;Calculate the first 2D image and described The similarity of two forward projection's figures determines that the similarity reaches preset value.
In the specific implementation process, the calculating for calculating similarity can be the similarity or color for calculating shape contour Similarity or the similarity that integrally combines of shape contour and color, the embodiment of the present invention be not particularly limited.Such as: Determine the contour convergence degree of subject in subject and second forward projection's figure in the first 2D image, if it exceeds 90%, then by verification, determines and scheme first forward projection as the subject under second visual angle 2nd 2D image.Another example is: determining the wheel of subject in subject and second forward projection's figure in the first 2D image Wide registration and color registration degree, if, by verification, determining both more than 90% and scheming to make by first forward projection For twoth 2D image of the subject under second visual angle.
Further, if the similarity of the first 2D image and second forward projection figure is not up to described preset Value, then the method can further include: reacquire the spatial information of the subject;According to the first 2D Image, reacquisition the subject spatial information, recalculate the subject at second visual angle Under 2D image user experience is improved with this further sophisticated image processing scheme.
Present embodiment carries out 3D synthesis, rotation and projection process by scheming to the first forward projection, is reverted to Similarity-rough set is carried out with the first 2D image under initially the first visual angle for actually obtaining under first visual angle, is determining that similarity reaches When preset value, first forward projection's figure is just determined as twoth 2D image of the subject under second visual angle, The accuracy of the image processing method is further improved, user experience is improved.
Optionally, in the specific implementation process, electronic equipment can execute multiple step S102-S104, be clapped to obtain 2D image of the object under multiple and different visual angles is taken the photograph, user can select from the 2D image under these multiple and different visual angles to be needed The 2D image wanted.
For example, obtaining the subject after the first 3D rendering under first visual angle, while determining need to The second angle and second direction to be rotated carry out first 3D rendering according to the second angle toward the second direction Rotation, obtains third 3D rendering of the subject under third visual angle;To the 3rd 3D under the third visual angle Image carries out forward projection, obtains third forward projection figure, and the third forward projection is schemed to be used as the subject The 3rd 2D image under the third visual angle;According to the selection operation that user inputs, the 2nd 2D image and/or institute are shown State the 3rd 2D image.
By present embodiment, it can be generated and be taken pair based on the first 2D image of the subject under the first visual angle As the 2D image under other multiple visual angles, user can select needs from the 2D image under these multiple and different visual angles 2D image, further improves user experience.
Based on the same inventive concept, the embodiment of the present invention also provides a kind of image processing apparatus, referring to Fig. 2, comprising:
Module 201 is obtained, for obtaining first 2D image, the subject of the subject under the first visual angle Spatial information;The spatial information includes location information, shape information and the size information of the subject;
Processing module 202, for obtaining the subject and existing according to the first 2D image, the spatial information The first 3D rendering under first visual angle;The first angle for needing to rotate and first direction are determined, by first 3D rendering It is rotated according to the first angle toward the first direction, obtains first 3D of the subject under the second visual angle Image;Forward projection is carried out to first 3D rendering under second visual angle, obtains the first forward projection figure, and will be described First forward projection schemes the 2nd 2D image as the subject under second visual angle.
Optionally, the acquisition module 201 is used for:
Emit infrared light or low-frequency electromagnetic wave to the subject;Receive the infrared of the subject reflection Light or low-frequency electromagnetic wave;
According to the infrared light or low-frequency electromagnetic wave of subject reflection, the space of the subject is determined Information.
Optionally, the processing module 202 is also used to:
First forward projection is being schemed to the 2nd 2D image as the subject under second visual angle Before, according to the color information of the first 2D image, include the subject other images color information, it is right The first forward projection figure carries out color compensation.
Optionally, the processing module 202 is also used to:
First forward projection is being schemed to the 2nd 2D image as the subject under second visual angle Before, according to first forward projection figure, the spatial information of the subject, the subject is obtained described The second 3D rendering under second visual angle;
Second 3D rendering is rotated according to the opposite direction of the first angle toward the first direction, is obtained Second 3D rendering of the subject under first visual angle;
Forward projection is carried out to second 3D rendering under first visual angle, obtains the second forward projection figure;
The similarity for calculating the first 2D image and second forward projection figure determines that the similarity reaches default Value.
Optionally, the acquisition module 201 is also used to:
When the similarity is not up to preset value, the spatial information of the subject is reacquired;
The processing module 202 is also used to: according to the first 2D image, the sky of the subject of reacquisition Between information, recalculate 2D image of the subject under second visual angle.
Optionally, the spatial information includes location information, shape information and the size information of the subject.
Optionally, the processing module 202 is also used to: obtaining the of the subject under first visual angle After one 3D rendering, the second angle and second direction for needing to rotate are determined, by first 3D rendering according to described second jiao It spends toward the second direction and is rotated, obtain third 3D rendering of the subject under third visual angle;Described Forward projection is carried out to the third 3D rendering under three visual angles, obtains third forward projection figure, and by the third forward projection Scheme the 3rd 2D image as the subject under the third visual angle;According to the selection operation that user inputs, display The 2nd 2D image and/or the 3rd 2D image.
The performed specific implementation operated of the above each unit is referred to the above-mentioned image processing method of the embodiment of the present invention The specific implementation of step is corresponded in method, the embodiment of the present invention repeats no more.
Based on the same inventive concept, the embodiment of the present invention also provides a kind of image processing equipment, referring to Fig. 3, comprising:
At least one processor 301, and
With the memory 302 of at least one described processor 301 communication connection;
Wherein, the memory 302 is stored with the instruction that can be executed by least one described processor 301, it is described at least The above-mentioned image processing method of the instruction execution embodiment of the present invention that one processor 301 is stored by executing the memory 302.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, the computer-readable storage medium Matter is stored with computer instruction, when the computer instruction is run on computers, so that computer executes the present invention and implements The above-mentioned image processing method of example.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (16)

1. a kind of image processing method characterized by comprising
Obtain the spatial information of first 2D image of the subject under the first visual angle, the subject;
According to the first 2D image, the spatial information, first of the subject under first visual angle is obtained 3D rendering;
It determines and needs the first angle that rotates and first direction, by first 3D rendering according to the first angle toward described the One direction is rotated, and first 3D rendering of the subject under the second visual angle is obtained;
Forward projection is carried out to first 3D rendering under second visual angle, obtains the first forward projection figure, and will be described First forward projection schemes the 2nd 2D image as the subject under second visual angle.
2. the method as described in claim 1, which is characterized in that obtain the spatial information of the subject, comprising:
Emit infrared light or low-frequency electromagnetic wave to the subject;
Receive the infrared light or low-frequency electromagnetic wave of the subject reflection;
According to the infrared light or low-frequency electromagnetic wave of subject reflection, the space letter of the subject is determined Breath.
3. the method as described in claim 1, which is characterized in that be taken pair described in be used as first forward projection figure As before the 2nd 2D image under second visual angle, further includes:
According to the color information of the first 2D image, include the subject other images color information, it is right The first forward projection figure carries out color compensation.
4. the method as described in claim 1, which is characterized in that be taken pair described in be used as first forward projection figure As before the 2nd 2D image under second visual angle, further includes:
According to first forward projection figure, the spatial information of the subject, the subject is obtained described The second 3D rendering under second visual angle;
Second 3D rendering is rotated according to the opposite direction of the first angle toward the first direction, described in acquisition Second 3D rendering of the subject under first visual angle;
Forward projection is carried out to second 3D rendering under first visual angle, obtains the second forward projection figure;
The similarity for calculating the first 2D image and second forward projection figure determines that the similarity reaches preset value.
5. method as claimed in claim 4, which is characterized in that if the similarity is not up to preset value, the method is also Include:
Reacquire the spatial information of the subject;
According to the first 2D image, the spatial information of the subject of reacquisition, described be taken is recalculated 2D image of the object under second visual angle.
6. the method as described in claim 1, which is characterized in that the spatial information includes the position letter of the subject Breath, shape information and size information.
7. the method as described in claim 1, which is characterized in that obtaining the subject under first visual angle After first 3D rendering, further includes:
It determines and needs the second angle and second direction that rotate, by first 3D rendering according to the second angle toward described the Two directions are rotated, and third 3D rendering of the subject under third visual angle is obtained;
Forward projection is carried out to the third 3D rendering under the third visual angle, obtains third forward projection figure, and will be described Third forward projection schemes the 3rd 2D image as the subject under the third visual angle;
According to the selection operation that user inputs, the 2nd 2D image and/or the 3rd 2D image are shown.
8. a kind of image processing apparatus characterized by comprising
Module is obtained, for obtaining the space of first 2D image of the subject under the first visual angle, the subject Information;
Processing module, for obtaining the subject described first according to the first 2D image, the spatial information The first 3D rendering under visual angle;The first angle for needing to rotate and first direction are determined, by first 3D rendering according to described First angle is rotated toward the first direction, obtains first 3D rendering of the subject under the second visual angle;? Forward projection is carried out to first 3D rendering under second visual angle, obtains the first forward projection figure, and just by described first The 2nd 2D image to perspective view as the subject under second visual angle.
9. device as claimed in claim 8, which is characterized in that the acquisition module is used for:
Emit infrared light or low-frequency electromagnetic wave to the subject;
Receive the infrared light or low-frequency electromagnetic wave of the subject reflection;
According to the infrared light or low-frequency electromagnetic wave of subject reflection, the space letter of the subject is determined Breath.
10. device as claimed in claim 8, which is characterized in that the processing module is also used to:
Scheme as the subject before the 2nd 2D image under second visual angle by first forward projection, According to the color information of the first 2D image, include the subject other images color information, to described First forward projection figure carries out color compensation.
11. device as claimed in claim 8, which is characterized in that the processing module is also used to:
Scheme as the subject before the 2nd 2D image under second visual angle by first forward projection, According to first forward projection figure, the spatial information of the subject, the subject is obtained described second The second 3D rendering under visual angle;
Second 3D rendering is rotated according to the opposite direction of the first angle toward the first direction, described in acquisition Second 3D rendering of the subject under first visual angle;
Forward projection is carried out to second 3D rendering under first visual angle, obtains the second forward projection figure;
The similarity for calculating the first 2D image and second forward projection figure determines that the similarity reaches preset value.
12. device as claimed in claim 11, which is characterized in that the acquisition module is also used to:
When the similarity is not up to preset value, the spatial information of the subject is reacquired;
The processing module is also used to: according to the first 2D image, the spatial information of the subject of reacquisition, Recalculate 2D image of the subject under second visual angle.
13. device as claimed in claim 8, which is characterized in that the spatial information includes the position of the subject Information, shape information and size information.
14. device as claimed in claim 8, which is characterized in that the processing module is also used to:
The subject is being obtained after the first 3D rendering under first visual angle, is determining second jiao for needing to rotate Degree and second direction, first 3D rendering are rotated according to the second angle toward the second direction, described in acquisition Third 3D rendering of the subject under third visual angle;
Forward projection is carried out to the third 3D rendering under the third visual angle, obtains third forward projection figure, and will be described Third forward projection schemes the 3rd 2D image as the subject under the third visual angle;
According to the selection operation that user inputs, the 2nd 2D image and/or the 3rd 2D image are shown.
15. a kind of image processing equipment characterized by comprising
At least one processor, and
The memory being connect at least one described processor communication;
Wherein, the memory is stored with the instruction that can be executed by least one described processor, at least one described processor By the instruction execution method of any of claims 1-7 for executing the memory storage.
16. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer to refer to It enables, when described instruction is run on computers, so that computer executes the side as described in claim any in claim 1-7 Method.
CN201810895922.1A 2018-08-08 2018-08-08 A kind of image processing method and device Pending CN109167992A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810895922.1A CN109167992A (en) 2018-08-08 2018-08-08 A kind of image processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810895922.1A CN109167992A (en) 2018-08-08 2018-08-08 A kind of image processing method and device

Publications (1)

Publication Number Publication Date
CN109167992A true CN109167992A (en) 2019-01-08

Family

ID=64895143

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810895922.1A Pending CN109167992A (en) 2018-08-08 2018-08-08 A kind of image processing method and device

Country Status (1)

Country Link
CN (1) CN109167992A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113301242A (en) * 2020-02-21 2021-08-24 中兴通讯股份有限公司 Photographing method, terminal, and computer-readable storage medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09289600A (en) * 1996-04-23 1997-11-04 Minolta Co Ltd Digital camera
JPH09287913A (en) * 1996-04-19 1997-11-04 Matsushita Electric Ind Co Ltd Apparatus for detecting position of object, method for detecting human body
JP2001177716A (en) * 1999-12-17 2001-06-29 Ricoh Co Ltd Image processing method and image processor
JP2005038021A (en) * 2003-07-15 2005-02-10 Ricoh Co Ltd Image processing apparatus, image input device, image processing method and program for executing the method by computer
CN101917248A (en) * 2010-07-20 2010-12-15 北京全路通信信号研究设计院 Method, device and system for processing train control message
US20110273559A1 (en) * 2007-08-29 2011-11-10 Satoshi Yagitani Electromagnetic field space distribution visualizing device, electromagnetic field space distribution visualizing method, and program thereof
CN102737405A (en) * 2011-03-31 2012-10-17 索尼公司 Image processing apparatus, image processing method, and program
CN102927909A (en) * 2012-11-05 2013-02-13 河南理工大学 Laser beam fast automatic positioning tracking measurement method and device
CN103179322A (en) * 2011-12-20 2013-06-26 联想(北京)有限公司 Image color correction method and electronic device
CN103299346A (en) * 2010-12-15 2013-09-11 皇家飞利浦电子股份有限公司 System and method for generating and displaying a 2d projection from a 3d or 4d dataset
CN104270627A (en) * 2014-09-28 2015-01-07 联想(北京)有限公司 Information processing method and first electronic equipment
CN104523286A (en) * 2014-12-23 2015-04-22 苏州联科盛世科技有限公司 RF medical imaging device and method
CN105379264A (en) * 2013-07-02 2016-03-02 盖伊·马丁 System and method for imaging device modelling and calibration
CN106096351A (en) * 2016-06-17 2016-11-09 宇龙计算机通信科技(深圳)有限公司 A kind of mobile terminal unlocking method, device and mobile terminal

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09287913A (en) * 1996-04-19 1997-11-04 Matsushita Electric Ind Co Ltd Apparatus for detecting position of object, method for detecting human body
JPH09289600A (en) * 1996-04-23 1997-11-04 Minolta Co Ltd Digital camera
JP2001177716A (en) * 1999-12-17 2001-06-29 Ricoh Co Ltd Image processing method and image processor
JP2005038021A (en) * 2003-07-15 2005-02-10 Ricoh Co Ltd Image processing apparatus, image input device, image processing method and program for executing the method by computer
US20110273559A1 (en) * 2007-08-29 2011-11-10 Satoshi Yagitani Electromagnetic field space distribution visualizing device, electromagnetic field space distribution visualizing method, and program thereof
CN101917248A (en) * 2010-07-20 2010-12-15 北京全路通信信号研究设计院 Method, device and system for processing train control message
CN103299346A (en) * 2010-12-15 2013-09-11 皇家飞利浦电子股份有限公司 System and method for generating and displaying a 2d projection from a 3d or 4d dataset
CN102737405A (en) * 2011-03-31 2012-10-17 索尼公司 Image processing apparatus, image processing method, and program
CN103179322A (en) * 2011-12-20 2013-06-26 联想(北京)有限公司 Image color correction method and electronic device
CN102927909A (en) * 2012-11-05 2013-02-13 河南理工大学 Laser beam fast automatic positioning tracking measurement method and device
CN105379264A (en) * 2013-07-02 2016-03-02 盖伊·马丁 System and method for imaging device modelling and calibration
CN104270627A (en) * 2014-09-28 2015-01-07 联想(北京)有限公司 Information processing method and first electronic equipment
CN104523286A (en) * 2014-12-23 2015-04-22 苏州联科盛世科技有限公司 RF medical imaging device and method
CN106096351A (en) * 2016-06-17 2016-11-09 宇龙计算机通信科技(深圳)有限公司 A kind of mobile terminal unlocking method, device and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113301242A (en) * 2020-02-21 2021-08-24 中兴通讯股份有限公司 Photographing method, terminal, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
US20200066026A1 (en) Fusing, texturing, and rendering views of dynamic three-dimensional models
US10573060B1 (en) Controller binding in virtual domes
US9164723B2 (en) Virtual lens-rendering for augmented reality lens
US20120162384A1 (en) Three-Dimensional Collaboration
JP2016522485A (en) Hidden reality effect and intermediary reality effect from reconstruction
US10171785B2 (en) Color balancing based on reference points
CN112073748B (en) Panoramic video processing method and device and storage medium
KR20140082610A (en) Method and apaaratus for augmented exhibition contents in portable terminal
CN112312111A (en) Virtual image display method and device, electronic equipment and storage medium
US20160148429A1 (en) Depth and Chroma Information Based Coalescence of Real World and Virtual World Images
KR102197615B1 (en) Method of providing augmented reality service and server for the providing augmented reality service
CN108876900A (en) A kind of virtual target projective techniques merged with reality scene and system
CN109688343A (en) The implementation method and device of augmented reality studio
CN116057577A (en) Map for augmented reality
CN111833403A (en) Method and apparatus for spatial localization
US20170103562A1 (en) Systems and methods for arranging scenes of animated content to stimulate three-dimensionality
US10740957B1 (en) Dynamic split screen
CN114399610A (en) Texture mapping system and method based on guide prior
CN112511815B (en) Image or video generation method and device
CN109167992A (en) A kind of image processing method and device
CN111773706A (en) Rendering method and device of game scene
CN110378948B (en) 3D model reconstruction method and device and electronic equipment
US10719124B2 (en) Tracking system, tracking method for real-time rendering an image and non-transitory computer-readable medium
CN109636917B (en) Three-dimensional model generation method, device and hardware device
CN110363860B (en) 3D model reconstruction method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190108

RJ01 Rejection of invention patent application after publication