CN104038700A - Picture taking method and device - Google Patents

Picture taking method and device Download PDF

Info

Publication number
CN104038700A
CN104038700A CN201410301712.7A CN201410301712A CN104038700A CN 104038700 A CN104038700 A CN 104038700A CN 201410301712 A CN201410301712 A CN 201410301712A CN 104038700 A CN104038700 A CN 104038700A
Authority
CN
China
Prior art keywords
background
area
profile
photo
background area
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.)
Granted
Application number
CN201410301712.7A
Other languages
Chinese (zh)
Other versions
CN104038700B (en
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.)
TCL Corp
Original Assignee
TCL Corp
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 TCL Corp filed Critical TCL Corp
Priority to CN201410301712.7A priority Critical patent/CN104038700B/en
Publication of CN104038700A publication Critical patent/CN104038700A/en
Application granted granted Critical
Publication of CN104038700B publication Critical patent/CN104038700B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)
  • Studio Circuits (AREA)

Abstract

The invention suitable for the field of image processing and provides a picture taking method and device. The method comprises the steps that a picture obtained through last time picture taking is obtained; the obtained picture is processed, and the picture with a foreground region removed and a remaining background region is obtained; semi-transparent processing is carried out on the picture with the remaining background region, a semi-transparent background region is obtained, and the semi-transparent background region and a current scenery background region which are superposed are displayed in a display window; the angle of a camera is adjusted, and the scenery background region and the semi-transparent background region are made to be at least partially superposed. The picture taking method and device can improve the accuracy of comparison of people or objects in different times.

Description

A kind of photographic method and device
Technical field
The invention belongs to image processing field, relate in particular to a kind of photographic method and device.
Background technology
Along with the development of electronic technology, increasing smart machine also possesses camera function, as mobile phone, PAD etc., user can be taken a picture at any time.At present, user, when taking a picture, usually wishes that in same place (being the background area of photo) record the people of different times or the image of thing (being the foreground area of photo), to compare the people of different times, the variation of thing.
In existing photographic method, user takes a picture after normally finding last approximate location of taking a picture again.But when user takes a picture again, the background area of the photograph that photograph obtains again tends to the phenomenons such as existence varies in size, skew with the background area of the photograph that last photograph obtains, thereby causes being difficult to accurately comparing the variation that people or thing occur.
Summary of the invention
The embodiment of the present invention provides a kind of photographic method and device, is intended to solve the problem that existing method is difficult to the variation that accurately relatively people or thing occur.
The embodiment of the present invention is achieved in that a kind of photographic method, and described method comprises the steps:
Obtain the photo that the last time takes pictures and obtain;
The photo obtaining is processed, obtained removing foreground area, only the photo of remaining background area;
The photo of described remaining background area is carried out to translucent processing, obtain translucent background area, at display window, show the described translucent background area of stack mutually and the background area of current outdoor scene;
Angle to camera is adjusted, and makes the background area of outdoor scene and described semitransparent background region overlapping at least partly.
Another object of the embodiment of the present invention is to provide a kind of camera arrangement, and described device comprises:
The acquiring unit of having taken a picture, for obtaining the photo that the last time takes pictures and obtain;
Picture processing unit, for the photo obtaining is processed, obtains removing foreground area, only the photo of remaining background area;
Display window, for the photo of described remaining background area is carried out to translucent processing, obtains translucent background area, shows the described translucent background area of stack mutually and the background area of current outdoor scene;
Camera adjustment unit, adjusts for the angle to camera, makes the background area of outdoor scene and described semitransparent background region overlapping at least partly.
In embodiments of the present invention, owing to having removed foreground area, therefore conveniently compare the background area of acquired background area and outdoor scene, reduce the workload of comparison, improve the speed of comparison, and at least part of when overlapping in the background area of acquired background area and outdoor scene, just point out user to take people or the thing in the foreground area in removing, thereby be convenient to the more current people who takes pictures or thing and the last people who takes pictures in this place or the similarities and differences of thing, improve the accuracy that compares people or thing.
Accompanying drawing explanation
Fig. 1 is the flow chart of a kind of photographic method of providing of a preferred embodiment of the present invention;
Fig. 2 is that the high-frequency signal that provides of a preferred embodiment of the present invention is different in the distribution of foreground area and background area, causes the different schematic diagram of definition of foreground area and background area;
Fig. 3 is the schematic diagram that low frequency signal that a preferred embodiment of the present invention provides is decayed after high pass filter;
Fig. 4 is the schematic diagram that high-frequency signal that a preferred embodiment of the present invention provides is decayed after low pass filter;
Fig. 5 be a preferred embodiment of the present invention provide by high-pass filtering, remove foreground area, the photo schematic diagram of remaining background area only;
After Fig. 6 is the background area in the edge treated photo that provides of a preferred embodiment of the present invention, the profile schematic diagram of all objects that obtain;
Fig. 7 is that the profile by object in Fig. 6 that a preferred embodiment of the present invention provides is divided into polygonal schematic diagram;
Fig. 8 is the schematic diagram of the profile of definite foreground area of providing of a preferred embodiment of the present invention;
Fig. 9 is the structure chart of a kind of camera arrangement of providing of a preferred embodiment of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
In the embodiment of the present invention, obtain the photo that the last time takes pictures and obtain, and the photo obtaining is processed, obtain removing foreground area, the photo of remaining background area only, the photo of described remaining background area is carried out to translucent processing, obtain translucent background area, at display window, show the described translucent background area of stack mutually and the background area of current outdoor scene; Angle to camera is adjusted, and makes the background area of outdoor scene and described semitransparent background region overlapping at least partly.
For technical solutions according to the invention are described, below by specific embodiment, describe.
embodiment mono-:
Fig. 1 shows the flow chart of a kind of photographic method that first embodiment of the invention provides, in the present embodiment, user takes pictures again in the place of taking photo, by by the background area comparison of the background area of photo and outdoor scene, with the position of determining that this is taken pictures, details are as follows:
Step S11, obtains the photo that the last time takes pictures and obtain.
In this step, this last time photo that the photo that obtains is taken pictures and obtained in current place before referring to of taking pictures.If last, take pictures the photo storage that obtains in the memory of this photographing device, from memory, recall this photo; If last, take pictures the photo storage that obtains in other memory devices, need find this photo from these other memory devices, and deposit in the memory of this photographing device, then recall this photo from the memory of this photographing device.
Step S12, processes the photo obtaining, and obtains removing foreground area, only the photo of remaining background area.
Can focus on foreground area owing to taking pictures, therefore in foreground area, have more high-frequency signal, and background area can cause picture gelatinization because of the restriction of lens aperture, high-frequency signal is not obvious, as shown in Figure 2.
In this step, can distinguish foreground area and background area according to the different high-frequency signals of foreground area and background area.
Wherein, when removing foreground area by high pass filter, described the photo obtaining is processed, obtained removing foreground area, only the step of the photo of remaining background area specifically comprises:
A1, the photo obtaining is passed through to high pass filter, processes, obtain prospect value and background value after high pass filter, processes, described prospect value is after high pass filter, processes, to obtain pixel value corresponding to foreground area, and described background value is after high pass filter, processes, to obtain pixel value corresponding to background area.
A2, by the prospect value before the prospect value after high pass filter, processes and background value and high pass filter, processes and background value comparison, obtain foreground area and the background area of photo.
A3, removal foreground area, obtain the only photo of remaining background area.
In above-mentioned steps A1~A3, after high pass filter, processes, prospect value can not decay substantially, and background value can be decayed, referring to Fig. 3, and in Fig. 3, background image gelatinization more after high pass filter of gelatinization originally.Substantially unattenuated after high pass filter according to high frequency value (being prospect value), low frequency value is this rule of meeting decay after high pass filter, compare forward and backward prospect value and the background value of high pass filter, processes, the regional determinations that pad value is many are background area, by the few regional determination of pad value, it is foreground area, then remove the image in foreground area, obtain the Background without prospect.
Wherein, when removing foreground area by low pass filter, described the photo obtaining is processed, obtained removing foreground area, only the step of the photo of remaining background area specifically comprises:
B1, the photo obtaining is processed by low pass filter, obtain prospect value and background value after low pass filter is processed, described prospect value is to obtain pixel value corresponding to foreground area after low pass filter is processed, and described background value is to obtain pixel value corresponding to background area after low pass filter is processed.
Prospect value and background value comparison before B2, the prospect value after low pass filter is processed and background value and low pass filter processing, obtain foreground area and the background area of photo.
B3, removal foreground area, obtain the only photo of remaining background area.
In above-mentioned steps B1~B3, after low pass filter is processed, prospect value can decay, and background value can not be decayed substantially, referring to Fig. 4, and in Fig. 4, the gelatinization that becomes after low pass filter of the people's of foreground area image.According to high frequency value (being prospect value), after low pass filter, can decay, this rule and low frequency value substantially can not decay after low pass filter, relatively low pass filter is processed forward and backward prospect value and background value, the regional determinations that pad value is many are foreground area, by the few regional determination of pad value, it is background area, then remove as shown in Figure 5 the image in foreground area, obtain the Background without prospect.
Step S13, carries out translucent processing to the photo of described remaining background area, obtains translucent background area, at display window, shows the described translucent background area of stack mutually and the background area of current outdoor scene.
Step S14, adjusts the angle of camera, makes the background area of outdoor scene and described semitransparent background region overlapping at least partly.
Wherein, can by manually or smart machine automatically the angle of camera is adjusted.
In described step S14, consider that in background area, some object likely can change, such as tree grow up, leaf increases etc., and reason causes that the background area of outdoor scene and described semitransparent background region can not be completely overlapping, now as long as the overlapped object that other does not change is just passable, so as long as background area and the described semitransparent background region of outdoor scene overlap, just can be considered as the size of two background areas identical and do not have skew, this step specifically comprises:
C1, edge treated is carried out in described semitransparent background region, obtain the profile of all objects in described semitransparent background region as shown in Figure 6, and the profile of all objects is divided into one or more polygons as shown in Figure 7.
C2, to the background area of described outdoor scene by edge treated, obtain the profile of all objects of the background area of described outdoor scene, and the profile of all objects of the background area of the described outdoor scene obtaining be divided into one or more polygons.
The polygon that the profile of all objects of the background area of C3, the polygon that the profile of all objects in described semitransparent background region is divided into and outdoor scene is divided into compares, and the angle of camera is adjusted, while at least existing a polygonal size identical with position, judge that the background area of described semitransparent background region and outdoor scene is overlapping at least partly in two background areas.In this step, choose any polygon in the polygon that the profile of all objects in described semitransparent background region is divided into, for example choose the triangle in Fig. 7, with in the background area of outdoor scene, there is identical shaped polygon (being triangle) and compare, if two polygonal varying in size of comparison, but shape is similar, auto zoom camera, or prompting user convergent-divergent camera, again to compare, if it is unsuccessful (as variation has occurred the object of background area that convergent-divergent camera is still compared, for example comparison is same tree, but because growing tall, tree changed the proportionate relationship on each limit of polygon, therefore compare unsuccessful), in the polygon that the profile of all objects in described semitransparent background region is divided into, choose another polygon, with in the background area of outdoor scene, there is identical shaped polygon and compare, until find a polygon that size is identical.Further, after finding the polygon that size is identical, the polygonal position relationship identical according to these two sizes, automated movement camera or prompting user dollying head, make these two polygons overlapping.When above-mentioned two polygons are overlapping, the background area that is considered as described semitransparent background region and outdoor scene is overlapping at least partly, now sends the prompting that background comparison completes: as send the voice message that background comparison completes, or the prompting compared of display background.
After described step S14, can further indicate the photographer shift position of outdoor scene.
The step of the photographer shift position of described indication outdoor scene specifically comprises:
Far Left, rightmost, the top and four points bottom of the profile of D1, definite foreground area of removing, and determine the first rectangle profile with four points that obtain.Wherein, profile corresponding to the foreground area of removal and the first rectangle profile are as shown in Figure 8.
D2, determine the profile corresponding to foreground area of outdoor scene, and Far Left, rightmost, the top and four points bottom of profile of determining the foreground area of described outdoor scene, and determine the second rectangle profile with four points that obtain.
D3, judge that whether the center on a nethermost limit of described the first rectangle profile is identical with the center on a nethermost limit of described the second rectangle profile, according to the skew indication photographer shift position of two centers, and when identical in both center, prompting user takes.
Wherein, " second " in " first " and D3 " the second rectangle profile " in above-mentioned steps D1 " the first rectangle profile ", only for distinguishing different rectangle profiles, there is no physical meaning.In step D3, determine the position of the central point on the bottom limit of the first rectangle profile, determine the position of the central point on the bottom limit of the second rectangle profile, whether the position of two central points relatively determining is again identical, if identical, show that the foreground area that current foreground area and the last photo that obtains of taking pictures are corresponding is identical to the full extent, now, can send voice message user and take pictures, or send signal prompt user and take pictures.Due to a nethermost Yi Tiaobian center for the first rectangle profile, the second rectangle profile only relatively, therefore, the people who no matter is taken pictures has grown tall, or fat or thin, can not have influence on the result of comparison, thereby improve accuracy relatively.
In above-mentioned photographic method, obtain the photo that the last time takes pictures and obtain, and the photo obtaining is processed, obtain removing foreground area, the photo of remaining background area only, the photo of described remaining background area is carried out to translucent processing, obtain translucent background area, at display window, show the described translucent background area of stack mutually and the background area of current outdoor scene, and then the angle of camera is adjusted, make the background area of outdoor scene and described semitransparent background region overlapping at least partly.Compared to prior art, the background area that photographic method of the present invention is taken pictures before can automatic comparison and the background area of outdoor scene, the background area of outdoor scene and size, the shift phenomenon of last background area existence of taking pictures in this place have been reduced, thereby be convenient to the more current people who takes pictures or thing and the last people who takes pictures in this place or the similarities and differences of thing, improve the accuracy that compares people or thing.
embodiment bis-:
Fig. 9 shows the structure chart of a kind of camera arrangement that a preferred embodiment of the present invention provides, and for convenience of explanation, only shows the part relevant to the embodiment of the present invention.
Described camera arrangement comprises: the acquiring unit 91 of having taken a picture, picture processing unit 92, display window 93, camera adjustment unit 94.Wherein:
The acquiring unit 91 of having taken a picture, for obtaining the photo that the last time takes pictures and obtain.
Wherein, if last, take pictures the photo storage that obtains in the memory of this photographing device, from memory, recall this photo; If last, take pictures the photo storage that obtains in other memory devices, need find this photo from these other memory devices, and deposit in the memory of this photographing device, then recall this photo from the memory of this photographing device.
Picture processing unit 92, for the photo obtaining is processed, obtains removing foreground area, only the photo of remaining background area.
When removing foreground area by high pass filter, described picture processing unit 92 comprises: the pixel value comparison module after high-pass filtering module, high-pass filtering, foreground area are removed module.
This high-pass filtering module, for the photo obtaining is passed through to high pass filter, processes, obtain prospect value and background value after high pass filter, processes, described prospect value is after high pass filter, processes, to obtain pixel value corresponding to foreground area, and described background value is after high pass filter, processes, to obtain pixel value corresponding to background area.
Pixel value comparison module after this high-pass filtering, for by the prospect value before the prospect value after high pass filter, processes and background value and high pass filter, processes and background value comparison, obtains foreground area and the background area of photo.
This foreground area is removed module, for removing foreground area, obtains the only photo of remaining background area.
Unattenuated after high pass filter according to high frequency value (being prospect value), low frequency value is this rule of meeting decay after high pass filter, compare forward and backward prospect value and the background value of high pass filter, processes, the regional determinations that pad value is many are background area, by the few regional determination of pad value, it is foreground area, then remove the image in foreground area, obtain the Background without prospect.
When removing foreground area by low pass filter, described picture processing unit 92 comprises: the pixel value comparison module after low-pass filtering module, low-pass filtering, foreground area are removed module.
This low-pass filtering module, for the photo obtaining is processed by low pass filter, obtain prospect value and background value after low pass filter is processed, described prospect value is to obtain pixel value corresponding to foreground area after low pass filter is processed, and described background value is to obtain pixel value corresponding to background area after low pass filter is processed.
Pixel value comparison module after this low-pass filtering, for prospect value and the background value comparison before the prospect value after low pass filter is processed and background value and low pass filter processing, obtains foreground area and the background area of photo.
This foreground area is removed module, for removing foreground area, obtains the only photo of remaining background area.
According to high frequency value (being prospect value), after low pass filter, can decay, this rule and low frequency value can not decay after low pass filter, relatively low pass filter is processed forward and backward prospect value and background value, the regional determinations that pad value is many are foreground area, by the few regional determination of pad value, it is background area, then remove the image in foreground area, obtain the Background without prospect.
Display window 93, for the photo of described remaining background area is carried out to translucent processing, obtains translucent background area, shows the described translucent background area of stack mutually and the background area of current outdoor scene.
Camera adjustment unit 94, adjusts for the angle to camera, makes the background area of outdoor scene and described semitransparent background region overlapping at least partly.
Wherein, described camera adjustment unit 94 comprises: the background area profile that the background area profile of existing photo is cut apart module, outdoor scene is cut apart module, polygon matching module.
The background area profile of this existing photo is cut apart module, for edge treated is carried out in described semitransparent background region, obtains the profile of all objects in described semitransparent background region, and the profile of all objects is divided into one or more polygons.
The background area profile of this outdoor scene is cut apart module, for edge treated is passed through in the background area of described outdoor scene, obtain the profile of all objects of the background area of described outdoor scene, and the profile of all objects of the background area of the described outdoor scene obtaining is divided into one or more polygons.
This polygon matching module, the polygon being divided into for the profile of all objects of the background area of polygon that the profile of all objects in described semitransparent background region is divided into and outdoor scene compares, and the angle of camera is adjusted, while at least existing a polygonal size identical with position, judge that the background area of described semitransparent background region and outdoor scene is overlapping at least partly in two background areas.During concrete coupling, first, selecting to have identical shaped polygon in the background area of any polygon in the background area of photo and outdoor scene mates, during coupling, can pass through the more polygonal size of convergent-divergent camera, if after convergent-divergent camera, polygon coupling is still unsuccessful, selects other polygon to mate.Further, after finding the polygon that size is identical, the polygonal position relationship identical according to these two sizes, automated movement camera or prompting user dollying head, make these two polygons overlapping.When above-mentioned two polygons are overlapping, the background area that is considered as described semitransparent background region and outdoor scene is overlapping at least partly, sends the prompting that background comparison completes: as send the voice message that background comparison completes, or the prompting compared of display background.
Preferably, described camera arrangement also comprises: Tip element.This Tip element is used to indicate the photographer shift position of outdoor scene.Particularly, this Tip element comprises: the first rectangle profile determination module, the second rectangle profile determination module, central point matching module.
This first rectangle profile determination module, for determining Far Left, rightmost, the top and four points bottom of the profile of the foreground area of removing, and determines the first rectangle profile with four points that obtain.
This second rectangle profile determination module, for determining the profile corresponding to foreground area of outdoor scene, and Far Left, rightmost, the top and four points bottom of the profile of the foreground area of definite described outdoor scene, and determine the second rectangle profile with four points that obtain.
This central point matching module, for judging that whether the center on a nethermost limit of described the first rectangle profile is identical with the center on a nethermost limit of described the second rectangle profile, according to the skew indication photographer shift position of two centers, and when identical in both center, prompting user takes.
Wherein, " second " in " first " in " the first rectangle profile " and " the second rectangle profile ", only for distinguishing different rectangle profiles, there is no physical meaning.By determining the coordinate of the central point on the first rectangle profile, the bottom limit of the second rectangle profile, and whether the coordinate of two central points relatively determining is identical adjusts people in the position of foreground area, because bottom Yi Tiaobian center can not be subject to people's height, fat or thin impact, therefore adopt the method can improve the accuracy that position is adjusted.
In above-mentioned camera arrangement, due to the background area of taking pictures before can automatic comparison and the background area of outdoor scene, the background area of outdoor scene and size, the shift phenomenon of last background area existence of taking pictures in this place have been reduced, thereby be convenient to the more current people who takes pictures or thing and the last people who takes pictures in this place or the similarities and differences of thing, improve the accuracy that compares people or thing
One of ordinary skill in the art will appreciate that, the all or part of step realizing in above-described embodiment method is to come the hardware that instruction is relevant to complete by program, described program can be in being stored in a computer read/write memory medium, described storage medium, as ROM/RAM, disk, CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a photographic method, is characterized in that, described method comprises the steps:
Obtain the photo that the last time takes pictures and obtain;
The photo obtaining is processed, obtained removing foreground area, only the photo of remaining background area;
The photo of described remaining background area is carried out to translucent processing, obtain translucent background area, at display window, show the described translucent background area of stack mutually and the background area of current outdoor scene;
Angle to camera is adjusted, and makes the background area of outdoor scene and described semitransparent background region overlapping at least partly.
2. the method for claim 1, is characterized in that, described the photo obtaining is processed, and obtains removing foreground area, and only the step of the photo of remaining background area specifically comprises:
The photo obtaining is passed through to high pass filter, processes, obtain prospect value and background value after high pass filter, processes, described prospect value is after high pass filter, processes, to obtain pixel value corresponding to foreground area, and described background value is after high pass filter, processes, to obtain pixel value corresponding to background area;
By the prospect value before the prospect value after high pass filter, processes and background value and high pass filter, processes and background value comparison, obtain foreground area and the background area of photo;
Remove foreground area, obtain the only photo of remaining background area.
3. the method for claim 1, is characterized in that, described the photo obtaining is processed, and obtains removing foreground area, and only the step of the photo of remaining background area specifically comprises:
The photo obtaining is processed by low pass filter, obtain prospect value and background value after low pass filter is processed, described prospect value is to obtain pixel value corresponding to foreground area after low pass filter is processed, and described background value is to obtain pixel value corresponding to background area after low pass filter is processed;
By prospect value and background value comparison before the prospect value after low pass filter processing and background value and low pass filter processing, obtain foreground area and the background area of photo;
Remove foreground area, obtain the only photo of remaining background area.
4. the method for claim 1, is characterized in that, the described angle to camera is adjusted, and at least part of overlapping step in background area and described semitransparent background region of outdoor scene is specifically comprised:
Edge treated is carried out in described semitransparent background region, obtain the profile of all objects in described semitransparent background region, and the profile of all objects is divided into one or more polygons;
The background area of described outdoor scene by edge treated, is obtained the profile of all objects of the background area of described outdoor scene, and the profile of all objects of the background area of the described outdoor scene obtaining is divided into one or more polygons;
The polygon that the profile of all objects of the polygon that the profile of all objects in described semitransparent background region is divided into and the background area of outdoor scene is divided into compares, and the angle of camera is adjusted, while at least existing a polygonal size identical with position, judge that the background area of described semitransparent background region and outdoor scene is overlapping at least partly in two background areas.
5. the method for claim 1, is characterized in that, in the angle to camera, adjusts, and after making at least part of overlapping step in background area and described semitransparent background region of outdoor scene, further comprises the steps:
Determine Far Left, rightmost, the top and four points bottom of the profile of the foreground area of removing, and determine the first rectangle profile with four points that obtain;
Determine the profile corresponding to foreground area of outdoor scene, and Far Left, rightmost, the top and four points bottom of the profile of the foreground area of definite described outdoor scene, and determine the second rectangle profile with four points that obtain;
Judge that whether the center on a nethermost limit of described the first rectangle profile is identical with the center on a nethermost limit of described the second rectangle profile, according to the skew indication photographer shift position of two centers, and when identical in both center, prompting user takes.
6. a camera arrangement, is characterized in that, described device comprises:
The acquiring unit of having taken a picture, for obtaining the photo that the last time takes pictures and obtain;
Picture processing unit, for the photo obtaining is processed, obtains removing foreground area, only the photo of remaining background area;
Display window, for the photo of described remaining background area is carried out to translucent processing, obtains translucent background area, shows the described translucent background area of stack mutually and the background area of current outdoor scene;
Camera adjustment unit, adjusts for the angle to camera, makes the background area of outdoor scene and described semitransparent background region overlapping at least partly.
7. device as claimed in claim 6, is characterized in that, described picture processing unit comprises:
High-pass filtering module, for the photo obtaining is passed through to high pass filter, processes, obtain prospect value and background value after high pass filter, processes, described prospect value is after high pass filter, processes, to obtain pixel value corresponding to foreground area, and described background value is after high pass filter, processes, to obtain pixel value corresponding to background area;
Pixel value comparison module after high-pass filtering, for by the prospect value before the prospect value after high pass filter, processes and background value and high pass filter, processes and background value comparison, obtains foreground area and the background area of photo;
Foreground area is removed module, for removing foreground area, obtains the only photo of remaining background area.
8. device as claimed in claim 6, is characterized in that, described picture processing unit comprises:
Low-pass filtering module, for the photo obtaining is processed by low pass filter, obtain prospect value and background value after low pass filter is processed, described prospect value is to obtain pixel value corresponding to foreground area after low pass filter is processed, and described background value is to obtain pixel value corresponding to background area after low pass filter is processed;
Pixel value comparison module after low-pass filtering, for prospect value and the background value comparison before the prospect value after low pass filter is processed and background value and low pass filter processing, obtains foreground area and the background area of photo;
Foreground area is removed module, for removing foreground area, obtains the only photo of remaining background area.
9. device as claimed in claim 6, is characterized in that, described camera adjustment unit comprises:
The background area profile of existing photo is cut apart module, for edge treated is carried out in described semitransparent background region, obtains the profile of all objects in described semitransparent background region, and the profile of all objects is divided into one or more polygons;
The background area profile of outdoor scene is cut apart module, for edge treated is passed through in the background area of described outdoor scene, obtain the profile of all objects of the background area of described outdoor scene, and the profile of all objects of the background area of the described outdoor scene obtaining is divided into one or more polygons;
Polygon comparison module, the polygon being divided into for the profile of all objects of the background area of polygon that the profile of all objects in described semitransparent background region is divided into and outdoor scene compares, and the angle of camera is adjusted, while at least existing a polygonal size identical with position, judge that the background area of described semitransparent background region and outdoor scene is overlapping at least partly in two background areas.
10. device as claimed in claim 6, is characterized in that, described device further comprises
Tip element; Described Tip element comprises:
The first rectangle profile determination module, for determining Far Left, rightmost, the top and four points bottom of the profile of the foreground area of removing, and determines the first rectangle profile with four points that obtain;
The second rectangle profile determination module, for determining the profile corresponding to foreground area of outdoor scene, and Far Left, rightmost, the top and four points bottom of the profile of the foreground area of definite described outdoor scene, and determine the second rectangle profile with four points that obtain;
Central point matching module, for judging that whether the center on a nethermost limit of described the first rectangle profile is identical with the center on a nethermost limit of described the second rectangle profile, according to the skew indication photographer shift position of two centers, and when identical in both center, prompting user takes.
CN201410301712.7A 2014-06-26 2014-06-26 A kind of photographic method and device Active CN104038700B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410301712.7A CN104038700B (en) 2014-06-26 2014-06-26 A kind of photographic method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410301712.7A CN104038700B (en) 2014-06-26 2014-06-26 A kind of photographic method and device

Publications (2)

Publication Number Publication Date
CN104038700A true CN104038700A (en) 2014-09-10
CN104038700B CN104038700B (en) 2017-11-14

Family

ID=51469274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410301712.7A Active CN104038700B (en) 2014-06-26 2014-06-26 A kind of photographic method and device

Country Status (1)

Country Link
CN (1) CN104038700B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104298442A (en) * 2014-09-18 2015-01-21 联想(北京)有限公司 Information processing method and electronic device
CN104994292A (en) * 2015-06-30 2015-10-21 广东欧珀移动通信有限公司 Control method of wide-angle camera and electronic terminal
CN105991817A (en) * 2015-01-30 2016-10-05 中兴通讯股份有限公司 Picture taking method and picture taking device
CN106851098A (en) * 2017-01-20 2017-06-13 努比亚技术有限公司 A kind of image processing method and mobile terminal
CN110070585A (en) * 2019-01-31 2019-07-30 北京字节跳动网络技术有限公司 Image generating method, device and computer readable storage medium
CN111104935A (en) * 2019-11-08 2020-05-05 浙江口碑网络技术有限公司 Image acquisition method, image display method, device and equipment
WO2020133204A1 (en) * 2018-12-28 2020-07-02 Qualcomm Incorporated Apparatus and method to correct the angle and location of the camera

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000148114A (en) * 1998-09-02 2000-05-26 Namco Ltd Image creating device and method
CN1682528A (en) * 2002-08-09 2005-10-12 夏普株式会社 Image combination device, image combination method, image combination program, and recording medium containing the image combination program
CN101651767A (en) * 2008-08-14 2010-02-17 三星电子株式会社 Device and method for synchronously synthesizing images
CN101764934A (en) * 2008-12-16 2010-06-30 卡西欧计算机株式会社 Image capturing apparatus having subject cut-out function
US20120050309A1 (en) * 2010-08-31 2012-03-01 Olympus Corporation Display control apparatus and display control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000148114A (en) * 1998-09-02 2000-05-26 Namco Ltd Image creating device and method
CN1682528A (en) * 2002-08-09 2005-10-12 夏普株式会社 Image combination device, image combination method, image combination program, and recording medium containing the image combination program
CN101651767A (en) * 2008-08-14 2010-02-17 三星电子株式会社 Device and method for synchronously synthesizing images
CN101764934A (en) * 2008-12-16 2010-06-30 卡西欧计算机株式会社 Image capturing apparatus having subject cut-out function
US20120050309A1 (en) * 2010-08-31 2012-03-01 Olympus Corporation Display control apparatus and display control method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104298442A (en) * 2014-09-18 2015-01-21 联想(北京)有限公司 Information processing method and electronic device
CN105991817A (en) * 2015-01-30 2016-10-05 中兴通讯股份有限公司 Picture taking method and picture taking device
CN105991817B (en) * 2015-01-30 2019-11-19 中兴通讯股份有限公司 A kind of photographic method and device
CN104994292A (en) * 2015-06-30 2015-10-21 广东欧珀移动通信有限公司 Control method of wide-angle camera and electronic terminal
CN106851098A (en) * 2017-01-20 2017-06-13 努比亚技术有限公司 A kind of image processing method and mobile terminal
WO2020133204A1 (en) * 2018-12-28 2020-07-02 Qualcomm Incorporated Apparatus and method to correct the angle and location of the camera
CN113632447A (en) * 2018-12-28 2021-11-09 高通股份有限公司 Apparatus and method for correcting angle and position of camera
CN110070585A (en) * 2019-01-31 2019-07-30 北京字节跳动网络技术有限公司 Image generating method, device and computer readable storage medium
CN111104935A (en) * 2019-11-08 2020-05-05 浙江口碑网络技术有限公司 Image acquisition method, image display method, device and equipment
CN111104935B (en) * 2019-11-08 2021-10-12 浙江口碑网络技术有限公司 Image acquisition method, image display method, device and equipment

Also Published As

Publication number Publication date
CN104038700B (en) 2017-11-14

Similar Documents

Publication Publication Date Title
CN104038700A (en) Picture taking method and device
US9591237B2 (en) Automated generation of panning shots
US10620005B2 (en) Building height calculation method, device, and storage medium
US7606442B2 (en) Image processing method and apparatus
US20150104101A1 (en) Method and ui for z depth image segmentation
US9307134B2 (en) Automatic setting of zoom, aperture and shutter speed based on scene depth map
EP3480784B1 (en) Image processing method, and device
US10277806B2 (en) Automatic image composition
CN103929596A (en) Method and device for guiding shooting picture composition
EP3005286B1 (en) Image refocusing
WO2011014229A1 (en) Adjusting perspective and disparity in stereoscopic image pairs
CN104954659A (en) Method and device for processing image information
CN105120172A (en) Photographing method for front and rear cameras of mobile terminal and mobile terminal
US10491804B2 (en) Focus window determining method, apparatus, and device
EP3035289A1 (en) Method and device for adsorbing straight line/line segment, and method and device for constructing polygon
US20170352132A1 (en) Method and apparatus for correcting tilt of subject ocuured in photographing, mobile terminal, and storage medium
CN105654451A (en) Image processing method and device
CN103945088A (en) Method and device for scene recognition
WO2015103745A1 (en) An apparatus and associated methods for image capture
WO2019090734A1 (en) Photographing method and apparatus, mobile terminal, and computer readable storage medium
US9995905B2 (en) Method for creating a camera capture effect from user space in a camera capture system
EP3218756B1 (en) Direction aware autofocus
CN111669492A (en) Method for processing shot digital image by terminal and terminal
US20230033956A1 (en) Estimating depth based on iris size
CN105450921A (en) Image-acquiring device and automatic focusing compensation method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant