CN109544453A - Image adjusting method and device, electronic equipment, storage medium - Google Patents

Image adjusting method and device, electronic equipment, storage medium Download PDF

Info

Publication number
CN109544453A
CN109544453A CN201811369582.5A CN201811369582A CN109544453A CN 109544453 A CN109544453 A CN 109544453A CN 201811369582 A CN201811369582 A CN 201811369582A CN 109544453 A CN109544453 A CN 109544453A
Authority
CN
China
Prior art keywords
image
size
scaling
adjustment target
original
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811369582.5A
Other languages
Chinese (zh)
Inventor
梁戎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zhongjingpigeon Sports Culture Development Co Ltd
Original Assignee
Beijing Zhongjingpigeon Sports Culture Development Co Ltd
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 Beijing Zhongjingpigeon Sports Culture Development Co Ltd filed Critical Beijing Zhongjingpigeon Sports Culture Development Co Ltd
Priority to CN201811369582.5A priority Critical patent/CN109544453A/en
Publication of CN109544453A publication Critical patent/CN109544453A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Geometry (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Image Processing (AREA)

Abstract

The embodiment of the invention discloses a kind of image adjusting methods comprising obtains an original image, identifies the subject image in original image, determines adjustment target image and its size;The size of the adjustment target image is compared with a predefined size;When the size and the inconsistent predefined size of the adjustment target image, according to the determination scaling of the size of adjustment target image and the predefined size;The original image is zoomed in and out according to the scaling;Original image after scaling is sheared.The image of good quality can be obtained through the embodiment of the present invention, and the invention also discloses corresponding device, electronic equipment and storage mediums.

Description

Image adjusting method and device, electronic equipment, storage medium
Technical field
The invention belongs to field of image processings, and in particular, to a kind of image adjusting method, image adjusting device, electronics Equipment and storage medium.
Background technique
With prevalences such as portable camera, mobile phone, tablet computers, the application very common as people of taking pictures, but often Because a variety of causes, such as the too small reasons such as observation, the Focussing of being difficult of artificial judgment inaccuracy, screen are inaccurate, cause very The captured size for obtaining objects in images image (such as personage, moving object etc.) does not meet ideal when more.For this Situation, people have to receive dissatisfactory image, or edit by hand to image obtained afterwards.However subsequent hand Work carries out image obtained to edit this mode, and many times has both been needed also to need many professional editor abilities.
Summary of the invention
The present invention provides a kind of image adjusting method, image adjusting device, electronic equipment and storage mediums, can be automatic The size for adjusting subject image, improves the quality of image.
To achieve the goals above, the present invention provides a kind of image adjusting methods, comprising: obtains an original image;Know It Chu not subject image in original image;Determine adjustment target image and its size;By it is described adjustment target image size with One predefined size is compared;When the size and the inconsistent predefined size of the adjustment target image, according to adjustment target The size of image and the determination scaling of the predefined size;The original image is zoomed in and out according to the scaling;To contracting Original image after putting is sheared.
Further, it carries out shearing to the original image after scaling to specifically include: the tune in original image after determining scaling The position of whole target image;Determine that the adjustment target image needs the predeterminated position being located in the image after shearing, to scaling Original image afterwards is sheared, so that the adjustment target image is located at the predeterminated position in the image after shearing.
Further, the size for determining adjustment target image includes: when there are when multiple objects image, determining in original image The distribution figure of multiple objects image out;The distribution figure is set as the adjustment target image, the size of the distribution figure is should Adjust the size of target image.
Further, determine adjustment target image and its size include: when in original image there are when multiple objects image, root The adjustment target image and size are determined according to the size of multiple objects image.
To achieve the goals above, the present invention also provides a kind of electronic equipment, comprising: processor and for store can The memory of the computer program run on a processor;Wherein, the processor is for holding when running the computer program The aforementioned image adjusting method of row.
To achieve the goals above, the present invention also provides a kind of computer readable storage mediums, are stored thereon with calculating Machine executable instruction, which is characterized in that the computer executable instructions are for executing image adjusting method above-mentioned.
To achieve the goals above, the present invention also provides a kind of image adjusting devices, comprising: picture recognition module is used In obtaining an original image, the subject image in original image is identified, determine adjustment target image and its size;Compare mould Block, for the size of the adjustment target image to be compared with a predefined size, when size and this of the subject image When predefined size is inconsistent, according to the determination scaling of the size of adjustment target image and the predefined size;Image scaling mould Block, for being zoomed in and out according to the scaling to the original image;Image cut module is used for and to the original graph after scaling As being sheared.
Further, which further includes position determination module, for determining in the original image after scaling The position for adjusting target image, determines that the adjustment target image needs the predeterminated position being located in the image after shearing;Image Shear module is specifically used for shearing the original image after scaling, so that the adjustment target image is in the image after shearing Positioned at the predeterminated position.
Further, which is specifically used for when, there are when multiple objects image, determining multiple objects in original image The distribution figure of body image;The size of the distribution figure is set as the size of the adjustment target image.
Further, the comparison module be specifically used for when in original image there are when multiple objects image, according to multiple objects Image size determines the adjustment target image and size.
The embodiment of the present invention can be by identifying object in original image, and determines that the adjustment target image of object is big It is small, according to the comparison result of adjustment target image size and a default size, image is edited, the figure of better quality is obtained Picture.
Detailed description of the invention
A kind of Fig. 1 image adjusting method flow chart provided in an embodiment of the present invention
Fig. 2 is the schematic diagram that target image is adjusted in the embodiment of the present invention
Fig. 3 is the sub-process figure that shearing step is carried out to the original image after scaling
Fig. 4 is the parts of images schematic diagram of the original image after scaling
Fig. 5 is the schematic diagram of blank image
Fig. 6 is that the blank image is placed in schematic diagram after the scaling on image
Fig. 7 is clip image schematic diagram
Fig. 8 is the module frame chart of image adjusting device
Fig. 9 is the module frame chart of another image adjusting device
Figure 10 is the submodule block diagram of image cut module
Figure 11 is a kind of electronic equipment structural schematic diagram provided in an embodiment of the present invention
Specific embodiment
In order to keep the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, to this hair It is bright to be further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and do not have to It is of the invention in limiting.In addition, as long as technical characteristic involved in the various embodiments of the present invention described below is each other Between do not constitute conflict and can be combined with each other.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
As shown in fig.1, being a kind of image adjusting method flow chart provided in an embodiment of the present invention, the image adjusting method Applied on an electronic device, which can be camera, video camera, desktop computer, laptop, mobile phone, puts down Plate computer or server, the electronic device have processing unit, and the processing unit of the electronic device executes described image adjustment Method.The image adjusting method specifically includes:
An original image is obtained, identifies the subject image in original image, determines adjustment target image and its size (step Rapid S110).
The size of the adjustment target image is compared (step S120) with a predefined size.
When it is described adjustment target image size and the predefined size it is inconsistent when, according to adjustment target image size with The determination scaling (step S130) of the predefined size.
(step S140) is zoomed in and out to the original image according to the scaling.
(step S150) is sheared to the original image after scaling.
The embodiment of the present invention can be by identifying object in original image, and determines that the adjustment target image of object is big It is small, according to the comparison result of adjustment target image size and a default size, image is edited, the figure of better quality is obtained Picture.
In embodiments of the present invention, which can be what current electronic device (filming apparatus) shooting image obtained Image, the image that image or electronic equipment obtained currently browse when can also be instant messaging.The original image can be with It is still image or the still image intercepted from dynamic image.
In the embodiment of the present invention, which can be a specific size, can also be according to a preset rules Determining size.In addition, the predetermined position can be a specific sizes values, it can also be a sizes values range.Preferably , the predefined size can be generated according to the type of object, screening-mode etc..In addition, in embodiments of the present invention, this is predetermined big It is small to can be the size for receiving the input determination of photographer, such as the touch operation (scaling according to photographer in shooting process Or reduce the feature size for touching touch operation or drawing a circle to approve on the screen), it is set as predefined size.It is appreciated that in this hair In bright embodiment, subject image, the size for adjusting target image can be the maximum width and maximum height, image of the image At least one of size;Equally, corresponding predefined size can also be maximum width and maximum height, size extremely It is one of few.
In embodiments of the present invention, the size for determining adjustment target image includes: when there are multiple objects in original image When image, the distribution figure of multiple objects image is determined;Set the distribution figure as adjust target image, the distribution figure Size is the size of the adjustment target image.In embodiments of the present invention, determine that the mode of the distribution figure of subject image has very It is a variety of, such as each subject image is connected by scribing line, the line of the peripheral pixels point of each subject image to link together is constituted The distribution figure of object.Or the figure that side is tangent with the outermost pixel of multiple objects image, such as rectangle is (containing just It is rectangular), polygon, irregular figure etc..It include multiple objects in the image 200 shown in Fig. 2 referring particularly to shown in Fig. 2 Image 210, multiple subject image 210 constitute adjustment target image 220.The embodiment of the present invention, by determining multiple objects The distribution figure of image, adjusts image based on the size of the distribution figure, can keep the complete of objects in images image Property.
In embodiments of the present invention, the size of the adjustment target image is compared with default size includes: when original There are when multiple objects image in image, the adjustment target image and adjustment target figure are determined according to the size of multiple objects image As size.The adjustment target image can be maximum subject image in those subject images, the smallest subject image, the smallest Subject image and the average value of maximum subject image or the average value of all objects image.
Further, when there are multiple certain objects, a first adjustment target is determined according to the size of multiple objects image Image size, and determine that the distribution figure of multiple objects image determines a first adjustment target image size;According to first, Second adjustment target image size obtains different scalings, adjusts image according to the scaling respectively, obtains multiple cut Image after cutting.The embodiment of the invention can not only obtain the reasonable big image comprising multiple objects, but also can obtain The rationally big image of single body image.
In present embodiment, shearing to the original image after scaling can be there are many kinds of mode, for example, being cut out guarantor The image that is complete or keeping the complete arbitrary dimension of all objects in original image for holding adjustment target image, is cut out holding and adjusts Whole target image complete keeps all objects in original image complete, and with an equal amount of image of original image size.
As shown in fig.3, to carry out the sub-process figure of shearing step to the original image after scaling, to original after scaling Image carries out shearing and specifically includes:
The position (step S310) of adjustment target image in original image after determining scaling.
Determine the predeterminated position (step S320) that the adjustment target image needs to be located in the image after shearing.
Original image after scaling is sheared, so that the adjustment target image is pre- positioned at this in the image after shearing Position if (step S330).
In embodiments of the present invention, which is sheared so that subject image position in the image after shearing In the predeterminated position processing mode there are many kinds of: a kind of cut mode be obtain after the predeterminated position and shearing on image, Under, vertical range a1, a2, a3, the a4 on left and right four side;Then it on the basis of adjusting target image position, draws and scales respectively Four Bian Pinghang of original image upper and lower, left and right and vertical range are respectively the straight line of a1, a2, a3, a4, the straight line structure drawn afterwards Rectangularity (containing square), forms edited figure after carrying out color filling to rectangular blank parts (if present) Picture.The color further filled is the default width of color or blank parts edge one of blank parts edge pixel The average color of color in spending;Further, can also part to former blank parts, other than object or other than adjustment target image into Row virtualization.
Another cut mode can be to create a blank image (preferable blank image and original image size one Cause), the predeterminated position is indicated in the blank image, moves on the original image after the blank image is placed in the scaling, makes It obtains the predeterminated position to be overlapped with the position of the adjustment target image in the original image after the scaling, according to the blank image pair Original image after the scaling is sheared, and the blank parts (if present) of blank image is supplemented, the image after forming shearing. The color equally filled is pixel in one predetermined width of color or blank parts edge of blank parts edge pixel point The average color of color;Further, the part other than former blank parts, object or other than adjustment target image can also be carried out empty Change.
Such as refering to what is shown in Fig. 4, the parts of images for the original image after scaling (is deleted since the needs of drawing carry out part Except), image 400 includes the adjustment target image 410 after scaling, and adjustment target image position 420, Ke Yili after the scaling Solution, which is invisible, but for clearer description shear history, so making its visible.With reference to It is the schematic diagram of blank image, the blank image 500 is consistent with original image size, and figure label 510 is default shown in Fig. 5 Position.Refering to what is shown in Fig. 6, the mobile blank image 500 is placed in after the scaling on image 400 so that the predeterminated position 510 with Adjustment target image position 420 after the scaling in image 400 is overlapped, i.e. adjustment target image position 420 and predeterminated position 510 It is overlapped, the original image after the scaling is sheared according to the blank image, i.e., the part that will be indicated in Fig. 6 by oblique line Image cut comes out, and obtains clip image 600.As shown in fig.7, due to there are blank parts 610 in clip image 600 (i.e. The part that is not overlapped of image 400 after blank Figure 50 0 and scaling in Fig. 6, the part indicated for oblique line in Fig. 7), therefore need to be to blank Part 610 carries out color filling.
As shown in fig.8, being a kind of module frame chart of image adjusting device provided in an embodiment of the present invention, the Image Adjusting Device is run on an electronic device, which can be camera, video camera, desktop computer, laptop, hand Machine, tablet computer or server, the electronic device have processing unit, and the processing unit of the electronic device executes described image Adjust device.The image adjusting device 700 specifically includes:
Picture recognition module 710 identifies the subject image in original image, determines and adjust for obtaining an original image Whole target image and its size;
Comparison module 720, for the size of the adjustment target image to be compared with a predefined size, when the object When the size of body image and the predefined size are inconsistent, according to the size of adjustment target image with the predefined size is really reduced puts Ratio;
Image scaling module 730, for being zoomed in and out according to the scaling to the original image;
Image cut module 740 is used for and shears to the original image after scaling.
The embodiment of the present invention can be by identifying object in original image, and determines that the adjustment target image of object is big It is small, according to the comparison result of adjustment target image size and a default size, image is edited, the figure of better quality is obtained Picture.
Further, in embodiments of the present invention, which is specifically used for when there are multiple objects figures in original image When picture, the distribution figure of multiple objects image is determined;The size of the distribution figure is set as the size of the adjustment target image.
Further, in embodiments of the present invention, which is specifically used for when there are multiple objects figures in original image When picture, the adjustment target image and size are determined according to multiple objects image size.
The description described in detail above for please referring to previous image method of adjustment.
As shown in fig.9, for the module frame chart of another image adjusting device provided in an embodiment of the present invention.The image tune Engagement positions are run on an electronic device, which can be camera, video camera, desktop computer, laptop, hand Machine, tablet computer or server, the electronic device have processing unit, and the processing unit of the electronic device executes described image Adjust device.The image adjusting device 900 specifically includes:
Picture recognition module 910 identifies the subject image in original image, determines and adjust for obtaining an original image Whole target image and its size;
Comparison module 920, for the size of the adjustment target image to be compared with a predefined size, when the object When the size of body image and the predefined size are inconsistent, according to the size of adjustment target image with the predefined size is really reduced puts Ratio;
Image scaling module 930, for being zoomed in and out according to the scaling to the original image;
Position determination module 940, for determining the position of the adjustment target image in the original image after scaling, determining should Adjusting target image needs the predeterminated position being located in the image after shearing.
Image cut module 950, for being sheared to the original image after scaling, so that the adjustment target image is being cut It is located at the predeterminated position in image after cutting.
In embodiments of the present invention, which is sheared so that subject image position in the image after shearing In the predeterminated position processing mode there are many kinds of: a kind of cut mode be obtain after the predeterminated position and shearing on image, Under, vertical range a1, a2, a3, the a4 on left and right four side;Then it on the basis of adjusting target image position, draws and scales respectively Four Bian Pinghang of original image upper and lower, left and right and vertical range are respectively the straight line of a1, a2, a3, a4, the straight line structure drawn afterwards Rectangularity (containing square), forms edited figure after carrying out color filling to rectangular blank parts (if present) Picture.The color further filled is the default width of color or blank parts edge one of blank parts edge pixel The average color of color in spending;Further, can also part to former blank parts, other than object or other than adjustment target image into Row virtualization.
Another cut mode can be to create a blank image (preferable blank image and original image size one Cause), the predeterminated position is indicated in the blank image, moves on the original image after the blank image is placed in the scaling, makes It obtains the predeterminated position to be overlapped with the position of the adjustment target image in the original image after the scaling, according to the blank image pair Original image after the scaling is sheared, and the blank parts (if present) of blank image is supplemented, the image after forming shearing. The color equally filled is pixel in one predetermined width of color or blank parts edge of blank parts edge pixel point The average color of color;It further, can also be to the part figure other than former blank parts, subject image or other than adjustment target image As being blurred.
As shown in fig.10, being the submodule block diagram of image cut module.The image cut module 950 includes: image wound Submodule 952 is built, for creating a blank image, the predeterminated position is indicated in the blank image;Image mobile submodule 954, for moving the original image after the blank image is placed in the scaling, so that the original after the predeterminated position and the scaling The position that target image is adjusted in beginning image is overlapped;Shear submodule 956, for according to the blank image to the scaling after Original image is sheared, and the blank parts of blank image are supplemented, the image after forming shearing.It is described in detail above please refer to before The description of face image adjusting method.
Figure 11 is a kind of electronic equipment structural schematic diagram provided in an embodiment of the present invention.The electronic equipment 800 may include One or more central processing units (central processing units, CPU) 810 (for example, one or more Processor) and memory 820, the storage medium 830 (such as one of one or more storage application programs 832 or data 834 A or more than one mass memory unit).Wherein, memory 820 and storage medium 830 can be of short duration storage or persistently deposit Storage.The program for being stored in storage medium 830 may include one or more modules (diagram is not shown), and each module can be with Including being operated to the series of instructions in server.Further, central processing unit 810 can be set to and storage medium 830 communications execute the series of instructions operation in storage medium 830 on server 800.Server 800 can also include one A or more than one power supply 840, one or more wired or wireless network interfaces 850, one or more inputs are defeated Outgoing interface 860, and/or, one or more operating systems 870, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..Step performed by above method embodiment can be based on electricity shown in the Figure 11 Sub- equipment.
The embodiment of the invention also provides a kind of electronic equipment, which includes: processor and can for storing The memory of the computer program run on a processor, wherein the processor when running the computer program for holding The above-mentioned image adjusting method of row.
The embodiment of the invention also provides a kind of storage mediums, are stored thereon with computer instruction, and the instruction is by processor Above-mentioned image adjusting method is realized when execution.
It should be understood that the size of the serial number of each process is not meant to execution sequence in the various embodiments of the application Successively, the execution sequence of each process should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present application Constitute any restriction.
Those of ordinary skill in the art may be aware that mould described in conjunction with the examples disclosed in the embodiments of the present disclosure Block and method and step can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed Scope of the present application.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
The various pieces of this specification are all made of progressive mode and are described, same and similar portion between each embodiment Dividing may refer to each other, and what each embodiment introduced is and other embodiments difference.Especially for device and it is For embodiment of uniting, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to method reality Apply the explanation of example part.
Finally, it should be understood that being not intended to the foregoing is merely the preferred embodiment of technical scheme Limit the protection scope of the application.Obviously, those skilled in the art can carry out various modification and variations without de- to the application From scope of the present application.If these modifications and variations of the application belong to the range of the claim of this application and its equivalent technologies Within, then any modification, equivalent replacement, improvement and so on, should be included within the scope of protection of this application.

Claims (12)

1. a kind of image adjusting method, which is characterized in that including,
An original image is obtained, identifies the subject image in original image, determines adjustment target image and its size;
The size of the adjustment target image is compared with a predefined size;
When the size and the inconsistent predefined size of the adjustment target image, the size according to adjustment target image is pre- with this Determine the determination scaling of size;
The original image is zoomed in and out according to the scaling;
And the original image after scaling is sheared.
2. image adjusting method according to claim 1, which is characterized in that carry out shearing tool to the original image after scaling Body comprises determining that the position of the adjustment target image in the original image after scaling;Determine the adjustment target image after shearing Image in need the predeterminated position being located at, the original image after scaling is sheared, so that the adjustment target image is being cut It is located at the predeterminated position in image after cutting.
3. image adjusting method according to claim 2, which is characterized in that further include: creation one and original image ruler Very little consistent blank image, after indicating that the predeterminated position, the mobile blank image are placed in the scaling in the blank image On original image, so that the predeterminated position is overlapped with the position of the adjustment target image in the original image after the scaling, according to The blank image original image after the scaling is sheared, the blank parts of blank image are supplemented, after forming shearing Image.
4. image adjusting method according to claim 1, which is characterized in that determine that the size for adjusting target image includes: When, there are when multiple objects image, determining the distribution figure of multiple objects image in original image;Set the distribution figure as The adjustment target image, the size of the distribution figure are the size of the adjustment target image.
5. image adjusting method according to claim 1, which is characterized in that determine adjustment target image and its big parcel Include: when in original image there are when multiple objects image, according to the size of multiple objects image determine the adjustment target image and Size.
6. a kind of image adjusting device, which is characterized in that including,
Picture recognition module identifies the subject image in original image, determines adjustment target figure for obtaining an original image Picture and its size;
Comparison module, for the size of the adjustment target image to be compared with a predefined size, when the subject image Size and the predefined size it is inconsistent when, according to adjustment target image size and the predefined size determination scaling;
Image scaling module, for being zoomed in and out according to the scaling to the original image;
Image cut module is used for and shears to the original image after scaling.
7. image adjusting device according to claim 6, which is characterized in that further include: position determination module, for determining The position of adjustment target image in original image after scaling, determines that the adjustment target image needs position in the image after shearing In a predeterminated position;Image cut module is specifically used for shearing the original image after scaling, so that the adjustment target Image is located at the predeterminated position in the image after shearing.
8. image adjusting device according to claim 7, which is characterized in that image cut module includes: image creation Module indicates the predeterminated position for creating a blank image in the blank image;Image mobile submodule, for moving It moves on the original image after the blank image is placed in the scaling, so that being adjusted in the predeterminated position and the original image after the scaling The position of whole target image is overlapped;Submodule is sheared, for carrying out according to the blank image to the original image after the scaling Shearing supplements the blank parts of blank image, the image after forming shearing.
9. image adjusting device according to claim 7, which is characterized in that the comparison module is specifically used for working as original image In there are when multiple objects image, determine the distribution figure of multiple objects image;The size of the distribution figure is set as the tune The size of whole target image.
10. image adjusting device according to claim 7, which is characterized in that the comparison module is specifically used for working as original graph There are when multiple objects image as in, the adjustment target image and size are determined according to multiple objects image size.
11. a kind of electronic equipment characterized by comprising processor and for storing the calculating that can be run on a processor The memory of machine program;Wherein, the processor is for when running the computer program, perform claim to require any one of 1 to 5 The image adjusting method.
12. a kind of computer readable storage medium, is stored thereon with computer executable instructions, which is characterized in that the computer Executable instruction requires 1 to 5 described in any item image adjusting methods for perform claim.
CN201811369582.5A 2018-11-16 2018-11-16 Image adjusting method and device, electronic equipment, storage medium Pending CN109544453A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811369582.5A CN109544453A (en) 2018-11-16 2018-11-16 Image adjusting method and device, electronic equipment, storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811369582.5A CN109544453A (en) 2018-11-16 2018-11-16 Image adjusting method and device, electronic equipment, storage medium

Publications (1)

Publication Number Publication Date
CN109544453A true CN109544453A (en) 2019-03-29

Family

ID=65847829

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811369582.5A Pending CN109544453A (en) 2018-11-16 2018-11-16 Image adjusting method and device, electronic equipment, storage medium

Country Status (1)

Country Link
CN (1) CN109544453A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110162251A (en) * 2019-05-17 2019-08-23 网易(杭州)网络有限公司 Image-scaling method and device, storage medium, electronic equipment
CN110288531A (en) * 2019-07-01 2019-09-27 山东浪潮人工智能研究院有限公司 A kind of assist operators make the method and tool of standard identity card photograph
CN111243229A (en) * 2019-12-31 2020-06-05 浙江大学 Old people falling risk assessment method and system
CN111241940A (en) * 2019-12-31 2020-06-05 浙江大学 Remote control method of robot and human body boundary frame determination method and system
CN112001940A (en) * 2020-08-21 2020-11-27 Oppo(重庆)智能科技有限公司 Image processing method and device, terminal and readable storage medium
CN113035335A (en) * 2021-04-09 2021-06-25 青岛商汤科技有限公司 Screenshot method and device, electronic equipment and storage medium
CN116095249A (en) * 2022-05-30 2023-05-09 荣耀终端有限公司 Video processing method and electronic equipment

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110162251A (en) * 2019-05-17 2019-08-23 网易(杭州)网络有限公司 Image-scaling method and device, storage medium, electronic equipment
CN110162251B (en) * 2019-05-17 2021-06-18 网易(杭州)网络有限公司 Image scaling method and device, storage medium and electronic equipment
CN110288531A (en) * 2019-07-01 2019-09-27 山东浪潮人工智能研究院有限公司 A kind of assist operators make the method and tool of standard identity card photograph
CN110288531B (en) * 2019-07-01 2023-06-13 山东浪潮科学研究院有限公司 Method and tool for assisting operator in making standard identity card photo
CN111243229A (en) * 2019-12-31 2020-06-05 浙江大学 Old people falling risk assessment method and system
CN111241940A (en) * 2019-12-31 2020-06-05 浙江大学 Remote control method of robot and human body boundary frame determination method and system
CN111241940B (en) * 2019-12-31 2022-07-26 浙江大学 Remote control method of robot and human body boundary frame determination method and system
CN112001940A (en) * 2020-08-21 2020-11-27 Oppo(重庆)智能科技有限公司 Image processing method and device, terminal and readable storage medium
CN113035335A (en) * 2021-04-09 2021-06-25 青岛商汤科技有限公司 Screenshot method and device, electronic equipment and storage medium
CN116095249A (en) * 2022-05-30 2023-05-09 荣耀终端有限公司 Video processing method and electronic equipment
CN116095249B (en) * 2022-05-30 2023-10-20 荣耀终端有限公司 Video processing method and electronic equipment

Similar Documents

Publication Publication Date Title
CN109544453A (en) Image adjusting method and device, electronic equipment, storage medium
US20210201445A1 (en) Image cropping method
WO2021169668A1 (en) Image processing method and related device
CN105701834B (en) Automatic picture backup device and method
US10863077B2 (en) Image photographing method, apparatus, and terminal
US9491263B2 (en) Systems and methods for automatically modifying a picture or a video containing a face
US20220105590A1 (en) Method for evaluating a laser cut edge, mobile terminal and system
CN106954053A (en) A kind of trapezoidal distortion correction method and system
JP5811416B2 (en) Image processing apparatus, image processing method, and program
CN112669197A (en) Image processing method, image processing device, mobile terminal and storage medium
CN106228194B (en) Image lookup method and device
CN104093061B (en) Content sharing method and device
CN113486785A (en) Video face changing method, device, equipment and storage medium based on deep learning
CN107092428A (en) A kind of picture amending method and device
CN110191369A (en) Image interception method, apparatus, equipment and storage medium
CN105654531A (en) Method and device for drawing image contour
CN115719356A (en) Image processing method, apparatus, device and medium
CN105808190A (en) Display screen display method and terminal equipment
CN107608733B (en) Picture display method and device and terminal equipment
WO2019196240A1 (en) Photographing method, apparatus, computer device, and storage medium
CN113240578A (en) Image special effect generation method and device, electronic equipment and storage medium
CN111127458B (en) Image pyramid-based target detection method, device and storage medium
CN107491353A (en) Method for recovering internal storage, device and computer-readable recording medium
CN109493276A (en) Picture editting's processing method and processing device, electronic equipment, storage medium
CN112714299B (en) Image display method and device

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190329