CN108184066A - Shooting processing method, capture apparatus and the readable storage medium storing program for executing of photo - Google Patents
Shooting processing method, capture apparatus and the readable storage medium storing program for executing of photo Download PDFInfo
- Publication number
- CN108184066A CN108184066A CN201810024843.3A CN201810024843A CN108184066A CN 108184066 A CN108184066 A CN 108184066A CN 201810024843 A CN201810024843 A CN 201810024843A CN 108184066 A CN108184066 A CN 108184066A
- Authority
- CN
- China
- Prior art keywords
- image
- viewfinder
- zoomed
- preview
- viewfinder image
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 25
- 238000003860 storage Methods 0.000 title claims abstract description 17
- 238000012545 processing Methods 0.000 claims abstract description 59
- 238000012876 topography Methods 0.000 claims abstract description 33
- 238000005304 joining Methods 0.000 claims description 7
- 238000000034 method Methods 0.000 abstract description 13
- 230000008569 process Effects 0.000 abstract description 7
- 230000000694 effects Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 8
- 230000003321 amplification Effects 0.000 description 5
- 238000003199 nucleic acid amplification method Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 3
- 238000012805 post-processing Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000004321 preservation Methods 0.000 description 2
- 241001465754 Metazoa Species 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
- H04N5/2628—Alteration of picture size, shape, position or orientation, e.g. zooming, rotation, rolling, perspective, translation
Abstract
The invention discloses a kind of shooting processing method of photo, the shooting processing method includes the following steps:Under screening-mode, take pictures interface into preview, and the picture of the interface display is set as viewfinder image;Detect whether that there are the instructions of the local scale of the viewfinder image;If in the presence of obtaining the topography of the viewfinder image, and zoom in and out processing, obtaining zoomed image;It based on the zoomed image and the viewfinder image, generates target image and carries out preview and show, shoot or scale again for selection by the user.The invention also discloses a kind of capture apparatus and readable storage medium storing program for executing.The present invention can fulfil the editing and processing to photo ahead of schedule in shooting process, and then avoid the operation processing of later stage complexity, and then save the energy and time of user's preciousness, improve the usage experience of user.
Description
Technical field
The present invention relates to camera work field more particularly to a kind of shooting processing method of photo of invention, capture apparatus and
Readable storage medium storing program for executing.
Background technology
With the continuous development of science and technology and electronic product becomes increasingly popular, and the application function of electronic product is also more next
It is more powerful, such as the functions such as video conversation, social activity, receiving and dispatching mail, bring the more working methods of user and adventure in daily life.
It is existing, such as mobile phone, tablet computer, camera equipment generally has camera function, but user is in shooting process,
Image content in view-finder can only be carried out whole times away from zoom in or out, and can not be individually to a certain in image content
Part zooms in and out.The effect that user wants in order to obtain needs to carry out post-production processing to the photo of shooting, and then consume
User's valuable time and energy reduce the usage experience of user.
Invention content
It is a primary object of the present invention to provide a kind of shooting processing method of photo, capture apparatus and computer-readable deposit
Storage media, it is intended to solve in the prior art, user is to obtain desired effect, needs to carry out photo post-processing, operation is multiple
The technical issues of miscellaneous and then poor user experience.
To achieve the above object, the shooting processing method of a kind of photo provided by the invention, the shooting processing method packet
Include following steps:
Under screening-mode, take pictures interface into preview, and the picture of the interface display is set as viewfinder image;
Detect whether that there are the instructions of the local scale of the viewfinder image;
If in the presence of obtaining the topography of the viewfinder image, and zoom in and out processing, obtaining zoomed image;
It based on the zoomed image and the viewfinder image, generates target image and carries out preview and show, so that user selects
It selects shooting or scales again.
Preferably, it is if described in the presence of obtaining the topography of the viewfinder image, and zoom in and out processing, contracted
Image is put to include:
When being instructed there are the local scale of the viewfinder image, selection operation of the identification user on the interface, with
For determining the focus point in the viewfinder image;
Centered on the focus point, the region in preset range is intercepted, obtains the topography of the viewfinder image;
Based on the scale value of local scale instruction, processing is zoomed in or out to the topography, is contracted
Put image.
Preferably, it is described based on the zoomed image and the viewfinder image, it generates target image and carries out preview and show
Including:
Judge whether the scale value is greater than or equal to default value of magnification;
When the scale value is greater than or equal to default value of magnification, the zoomed image is covered in the viewfinder image
On;
The relative position of the zoomed image and the viewfinder image is adjusted, obtains target image and carry out preview showing.
Preferably, it is described based on the zoomed image and the viewfinder image, it generates target image and carries out preview and show
It further includes:
It, will be in zoomed image linking to the viewfinder image when the scale value is less than default value of magnification;
Joining place between the zoomed image and the viewfinder image carries out Gradually varied fill processing, obtains target image
And it carries out preview and shows.
Preferably, it described based on the zoomed image and the viewfinder image, generates target image and carries out preview and show
After showing, the shooting processing method further includes:
Monitor whether the duration that the target image preview is shown is greater than or equal to preset duration;
If so, the interface returns and shows the viewfinder image.
In addition, to achieve the above object, the present invention also provides a kind of capture apparatus, the capture apparatus includes:
It is stored with the memory of shooting processing routine;
Processor is configured to perform shooting processing routine to perform operations described below:
Under screening-mode, take pictures interface into preview, and the picture of the interface display is set as viewfinder image;
Detect whether that there are the instructions of the local scale of the viewfinder image;
If in the presence of obtaining the topography of the viewfinder image, and zoom in and out processing, obtaining zoomed image;
It based on the zoomed image and the viewfinder image, generates target image and carries out preview and show, so that user selects
It selects shooting or scales again.
Preferably, if performing described in the presence of obtaining the topography of the viewfinder image, and zoom in and out processing, obtain
Operation to zoomed image includes:
When being instructed there are the local scale of the viewfinder image, selection operation of the identification user on the interface, with
For determining the focus point in the viewfinder image;
Centered on the focus point, the region in preset range is intercepted, obtains the topography of the viewfinder image;
Based on the scale value of local scale instruction, processing is zoomed in or out to the topography, is contracted
Put image.
Preferably, it based on the zoomed image and the viewfinder image described in performing, generates target image and simultaneously carries out preview
The operation of display includes:
Judge whether the scale value is greater than or equal to default value of magnification;
When the scale value is greater than or equal to default value of magnification, the zoomed image is covered in the viewfinder image
On;
The relative position of the zoomed image and the viewfinder image is adjusted, obtains target image and carry out preview showing.
Preferably, it based on the zoomed image and the viewfinder image described in performing, generates target image and simultaneously carries out preview
The operation of display further includes:
It, will be in zoomed image linking to the viewfinder image when the scale value is less than default value of magnification;
Joining place between the zoomed image and the viewfinder image carries out Gradually varied fill processing, obtains target image
And it carries out preview and shows.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium
Shooting processing routine is stored on storage medium, the shooting processing routine is realized when being executed by processor such as any of the above-described institute
The step of shooting processing method for the photo stated.
The present invention is under screening-mode, takes pictures interface into preview, the full screen pictures of display is set as viewfinder image, so
User as needed carries out a part in viewfinder image local scale processing afterwards, last preview display scaling position with it is full frame
The target image that picture is combined, and then user can select directly to shoot the picture currently shown or adjust pantograph ratio again
Example so as to which user can fulfil the post-processing to photo ahead of schedule in shooting process, avoids editor's image of later stage complexity from grasping
Make, and then save the energy and time of user, improve the usage experience of user.
Description of the drawings
Fig. 1 is the structure diagram of capture apparatus running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of one embodiment of shooting processing method of photo of the present invention;
Fig. 3 is the refinement flow diagram of mono- embodiments of step S30 in Fig. 2;
Fig. 4 is the refinement flow diagram of mono- embodiments of step S40 in Fig. 2.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that specific embodiment described herein is not intended to limit the present invention only to explain the present invention.
With reference to Fig. 1, Fig. 1 is the structure diagram of capture apparatus running environment that the embodiment of the present invention is related to.
Capture apparatus of the embodiment of the present invention can be implemented in a variety of manners.For example, equipment described in the present invention can be with
Including such as mobile phone, tablet computer, laptop, palm PC, personal digital assistant (Personal Digital
Assistant, PDA), wearable device, digital camera, slr camera etc..
As shown in Figure 1, the capture apparatus can include:Processor 1001, such as CPU, communication bus 1002, user interface
1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is used to implement the connection communication between these components.
User interface 1003 can include display screen (Display), touch screen, and network interface 1004 can optionally include having for standard
Line interface, wireless interface (such as WI-FI interfaces).Memory 1005 can be the storage of high-speed RAM memory or stabilization
Device (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processing
The storage device of device 1001.
Optionally, capture apparatus can also include camera lens, aperture, shutter, flash lamp etc..
It will be understood by those skilled in the art that the hardware configuration of the capture apparatus shown in Fig. 1 is not formed to set-top box
Restriction, can include that more or fewer components either combine certain components or different components is arranged than illustrating.
As shown in Figure 1, as operating system, net can be included in a kind of memory 1005 of computer readable storage medium
Network communication module, Subscriber Interface Module SIM and computer program.Wherein, operating system is management and control capture apparatus and software
The program of resource supports the operation of shooting processing routine and other softwares and/or program.
In the hardware configuration of capture apparatus shown in Fig. 1, network interface 1004 is mainly used for accessing network;User interface
1003, which are mainly used for detecting, confirms Command And Edit instruction etc..And processor 1001 can be used in calling memory 1005 storing
Shooting processing routine, and perform following operate:
Under screening-mode, take pictures interface into preview, and the picture of the interface display is set as viewfinder image;
Detect whether that there are the instructions of the local scale of the viewfinder image;
If in the presence of obtaining the topography of the viewfinder image, and zoom in and out processing, obtaining zoomed image;
It based on the zoomed image and the viewfinder image, generates target image and carries out preview and show, so that user selects
It selects shooting or scales again.
Further, the capture apparatus calls the shooting stored in memory 1005 to handle journey by processor 1001
Sequence, to perform operations described below:
When being instructed there are the local scale of the viewfinder image, selection operation of the identification user on the interface, with
For determining the focus point in the viewfinder image;
Centered on the focus point, the region in preset range is intercepted, obtains the topography of the viewfinder image;
Based on the scale value of local scale instruction, processing is zoomed in or out to the topography, is contracted
Put image.
Further, the capture apparatus calls the shooting stored in memory 1005 to handle journey by processor 1001
Sequence, to perform operations described below:
Judge whether the scale value is greater than or equal to default value of magnification;
When the scale value is greater than or equal to default value of magnification, the zoomed image is covered in the viewfinder image
On;
The relative position of the zoomed image and the viewfinder image is adjusted, obtains target image and carry out preview showing.
Further, the capture apparatus calls the shooting stored in memory 1005 to handle journey by processor 1001
Sequence, to perform operations described below:
It, will be in zoomed image linking to the viewfinder image when the scale value is less than default value of magnification;
Joining place between the zoomed image and the viewfinder image carries out Gradually varied fill processing, obtains target image
And it carries out preview and shows.
Further, the capture apparatus calls the shooting stored in memory 1005 to handle journey by processor 1001
Sequence, to perform operations described below:
Monitor whether the duration that the target image preview is shown is greater than or equal to preset duration;
If so, the interface returns and shows the viewfinder image.
Based on above-mentioned capture apparatus hardware configuration, each embodiment of the shooting processing method of photo of the present invention is proposed.
With reference to Fig. 2, Fig. 2 is the flow diagram of one embodiment of shooting processing method of photo of the present invention.
In the present embodiment, the shooting processing method of photo includes:
Step S10 under screening-mode, takes pictures interface, and the picture of interface display is set as viewfinder image into preview;
In the present embodiment, user interface (User Interface), user interface includes application interface and system interface, is
Refer to global design to the human-computer interaction of software, operation logic, beautiful interface, be to be interacted between system and user and information
The medium of exchange, the internal form of its realization information and the mankind can receive the conversion between form.User interface be between with
Family and hardware and design interact each other and link up related software, purpose is allowing users to easily and effectively go to rate operation firmly
Part completes the desired work by hardware completion, user interface definition is extensive, contains man-machine friendship to reach two-way interaction
Mutually and graphical user interface, all there is user interfaces in the field of all information interchanges for participating in the mankind and machinery.Capture apparatus
System interface, application interface of display screen display installation etc., different showing interface different contents, including word, picture, text
Frame, option button, menu bar, scroll bar etc..Preview interface of taking pictures is one kind in application interface.
In the present embodiment, screening-mode, that is, capture apparatus are used to shoot a kind of mode of photo, such as landscape mould
Formula, portrait mode of figure, smiling face's pattern, night scene mode etc..Aperture, shutter and light exposure are adjusted by different mode, make shooting
Effect reaches user's requirement.Briefly, user using capture apparatus camera capture with human eye see picture, and
It is shown via the preview that display screen is shown interface of taking pictures, and then user can carry out the picture of displaying correlation and take pictures behaviour
Make.Specifically, by preview take pictures interface display with human eye see image content for viewfinder image, and find a view and depend on
User chooses the image content of shooting, for example high mountain, far water, animals and plants or building etc., the viewfinder image for forming a frame picture are
The original image without later stage compilation processing.
Step S20 detects whether that there are the instructions of the local scale of viewfinder image;
In the present embodiment, local scale refers to that processor can be used for reading and performing the operation of local scale processing
Instruction, is to include user to want all operation instruction informations for zooming in and out certain part in viewfinder image.When user selects
It selects when carrying out local scale operation in viewfinder image, triggering generates local scale instruction.Local scale operation includes clicking
Operation and/or slide, wherein, clicking operation include at least click, double-click, any one of long-press, that is, user uses
Finger is clicked or adopting consecutive click chemical reaction twice or continues for some time pressing on a display screen on a display screen;Slide includes
The elements such as direction, duration, length, speed, track.When in the viewfinder image that monitoring of equipment to user finger is shown in display screen
It clicks a certain position or slides a certain position or first click and slided again when local scales operate, triggering generation local scale refers to
It enables, and then detects the presence of the local scale instruction of viewfinder image.
Step S30, if in the presence of obtaining the topography of viewfinder image, and zoom in and out processing, obtaining zoomed image;
In the present embodiment, scaling processing includes amplification and diminution processing, and enhanced processing is exactly as its name suggests by normal rates
Things change from small to big, and diminution processing then on the contrary, being a kind of processing edit mode by the things of normal rates from large to small.
When there are during local scale instruction, being instructed according to the local scale, execution obtains the topography of viewfinder image, and topography is
A part in whole viewfinder image.Processing is zoomed in and out to topography, obtains zoomed image, such as user in the bat of self-timer
Take the photograph under pattern, the viewfinder image of display include user in itself, dress ornament and background etc., user chooses and eyes is zoomed in and out with processing,
Obtain the zoomed image of eyes of user.
Step S40 based on zoomed image and viewfinder image, generates target image and carries out preview and show, so that user selects
It selects shooting or scales again.
In the present embodiment, target image is generated, that is, by zoomed image with finding a view based on zoomed image and viewfinder image
Image is combined, and forms new image.This newly-generated target image carries out preview displaying on interface, and user can see
To edited design sketch, if user is satisfied with press shutter and take pictures, also just the target image of display preserved or
Person is that user thinks that zooming effect is undesirable, then can continue that scaling is adjusted, until preservation of taking pictures after satisfied.Such as
When the target image user of generation is dissatisfied to the amplification effect of eyes for the first time, it is amplified processing again, and then obtains new
Zoomed image, and then obtain the target image of second of generation, when user is satisfied with the second target image of display at this time, choosing
Shooting is selected, to preserve the second target image.
The present embodiment is under screening-mode, takes pictures interface into preview, the full screen pictures of display are set as viewfinder image,
Then user as needed carries out a part in viewfinder image local scale processing, last preview display scaling position with it is complete
The target image that screen picture is combined, and then user can select directly to shoot the picture currently shown or adjust pantograph ratio again
Example so as to which user can fulfil the post-processing to photo ahead of schedule in shooting process, avoids editor's image of later stage complexity from grasping
Make, and then save the energy and time of user, improve the usage experience of user.
With reference to Fig. 3, Fig. 3 is the refinement flow diagram of mono- embodiments of step S30 in Fig. 2.
Based in above-described embodiment, step S30, if in the presence of the topography of viewfinder image is obtained, and zoom in and out place
Reason, obtains zoomed image, including:
Step S31, when being instructed there are the local scale of viewfinder image, selection operation of the identification user on interface, with
For determining the focus point in viewfinder image;
In the present embodiment, local scale instruction includes user and wants the institute zoomed in and out to certain part in viewfinder image
There are operation instruction information, such as scale value, choose position etc..When there are during the instruction of the local scale of viewfinder image, identification user exists
Selection operation on interface, that is, identification user's selection need to zoom in and out the image position coordinates point of processing, the coordinate points
It is exactly focus point, to be directed at the reference object for needing to zoom in and out.
Step S32 centered on focus point, intercepts the region in preset range, obtains the topography of viewfinder image;
In the present embodiment, preset range is the value range set in advance, for example, 1~3cm of diameter, 5~10cm of length and width or
10 ㎡ of area etc., is configured with specific reference to actual needs, can be the default value pre-set by developer, can also
It is the value of User Defined setting.Centered on focus point, the circle of region such as 1~5mm of radius in preset range is intercepted, it is long
Rectangle of the square of wide 10mm or long 10mm wide 8mm etc., and then the image content in the region is topography.
Step S33 based on the scale value of local scale instruction, zooms in or out topography processing, is contracted
Put image.
In the present embodiment, the scale value of local scale instruction, can be percentage or ratio grade, such as normal rates
50%th, diminution value is 1~49%, and value of magnification is 51~100% or 1~10 times of amplification, 1~10 times etc. of diminution, with specific reference to
Actual needs is configured.When the scale value of local scale instruction is amplifies 2 times, 2 times of amplification is amplified to topography
Processing, and then obtain zoomed image.
With reference to Fig. 4, Fig. 4 is the refinement flow diagram of mono- embodiments of step S40 in Fig. 2.
Based in above-described embodiment, step S40 based on zoomed image and viewfinder image, generates target image and carries out pre-
It lookes at display, shoots or scale again for selection by the user, including:
Step S41, judges whether scale value is greater than or equal to default value of magnification;
In the present embodiment, value of magnification is preset, is to be compared according to experiment effect repeatedly by producer developer and pre-set
Good numerical value, specifically, the numerical value are the interval value of matching effect variation.Such as amplification 1~10 times, and be enlarged over 6 times with
On obtained zoomed image account for whole viewfinder image ratio more than half, then be set as default value of magnification by 6 times.Further, in advance
If the value of value of magnification is configured according to actual needs.
When scale value is greater than or equal to default value of magnification, zoomed image is covered in viewfinder image by step S42;
Step S43 adjusts the relative position of zoomed image and viewfinder image, obtains target image and carry out preview showing.
In the present embodiment, when the scale value of local scale instruction is greater than or equal to default value of magnification, zoomed image must
For enlarged drawing, the not original topography's ratio of the ratio which shows is big, and enlarged drawing is covered in viewfinder image
On, it is possible to cover whole viewfinder image or the most of viewfinder image of covering.Enlarged drawing will be original in viewfinder image simultaneously
Partial content covers, and the not covered picture material of viewfinder image residue forms new image with zoomed image.To make target
Image carries out position adjustment to enlarged drawing and viewfinder image, enlarged drawing is made to occupy whole without departing from original image content
The position of a viewfinder image and the position consistency of original topography, and then the image content that the final preview of user is seen meets the heart
Middle institute's shooting effect to be achieved.
Step S44, will be in zoomed image linking to viewfinder image when scale value is less than default value of magnification;
Step S45, the joining place between zoomed image and viewfinder image carry out Gradually varied fill processing, obtain target image
And it carries out preview and shows.
In the present embodiment, when the scale value of local scale instruction is less than default value of magnification, there are two kinds of possibility, Yi Zhongshi
The enlarged drawing of enhanced processing, another kind be reduce processing downscaled images, but both image scaleds be no more than entirely take
The ratio of scape image, zoomed image is even more to occupy smaller part position, thus both images on the whole will not be to figure of finding a view
As causing too big change, thus by linking to viewfinder image in.Further, cohesive position should exist with original topography
The present position of viewfinder image is consistent.Joining place carries out Gradually varied fill processing, that is, the line to generating apparent boundary after linking
Item is weakened, and refills the color consistent with actual needs display coloration, the target image for making generation is not lofty, optimization processing
Effect.
It is further alternative, in an alternative embodiment of the invention, based on the zoomed image and the viewfinder image, generation
Target image is simultaneously carried out after preview shows, the shooting processing method further includes:
1st, whether the duration that monitoring objective image preview is shown is greater than or equal to preset duration;
2nd, if so, interface returns and shows viewfinder image.
In the present embodiment, the target image of generation carries out preview on interface and shows that user can be visually seen edited
Image content is operated to further facilitate user, pre-sets the display duration of preview target image, i.e. target image
The duration that preview is shown can be 60 seconds, 90 seconds, 5 minutes etc., is configured with specific reference to actual needs, preset duration
It is preferred that 2 minutes, duration will not it is too short will not be too long, to the time of user's thinking within the reasonable time, and then user can be
Shooting preservation is carried out to target image or target image is scaled again in preset duration in preset duration, is obtained
New target image.
In the present embodiment, duration that target image preview is shown is to pass at any time and incremental, when monitoring to hold
When continuous duration is greater than or equal to preset duration, interface content is switched back into original viewfinder image, and then facilitate user again right
Viewfinder image is shot or local scale processing.Due to repeatedly zooming in and out processing to the topography of selection, and then generate
Target image there may be the undesirable situation of effect, and then when duration be greater than or equal to preset duration when, directly return
Viewfinder image is returned to, saves the operation that user repeats the operation of adjustment scale value or finds a view again, and then improve the use of user
Experience.Scale that number is fewer simultaneously, the target image effect of generation is also better.
It is further alternative, to achieve the above object, the present invention also provides a kind of computer readable storage medium, in this reality
It applies and shooting processing routine is stored on the computer readable storage medium proposed in example, including display figure, scaling processing and life
Into target image etc..The shooting processing routine of storage can be read out by the processor, understand and perform, so as to fulfill any of the above-described bat
The step of taking the photograph the shooting processing method of photo in processing method embodiment.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements not only include those elements, and
And it further includes other elements that are not explicitly listed or further includes intrinsic for this process, method, article or device institute
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
Also there are other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be embodied in the form of software product, which is stored in a readable storage medium
In matter (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal (can be mobile phone, computer services
Device, air conditioner or network equipment etc.) method that performs each embodiment of the present invention.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific
Embodiment, above-mentioned specific embodiment is only schematical rather than restricted, those of ordinary skill in the art
Under the enlightenment of the present invention, present inventive concept and scope of the claimed protection are not being departed from, can also made very much
Form, every equivalent structure or equivalent flow shift made using description of the invention and accompanying drawing content, directly or indirectly
Other related technical areas are used in, these are belonged within the protection of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made directly or indirectly is used in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. the shooting processing method of a kind of photo, which is characterized in that the shooting processing method includes the following steps:
Under screening-mode, take pictures interface into preview, and the picture of the interface display is set as viewfinder image;
Detect whether that there are the instructions of the local scale of the viewfinder image;
If in the presence of obtaining the topography of the viewfinder image, and zoom in and out processing, obtaining zoomed image;
It based on the zoomed image and the viewfinder image, generates target image and carries out preview and show, clap for selection by the user
It takes the photograph or scales again.
2. shooting processing method as described in claim 1, which is characterized in that if described in the presence of obtaining the viewfinder image
Topography, and zoom in and out processing, obtain zoomed image and include:
When being instructed there are the local scale of the viewfinder image, selection operation of the identification user on the interface, for true
The focus point being scheduled in the viewfinder image;
Centered on the focus point, the region in preset range is intercepted, obtains the topography of the viewfinder image;
Based on the scale value of local scale instruction, processing is zoomed in or out to the topography, obtains scaling figure
Picture.
3. shooting processing method as claimed in claim 2, which is characterized in that described to be found a view based on the zoomed image with described
Image, generate target image and carry out preview show including:
Judge whether the scale value is greater than or equal to default value of magnification;
When the scale value is greater than or equal to default value of magnification, the zoomed image is covered in the viewfinder image;
The relative position of the zoomed image and the viewfinder image is adjusted, obtains target image and carry out preview showing.
4. shooting processing method as claimed in claim 3, which is characterized in that described to be found a view based on the zoomed image with described
Image generates target image and carries out preview and show to further include:
It, will be in zoomed image linking to the viewfinder image when the scale value is less than default value of magnification;
Joining place between the zoomed image and the viewfinder image carries out Gradually varied fill processing, obtains target image and goes forward side by side
Row preview is shown.
5. processing method is shot according to any one of claims 1 to 4, which is characterized in that be based on the scaling described
Image and the viewfinder image generate target image and carry out after preview shows, the shooting processing method further includes:
Monitor whether the duration that the target image preview is shown is greater than or equal to preset duration;
If so, the interface returns and shows the viewfinder image.
6. a kind of capture apparatus, which is characterized in that the capture apparatus includes:
It is stored with the memory of shooting processing routine;
Processor is configured to perform shooting processing routine to perform operations described below:
Under screening-mode, take pictures interface into preview, and the picture of the interface display is set as viewfinder image;
Detect whether that there are the instructions of the local scale of the viewfinder image;
If in the presence of obtaining the topography of the viewfinder image, and zoom in and out processing, obtaining zoomed image;
It based on the zoomed image and the viewfinder image, generates target image and carries out preview and show, clap for selection by the user
It takes the photograph or scales again.
7. capture apparatus as claimed in claim 6, which is characterized in that if performing described in the presence of obtaining the viewfinder image
Topography, and zoom in and out processing, the operation for obtaining zoomed image includes:
When being instructed there are the local scale of the viewfinder image, selection operation of the identification user on the interface, for true
The focus point being scheduled in the viewfinder image;
Centered on the focus point, the region in preset range is intercepted, obtains the topography of the viewfinder image;
Based on the scale value of local scale instruction, processing is zoomed in or out to the topography, obtains scaling figure
Picture.
8. capture apparatus as claimed in claim 7, which is characterized in that found a view described in performing based on the zoomed image with described
Image generates target image and carries out the operation that preview is shown and include:
Judge whether the scale value is greater than or equal to default value of magnification;
When the scale value is greater than or equal to default value of magnification, the zoomed image is covered in the viewfinder image;
The relative position of the zoomed image and the viewfinder image is adjusted, obtains target image and carry out preview showing.
9. capture apparatus as claimed in claim 8, which is characterized in that found a view described in performing based on the zoomed image with described
Image generates target image and carries out the operation that preview is shown and further include:
It, will be in zoomed image linking to the viewfinder image when the scale value is less than default value of magnification;
Joining place between the zoomed image and the viewfinder image carries out Gradually varied fill processing, obtains target image and goes forward side by side
Row preview is shown.
10. a kind of computer readable storage medium, which is characterized in that be stored at shooting on the computer readable storage medium
Program is managed, the shooting processing routine realizes the bat of the photo as described in any one of claim 1 to 5 when being executed by processor
The step of taking the photograph processing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810024843.3A CN108184066A (en) | 2018-01-10 | 2018-01-10 | Shooting processing method, capture apparatus and the readable storage medium storing program for executing of photo |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810024843.3A CN108184066A (en) | 2018-01-10 | 2018-01-10 | Shooting processing method, capture apparatus and the readable storage medium storing program for executing of photo |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108184066A true CN108184066A (en) | 2018-06-19 |
Family
ID=62550211
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810024843.3A Pending CN108184066A (en) | 2018-01-10 | 2018-01-10 | Shooting processing method, capture apparatus and the readable storage medium storing program for executing of photo |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108184066A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108881720A (en) * | 2018-06-29 | 2018-11-23 | 广州盈可视电子科技有限公司 | A kind of picture obtains output method, device, server and a kind of real training all-in-one machine |
CN108965710A (en) * | 2018-07-26 | 2018-12-07 | 努比亚技术有限公司 | Method, photo taking, device and computer readable storage medium |
CN111556248A (en) * | 2020-05-09 | 2020-08-18 | Tcl移动通信科技(宁波)有限公司 | Shooting method, shooting device, storage medium and mobile terminal |
WO2021017713A1 (en) * | 2019-07-29 | 2021-02-04 | 维沃移动通信有限公司 | Photographing method and mobile terminal |
CN112598571A (en) * | 2019-11-27 | 2021-04-02 | 中兴通讯股份有限公司 | Image scaling method, device, terminal and storage medium |
CN112839161A (en) * | 2019-11-22 | 2021-05-25 | 北京小米移动软件有限公司 | Shooting method and device |
CN112887537A (en) * | 2021-01-18 | 2021-06-01 | 维沃移动通信有限公司 | Image processing method and electronic device |
CN113273172A (en) * | 2020-08-12 | 2021-08-17 | 深圳市大疆创新科技有限公司 | Panorama shooting method, device and system and computer readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105227867A (en) * | 2015-09-14 | 2016-01-06 | 联想(北京)有限公司 | A kind of image processing method and electronic equipment |
CN106231182A (en) * | 2016-07-29 | 2016-12-14 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
CN106412431A (en) * | 2016-09-30 | 2017-02-15 | 珠海市魅族科技有限公司 | Image display method and device |
CN107249098A (en) * | 2017-05-27 | 2017-10-13 | 珠海市魅族科技有限公司 | Zoom control method, device, terminal and non-volatile memory medium |
-
2018
- 2018-01-10 CN CN201810024843.3A patent/CN108184066A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105227867A (en) * | 2015-09-14 | 2016-01-06 | 联想(北京)有限公司 | A kind of image processing method and electronic equipment |
CN106231182A (en) * | 2016-07-29 | 2016-12-14 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
CN106412431A (en) * | 2016-09-30 | 2017-02-15 | 珠海市魅族科技有限公司 | Image display method and device |
CN107249098A (en) * | 2017-05-27 | 2017-10-13 | 珠海市魅族科技有限公司 | Zoom control method, device, terminal and non-volatile memory medium |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108881720A (en) * | 2018-06-29 | 2018-11-23 | 广州盈可视电子科技有限公司 | A kind of picture obtains output method, device, server and a kind of real training all-in-one machine |
CN108965710A (en) * | 2018-07-26 | 2018-12-07 | 努比亚技术有限公司 | Method, photo taking, device and computer readable storage medium |
WO2021017713A1 (en) * | 2019-07-29 | 2021-02-04 | 维沃移动通信有限公司 | Photographing method and mobile terminal |
CN112839161A (en) * | 2019-11-22 | 2021-05-25 | 北京小米移动软件有限公司 | Shooting method and device |
CN112598571A (en) * | 2019-11-27 | 2021-04-02 | 中兴通讯股份有限公司 | Image scaling method, device, terminal and storage medium |
CN111556248A (en) * | 2020-05-09 | 2020-08-18 | Tcl移动通信科技(宁波)有限公司 | Shooting method, shooting device, storage medium and mobile terminal |
CN111556248B (en) * | 2020-05-09 | 2021-09-03 | Tcl移动通信科技(宁波)有限公司 | Shooting method, shooting device, storage medium and mobile terminal |
CN113273172A (en) * | 2020-08-12 | 2021-08-17 | 深圳市大疆创新科技有限公司 | Panorama shooting method, device and system and computer readable storage medium |
WO2022032538A1 (en) * | 2020-08-12 | 2022-02-17 | 深圳市大疆创新科技有限公司 | Panorama photographing method, apparatus and system, and computer-readable storage medium |
CN112887537A (en) * | 2021-01-18 | 2021-06-01 | 维沃移动通信有限公司 | Image processing method and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108184066A (en) | Shooting processing method, capture apparatus and the readable storage medium storing program for executing of photo | |
CN103916582B (en) | A kind of image processing method and device | |
CN105933601A (en) | Method, apparatus, and computer program product for presenting burst images | |
CN112492212B (en) | Photographing method and device, electronic equipment and storage medium | |
CN111601039A (en) | Video shooting method and device and electronic equipment | |
CN112135046A (en) | Video shooting method, video shooting device and electronic equipment | |
CN112492209A (en) | Shooting method, shooting device and electronic equipment | |
CN112714253B (en) | Video recording method and device, electronic equipment and readable storage medium | |
CN111857512A (en) | Image editing method and device and electronic equipment | |
CN113794829B (en) | Shooting method and device and electronic equipment | |
CN113014801B (en) | Video recording method, video recording device, electronic equipment and medium | |
CN113905175A (en) | Video generation method and device, electronic equipment and readable storage medium | |
CN112087579B (en) | Video shooting method and device and electronic equipment | |
CN110191286A (en) | A kind of image pickup method and device | |
CN112672061A (en) | Video shooting method and device, electronic equipment and medium | |
CN108628814A (en) | A kind of method and device of quick insertion identification word | |
CN108965699A (en) | Parameter regulation means and device, terminal, the readable storage medium storing program for executing of reference object | |
CN112449110B (en) | Image processing method and device and electronic equipment | |
CN113194256A (en) | Shooting method, shooting device, electronic equipment and storage medium | |
CN111885298B (en) | Image processing method and device | |
WO2022247766A1 (en) | Image processing method and apparatus, and electronic device | |
CN110418056A (en) | A kind of image processing method, device, storage medium and electronic equipment | |
CN108683847A (en) | Photographic method, device, terminal and storage medium | |
CN114584704A (en) | Shooting method and device and electronic equipment | |
CN114025100A (en) | Shooting method, shooting device, electronic equipment and readable storage medium |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20221213 Address after: 201203 1st floor, building 1, Lane 36, Xuelin Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai, 201203 Applicant after: SHANGHAI TRANSSION INFORMATION TECHNOLOGY Ltd. Address before: Room 922 / 926, block a, No. 1, Lane 399, shengxia Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai, 201203 Applicant before: SHANGHAI SPREADRISE COMMUNICATION TECHNOLOGY Ltd. |
|
TA01 | Transfer of patent application right | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180619 |
|
RJ01 | Rejection of invention patent application after publication |