CN107608751A - A kind of method and apparatus of display image in the application - Google Patents

A kind of method and apparatus of display image in the application Download PDF

Info

Publication number
CN107608751A
CN107608751A CN201710828914.0A CN201710828914A CN107608751A CN 107608751 A CN107608751 A CN 107608751A CN 201710828914 A CN201710828914 A CN 201710828914A CN 107608751 A CN107608751 A CN 107608751A
Authority
CN
China
Prior art keywords
image
viewing area
displayed
image display
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710828914.0A
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.)
Guang Heng Hengyu (beijing) Technology Co Ltd
Original Assignee
Guang Heng Hengyu (beijing) Technology 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 Guang Heng Hengyu (beijing) Technology Co Ltd filed Critical Guang Heng Hengyu (beijing) Technology Co Ltd
Priority to CN201710828914.0A priority Critical patent/CN107608751A/en
Publication of CN107608751A publication Critical patent/CN107608751A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses a kind of method and apparatus of display image in the application, methods described includes:After application in intelligent terminal starts, the image display area on application interface is determined;Image to be shown is obtained, according to the size and/or shape of the image to be displayed, and the size and/or shape of described image viewing area, determines that the image to be displayed should be in the display mode in described image viewing area;The image to be displayed is shown with the display mode determined in described image viewing area.The technical scheme enables to image to be shown to adapt to image display area automatically, lifts display effect, improves Consumer's Experience.

Description

A kind of method and apparatus of display image in the application
Technical field
The present invention relates to image display technology field, and in particular to a kind of method and apparatus of display image in the application.
Background technology
At present, many applications all have an image display function, but image display pattern all more dullnesses, be generally all by Image is shown as rectangle.Such image display pattern can not meet the needs of user is growing, such as many user's meetings It is upon taking a picture customized shape by image inpainting, so just can not normally shows in the image display area of fixed pattern Show.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome above mentioned problem or at least in part solve on The method and apparatus for stating the display image in the application of problem.
According to one aspect of the present invention, there is provided a kind of method of display image in the application, including:
After application in intelligent terminal starts, the image display area on application interface is determined;
Image to be shown is obtained, according to the size and/or shape of the image to be displayed, and described image viewing area The size and/or shape in domain, determine that the image to be displayed should be in the display mode in described image viewing area;
The image to be displayed is shown with the display mode determined in described image viewing area.
Alternatively, the image display area determined on application interface includes following one or more:
The last image display area used is obtained as the image display area on application interface;
One or more image display areas are preset, are shown on the application interface corresponding with each image display area Image display area choose control, in response to described image viewing area choose control selection instruct, it is determined that with the figure The image display area as corresponding to control is chosen in viewing area;
One or more image display areas are preset, an image display area is randomly selected after application startup.
Alternatively, acquisition image to be shown includes following one or more:
Obtain the image of the camera collection of the intelligent terminal;
Obtain the image that server issues;
Obtain the image stored in the intelligent terminal.
Alternatively, this method also includes:
The object specified is identified in the image gathered from the camera of the intelligent terminal, determines the intelligent terminal Camera and the specified object distance;
The size and/or shape of described image viewing area is determined according to the distance.
Alternatively, the shape of described image viewing area includes following one or more:
The wide and high rectangle into designated ratio, circular, ellipse, triangle, star, self-defined shape.
Alternatively, this method also includes:
Custom images viewing area control is shown on the application interface, in response to being shown to the custom images The selection instruction of region control, shows image display area editing interface in the application;
The parameter of the custom images viewing area of input is received by described image viewing area editing interface and/or is painted The boundary locus of the custom images viewing area of system, it is determined that corresponding custom images viewing area and preserving.
Alternatively, it is described to determine that the image to be displayed include in the display mode in described image viewing area:
The image to be displayed is cut and/or scaled.
Alternatively, described image viewing area includes the first viewing area and the second viewing area, second viewing area Domain is looped around outside first viewing area;
It is described to determine that the image to be displayed include in the display mode in described image viewing area:Treated according to described The size and/or shape of display image, and the size and/or shape of first viewing area, to the image to be displayed Cut and/or scaled;According to the size and/or shape of first viewing area, the size of second viewing area And/or shape and the image to be displayed after cutting and/or scaling is handled, determined from the image to be displayed The part shown in second viewing area;Virtualization processing is carried out to the part shown in the second viewing area.
According to another aspect of the present invention, there is provided a kind of device of display image in the application, including:
Image display area determining unit, after starting suitable for the application in intelligent terminal, determine the figure on application interface As viewing area;
Display unit, suitable for obtaining image to be shown, according to the size and/or shape of the image to be displayed, and The size and/or shape of described image viewing area, determine that what the image to be displayed should be in described image viewing area shows Show mode;The image to be displayed is shown with the display mode determined in described image viewing area.
Alternatively, described image viewing area determining unit, suitable for obtaining the last image display area conduct used Image display area on application interface;And/or one or more image display areas are preset, show on the application interface Show that image display area corresponding with each image display area chooses control, in response to choosing control to described image viewing area Selection instruction, it is determined that choosing the corresponding image display area of control with described image viewing area;And/or default one or Multiple images viewing area, an image display area is randomly selected after application startup.
Alternatively, described image viewing area determining unit, the figure of the camera collection suitable for obtaining the intelligent terminal Picture;And/or obtain the image that server issues;And/or obtain the image stored in the intelligent terminal.
Alternatively, the device also includes:
Recognition unit, suitable for identifying the object specified in the image that is gathered from the camera of the intelligent terminal, really The distance of the camera and the specified object of the fixed intelligent terminal;
Described image viewing area determining unit, suitable for determining the size of described image viewing area according to the distance And/or shape.
Alternatively, the shape of described image viewing area includes following one or more:
The wide and high rectangle into designated ratio, circular, ellipse, triangle, star, self-defined shape.
Alternatively, the display unit, it is further adapted for showing custom images viewing area control on the application interface, Instructed in response to the selection to custom images viewing area control, show image display area editor in the application Interface;
Described image viewing area determining unit, it is further adapted for receiving input by described image viewing area editing interface The parameter of custom images viewing area and/or the boundary locus of the custom images viewing area of drafting, it is determined that accordingly certainly Define image display area and preserve.
Alternatively, the display unit, suitable for the image to be displayed is cut and/or scaled.
Alternatively, described image viewing area includes the first viewing area and the second viewing area, second viewing area Domain is looped around outside first viewing area;
The display unit, suitable for the size and/or shape according to the image to be displayed, and first viewing area The size and/or shape in domain, the image to be displayed is cut and/or scaled;According to the chi of first viewing area Very little and/or shape, the size and/or shape of second viewing area and through cutting and/or scaling processing after wait show Diagram picture, the part shown in the second viewing area is determined from the image to be displayed;To described in the second viewing area The part shown in domain carries out virtualization processing.
From the foregoing, technical scheme, after the application on intelligent terminal starts, is determined on application interface Image display area, and image to be shown is obtained, shown according to the size and/or shape of image to be displayed, and image The size and/or shape in region, determine that image to be displayed should be in the display mode in image display area, according to the display of determination Mode is completed to show.The technical scheme enables to image to be shown to adapt to image display area automatically, lifts display effect, Improve Consumer's Experience.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this area Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 shows a kind of flow signal of the method for display image in the application according to an embodiment of the invention Figure;
Fig. 2 shows the instruction schematic diagram of image display area according to an embodiment of the invention;
Fig. 3 shows a kind of structural representation of the device of display image in the application according to an embodiment of the invention Figure.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Completely it is communicated to those skilled in the art.
Fig. 1 shows a kind of flow signal of the method for display image in the application according to an embodiment of the invention Figure, as shown in figure 1, this method includes:
Step S110, after the application in intelligent terminal starts, determine the image display area on application interface.
Step S120, image to be shown is obtained, shown according to the size and/or shape of image to be displayed, and image The size and/or shape in region, determine that image to be displayed should be in the display mode in image display area.
Step S130, image to be displayed is shown with the display mode determined in image display area.
It can be seen that the method shown in Fig. 1, after the application on intelligent terminal starts, determines that the image on application interface is shown Region, and image to be shown is obtained, according to the chi of the size and/or shape of image to be displayed, and image display area Very little and/or shape, determine that image to be displayed should be completed in the display mode in image display area according to the display mode of determination Display.The technical scheme enables to image to be shown to adapt to image display area automatically, lifts display effect, improves use Experience at family.
In one embodiment of the invention, in the above method, determine that the image display area on application interface is included such as Under one or more:The last image display area used is obtained as the image display area on application interface;It is default One or more image display areas, show that image display area corresponding with each image display area is chosen on application interface Control, instructed in response to the selection that control is chosen to image display area, it is determined that it is corresponding to choose control with image display area Image display area;One or more image display areas are preset, an image display area is randomly selected after application starts.
Several examples for determining the image display area on application interface are shown in the present embodiment.For example, may be used When application starts, to obtain the image display area used before being closed using last time, or show from default multiple images One is randomly selected in region.Or after application starts, an image display area is manually selected by user.
In one embodiment of the invention, in the above method, obtaining image to be shown includes following one kind or more Kind:Obtain the image of the camera collection of intelligent terminal;Obtain the image that server issues;Obtain the figure stored in intelligent terminal Picture.
For example, application can be camera applications, can be by camera collection image, and now image display area can To be view-finder;Using can also be live application, the image (generally comprising in video streaming) issued is obtained from server;Or Person is common image procossing application, can access the storage of intelligent terminal, and the image of specified format is read under specified path File.
In one embodiment of the invention, above-mentioned this method also includes:The image gathered from the camera of intelligent terminal In identify the object specified, determine the camera of intelligent terminal and the distance of specified object;Image is determined according to distance The size and/or shape of viewing area.
For example, when determine the camera of intelligent terminal and specified object it is distant when, by the chi of image display area It is very little to be arranged to larger, it is on the contrary then be arranged to smaller.The relation of distance and size can be realized by preset function relation.Target Thing can be certain objects or artificiality in people, animal, plant, nature etc., and user can be selected according to demand, Identification object can realize that each object recognizer can be beforehand through engineering by object recognizer What acquistion was arrived.Namely in one embodiment of the invention, the above method also includes:On the interface of application show one or Multiple objects choose control, and each object chooses control and corresponds to a kind of object recognizer respectively;From taking the photograph for intelligent terminal As head gather image in identify that the object specified includes:Selection in response to one or more objects are chosen with control Operation, it is determined that object recognizer used in identification object.
In one embodiment of the invention, in the above method, the shape of image display area include following one kind or It is a variety of:The wide and high rectangle into designated ratio, circular, ellipse, triangle, star, self-defined shape.
Designated ratio can be that user generally prefers that the ratio used, such as 4:3、16:9,1:1 etc..Image display area Shape can be it is preset in the application or user pass through application it is customized.
In one embodiment of the invention, the above method also includes:Show that custom images are shown on application interface Region control, instructed in response to the selection to custom images viewing area control, show that image display area is compiled in the application Editing interface;Parameter and/or the drafting of the custom images viewing area of input are received by image display area editing interface The boundary locus of custom images viewing area, it is determined that corresponding custom images viewing area and preserving.
A kind of example of custom images viewing area is given in the present embodiment, such as is determined by Freehandhand-drawing self-defined Image display area, certainly, it is contemplated that the unstability of Freehandhand-drawing, several default self defined area moulds can also be provided the user with Plate so that user (radius, focal length etc.) can be finely adjusted by way of arrange parameter, can also combine these modes Come.
In one embodiment of the invention, in the above method, determine that image to be displayed should be in image display area Display mode includes:Image to be displayed is cut and/or scaled.
For example, the size of image to be displayed is more than the size of image display area, it is possible to is suitably reduced, or cut Cut a part, it is on the contrary then it can be amplified.
In one embodiment of the invention, in the above method, image display area includes the first viewing area and second Viewing area, the second viewing area are looped around outside the first viewing area;Determine that image to be displayed should be in image display area Display mode includes:It is right according to the size and/or shape of image to be displayed, and the size and/or shape of the first viewing area Image to be displayed is cut and/or scaled;According to the size and/or shape of the first viewing area, the chi of the second viewing area Very little and/or shape and through cutting and/or scaling processing after image to be displayed, determined from image to be displayed the The part shown in two viewing areas;Virtualization processing is carried out to the part shown in the second viewing area.
It is referred to Fig. 2, the dark gray section in Fig. 2 corresponds to the second viewing area, and bright gray parts, which correspond to, to be waited to show Part of the diagram as shown in the second viewing area, bright gray parts and white portion are the first viewing area altogether.It is real On border, image to be displayed is shown after cutting/scaling in the first viewing area, and the image of bright gray parts is passed through After virtualization processing, shown in the second viewing area.It has been achieved in that and a kind of Fuzzy Processing has been amplified to image border Effect, similar to the water droplet under reality scene.
Fig. 3 shows a kind of structural representation of the device of display image in the application according to an embodiment of the invention Figure, as shown in figure 3, the device 300 of display image includes in the application:
Image display area determining unit 310, after starting suitable for the application in intelligent terminal, determine on application interface Image display area.
Display unit 320, suitable for obtaining image to be shown, according to the size and/or shape of image to be displayed, Yi Jitu As the size and/or shape of viewing area, determine that image to be displayed should be in the display mode in image display area;Will be to be shown Image is shown with the display mode determined in image display area.
It can be seen that the device shown in Fig. 3, by the mutual cooperation of each unit, after the application on intelligent terminal starts, it is determined that Image display area on application interface, and obtain image to be shown, according to the size and/or shape of image to be displayed, And the size and/or shape of image display area, determine that image to be displayed should be in the display mode in image display area, root Display is completed according to the display mode of determination.The technical scheme enables to image to be shown to adapt to image display area automatically, Display effect is lifted, improves Consumer's Experience.
In one embodiment of the invention, in said apparatus, image display area determining unit 310, suitable in acquisition The image display area of first use is as the image display area on application interface;And/or preset one or more images and show Show region, show that image display area corresponding with each image display area chooses control on application interface, in response to figure The selection that control is chosen as viewing area instructs, it is determined that image display area corresponding with image display area selection control;With/ Or, one or more image display areas are preset, randomly select an image display area after application starts.
Several examples for determining the image display area on application interface are shown in the present embodiment.For example, may be used When application starts, to obtain the image display area used before being closed using last time, or show from default multiple images One is randomly selected in region.Or after application starts, an image display area is manually selected by user.
In one embodiment of the invention, in said apparatus, image display area determining unit 310, suitable for obtaining intelligence The image of the camera collection of energy terminal;And/or obtain the image that server issues;And/or obtain and stored in intelligent terminal Image.
For example, application can be camera applications, can be by camera collection image, and now image display area can To be view-finder;Using can also be live application, the image (generally comprising in video streaming) issued is obtained from server;Or Person is common image procossing application, can access the storage of intelligent terminal, and the image of specified format is read under specified path File.
In one embodiment of the invention, said apparatus also includes:Recognition unit (not shown), suitable for from intelligent end Identify the object specified in the image of the camera collection at end, determine the camera of intelligent terminal and specified object away from From;Image display area determining unit, suitable for determining the size and/or shape of image display area according to distance.
For example, when determine the camera of intelligent terminal and specified object it is distant when, by the chi of image display area It is very little to be arranged to larger, it is on the contrary then be arranged to smaller.The relation of distance and size can be realized by preset function relation.Target Thing can be certain objects or artificiality in people, animal, plant, nature etc., and user can be selected according to demand, Identification object can realize that each object recognizer can be beforehand through engineering by object recognizer What acquistion was arrived.Namely in one embodiment of the invention, the above method also includes:On the interface of application show one or Multiple objects choose control, and each object chooses control and corresponds to a kind of object recognizer respectively;From taking the photograph for intelligent terminal As head gather image in identify that the object specified includes:Selection in response to one or more objects are chosen with control Operation, it is determined that object recognizer used in identification object.
In one embodiment of the invention, in said apparatus, the shape of image display area include following one kind or It is a variety of:The wide and high rectangle into designated ratio, circular, ellipse, triangle, star, self-defined shape.
Designated ratio can be that user generally prefers that the ratio used, such as 4:3、16:9,1:1 etc..Image display area Shape can be it is preset in the application or user pass through application it is customized.
In one embodiment of the invention, in said apparatus, display unit 320, it is further adapted for showing on application interface Custom images viewing area control, instruct in response to the selection to custom images viewing area control, show in the application Image display area editing interface;Image display area determining unit 310, it is further adapted for connecing by image display area editing interface The boundary locus of the parameter of the custom images viewing area of input and/or the custom images viewing area of drafting is received, it is determined that Corresponding custom images viewing area simultaneously preserves.
A kind of example of custom images viewing area is given in the present embodiment, such as is determined by Freehandhand-drawing self-defined Image display area, certainly, it is contemplated that the unstability of Freehandhand-drawing, several default self defined area moulds can also be provided the user with Plate so that user (radius, focal length etc.) can be finely adjusted by way of arrange parameter, can also combine these modes Come.
In one embodiment of the invention, in said apparatus, display unit 320, suitable for being cut to image to be displayed Cut and/or scale.
For example, the size of image to be displayed is more than the size of image display area, it is possible to is suitably reduced, or cut Cut a part, it is on the contrary then it can be amplified.
In one embodiment of the invention, in said apparatus, image display area includes the first viewing area and second Viewing area, the second viewing area are looped around outside the first viewing area;Display unit 320, suitable for the chi according to image to be displayed Very little and/or shape, and the size and/or shape of the first viewing area, are cut and/or are scaled to image to be displayed;Root According to the size and/or shape of the first viewing area, the size and/or shape of the second viewing area and by cutting and/or contracting The image to be displayed after processing is put, the part shown in the second viewing area is determined from image to be displayed;To second The part shown in viewing area carries out virtualization processing.
It is referred to Fig. 2, the dark gray section in Fig. 2 corresponds to the second viewing area, and bright gray parts, which correspond to, to be waited to show Part of the diagram as shown in the second viewing area, bright gray parts and white portion are the first viewing area altogether.It is real On border, image to be displayed is shown after cutting/scaling in the first viewing area, and the image of bright gray parts is passed through After virtualization processing, shown in the second viewing area.It has been achieved in that and a kind of Fuzzy Processing has been amplified to image border Effect, similar to the water droplet under reality scene.
In summary, technical scheme, after the application on intelligent terminal starts, the figure on application interface is determined As viewing area, and image to be shown is obtained, according to the size and/or shape of image to be displayed, and image display area The size and/or shape in domain, determine that image to be displayed should be in the display mode in image display area, according to the display side of determination Formula completes display.The technical scheme enables to image to be shown to adapt to image display area automatically, lifts display effect, carries High Consumer's Experience.
It should be noted that:
Algorithm and display be not inherently related to any certain computer, virtual bench or miscellaneous equipment provided herein. Various fexible units can also be used together with teaching based on this.As described above, required by constructing this kind of device Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that it can utilize various Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the specification that this place provides, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect, Above in the description to the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor The application claims of shield features more more than the feature being expressly recited in each claim.It is more precisely, such as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following embodiment are expressly incorporated in the embodiment, wherein each claim is in itself Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power Profit requires, summary and accompanying drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation Replace.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed One of meaning mode can use in any combination.
The all parts embodiment of the present invention can be realized with hardware, or to be run on one or more processor Software module realize, or realized with combinations thereof.It will be understood by those of skill in the art that it can use in practice Microprocessor either realize according to some in the device of display image in the application or complete by digital signal processor (DSP) The some or all functions of portion's part.The present invention be also implemented as a part for performing method as described herein or Person whole equipment or program of device (for example, computer program and computer program product).It is such to realize the present invention's Program can store on a computer-readable medium, or can have the form of one or more signal.Such signal It can download and obtain from internet website, either provide on carrier signal or provided in the form of any other.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of some different elements and being come by means of properly programmed computer real It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame Claim.
The invention discloses A1, a kind of method of display image in the application, wherein, this method includes:
After application in intelligent terminal starts, the image display area on application interface is determined;
Image to be shown is obtained, according to the size and/or shape of the image to be displayed, and described image viewing area The size and/or shape in domain, determine that the image to be displayed should be in the display mode in described image viewing area;
The image to be displayed is shown with the display mode determined in described image viewing area.
A2, the method as described in A1, wherein, the image display area determined on application interface includes following one kind It is or a variety of:
The last image display area used is obtained as the image display area on application interface;
One or more image display areas are preset, are shown on the application interface corresponding with each image display area Image display area choose control, in response to described image viewing area choose control selection instruct, it is determined that with the figure The image display area as corresponding to control is chosen in viewing area;
One or more image display areas are preset, an image display area is randomly selected after application startup.
A3, the method as described in A1, wherein, acquisition image to be shown includes following one or more:
Obtain the image of the camera collection of the intelligent terminal;
Obtain the image that server issues;
Obtain the image stored in the intelligent terminal.
A4, the method as described in A3, wherein, this method also includes:
The object specified is identified in the image gathered from the camera of the intelligent terminal, determines the intelligent terminal Camera and the specified object distance;
The size and/or shape of described image viewing area is determined according to the distance.
A5, the method as described in A1, wherein, the shape of described image viewing area includes following one or more:
The wide and high rectangle into designated ratio, circular, ellipse, triangle, star, self-defined shape.
A6, the method as described in A1, wherein, this method also includes:
Custom images viewing area control is shown on the application interface, in response to being shown to the custom images The selection instruction of region control, shows image display area editing interface in the application;
The parameter of the custom images viewing area of input is received by described image viewing area editing interface and/or is painted The boundary locus of the custom images viewing area of system, it is determined that corresponding custom images viewing area and preserving.
A7, the method as described in A1, wherein, it is described to determine that the image to be displayed be in described image viewing area Display mode includes:
The image to be displayed is cut and/or scaled.
A8, the method as described in A7, wherein, described image viewing area includes the first viewing area and the second viewing area Domain, second viewing area are looped around outside first viewing area;
It is described to determine that the image to be displayed include in the display mode in described image viewing area:Treated according to described The size and/or shape of display image, and the size and/or shape of first viewing area, to the image to be displayed Cut and/or scaled;According to the size and/or shape of first viewing area, the size of second viewing area And/or shape and the image to be displayed after cutting and/or scaling is handled, determined from the image to be displayed The part shown in second viewing area;Virtualization processing is carried out to the part shown in the second viewing area.
The invention also discloses B9, a kind of device of display image in the application, wherein, the device includes:
Image display area determining unit, after starting suitable for the application in intelligent terminal, determine the figure on application interface As viewing area;
Display unit, suitable for obtaining image to be shown, image to be shown is obtained, according to the chi of the image to be displayed Very little and/or shape, and the size and/or shape of described image viewing area, determine that the image to be displayed should be in the figure As the display mode in viewing area;The image to be displayed is entered with the display mode determined in described image viewing area Row display.
B10, the device as described in B9, wherein,
Described image viewing area determining unit, suitable for obtaining the last image display area used as application interface On image display area;And/or one or more image display areas are preset, display and each figure on the application interface Image display area chooses control as corresponding to viewing area, refers in response to the selection that control is chosen to described image viewing area Order, it is determined that image display area corresponding with described image viewing area selection control;And/or preset one or more images Viewing area, an image display area is randomly selected after application startup.
B11, the device as described in B9, wherein,
Described image viewing area determining unit, the image of the camera collection suitable for obtaining the intelligent terminal;With/ Or, obtain the image that server issues;And/or obtain the image stored in the intelligent terminal.
B12, the device as described in B11, wherein, the device also includes:
Recognition unit, suitable for identifying the object specified in the image that is gathered from the camera of the intelligent terminal, really The distance of the camera and the specified object of the fixed intelligent terminal;
Described image viewing area determining unit, suitable for determining the size of described image viewing area according to the distance And/or shape.
B13, the device as described in B9, wherein, the shape of described image viewing area includes following one or more:
The wide and high rectangle into designated ratio, circular, ellipse, triangle, star, self-defined shape.
B14, the device as described in B9, wherein,
The display unit, it is further adapted for showing custom images viewing area control on the application interface, in response to Selection instruction to custom images viewing area control, shows image display area editing interface in the application;
Described image viewing area determining unit, it is further adapted for receiving input by described image viewing area editing interface The parameter of custom images viewing area and/or the boundary locus of the custom images viewing area of drafting, it is determined that accordingly certainly Define image display area and preserve.
B15, the device as described in B9, wherein,
The display unit, suitable for the image to be displayed is cut and/or scaled.
B16, the device as described in B15, wherein, described image viewing area includes the first viewing area and the second viewing area Domain, second viewing area are looped around outside first viewing area;
The display unit, suitable for the size and/or shape according to the image to be displayed, and first viewing area The size and/or shape in domain, the image to be displayed is cut and/or scaled;According to the chi of first viewing area Very little and/or shape, the size and/or shape of second viewing area and through cutting and/or scaling processing after wait show Diagram picture, the part shown in the second viewing area is determined from the image to be displayed;To described in the second viewing area The part shown in domain carries out virtualization processing.

Claims (10)

1. a kind of method of display image in the application, wherein, this method includes:
After application in intelligent terminal starts, the image display area on application interface is determined;
Image to be shown is obtained, according to the size and/or shape of the image to be displayed, and described image viewing area Size and/or shape, determine that the image to be displayed should be in the display mode in described image viewing area;
The image to be displayed is shown with the display mode determined in described image viewing area.
2. the method for claim 1, wherein the image display area determined on application interface includes following one Kind is a variety of:
The last image display area used is obtained as the image display area on application interface;
One or more image display areas are preset, image corresponding with each image display area is shown on the application interface Control is chosen in viewing area, is instructed in response to the selection that control is chosen to described image viewing area, it is determined that showing with described image Show that image display area corresponding to control is chosen in region;
One or more image display areas are preset, an image display area is randomly selected after application startup.
3. the method for claim 1, wherein acquisition image to be shown includes following one or more:
Obtain the image of the camera collection of the intelligent terminal;
Obtain the image that server issues;
Obtain the image stored in the intelligent terminal.
4. method as claimed in claim 3, wherein, this method also includes:
The object specified is identified in the image gathered from the camera of the intelligent terminal, determines taking the photograph for the intelligent terminal As the distance of head and the specified object;
The size and/or shape of described image viewing area is determined according to the distance.
5. the method for claim 1, wherein the shape of described image viewing area includes following one or more:
The wide and high rectangle into designated ratio, circular, ellipse, triangle, star, self-defined shape.
6. the method for claim 1, wherein this method also includes:
Custom images viewing area control is shown on the application interface, in response to the custom images viewing area The selection instruction of control, shows image display area editing interface in the application;
Parameter and/or the drafting of the custom images viewing area of input are received by described image viewing area editing interface The boundary locus of custom images viewing area, it is determined that corresponding custom images viewing area and preserving.
7. the method for claim 1, wherein described determine that the image to be displayed should be in described image viewing area Display mode include:
The image to be displayed is cut and/or scaled.
8. method as claimed in claim 7, wherein, described image viewing area includes the first viewing area and the second viewing area Domain, second viewing area are looped around outside first viewing area;
It is described to determine that the image to be displayed include in the display mode in described image viewing area:According to described to be shown The size and/or shape of image, and the size and/or shape of first viewing area, the image to be displayed is carried out Cutting and/or scaling;According to the size and/or shape of first viewing area, the size of second viewing area and/or Shape and the image to be displayed after cutting and/or scaling is handled, are determined aobvious second from the image to be displayed Show the part shown in region;Virtualization processing is carried out to the part shown in the second viewing area.
9. a kind of device of display image in the application, wherein, the device includes:
Image display area determining unit, after starting suitable for the application in intelligent terminal, determine that the image on application interface shows Show region;
Display unit, suitable for obtaining image to be shown, image to be shown is obtained, according to the size of the image to be displayed And/or shape, and the size and/or shape of described image viewing area, determine that the image to be displayed should be in described image Display mode in viewing area;The image to be displayed is carried out with the display mode determined in described image viewing area Display.
10. device as claimed in claim 9, wherein,
Described image viewing area determining unit, suitable for obtaining the last image display area used as on application interface Image display area;And/or one or more image display areas are preset, show on the application interface and show with each image Show that image display area corresponding to region chooses control, instructed in response to the selection that control is chosen to described image viewing area, It is determined that image display area corresponding with described image viewing area selection control;And/or preset one or more images and show Region, an image display area is randomly selected after application startup.
CN201710828914.0A 2017-09-14 2017-09-14 A kind of method and apparatus of display image in the application Pending CN107608751A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710828914.0A CN107608751A (en) 2017-09-14 2017-09-14 A kind of method and apparatus of display image in the application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710828914.0A CN107608751A (en) 2017-09-14 2017-09-14 A kind of method and apparatus of display image in the application

Publications (1)

Publication Number Publication Date
CN107608751A true CN107608751A (en) 2018-01-19

Family

ID=61063471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710828914.0A Pending CN107608751A (en) 2017-09-14 2017-09-14 A kind of method and apparatus of display image in the application

Country Status (1)

Country Link
CN (1) CN107608751A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108510457A (en) * 2018-03-28 2018-09-07 京东方科技集团股份有限公司 Image correction method, device, display equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1691740A (en) * 2004-04-23 2005-11-02 欧姆龙株式会社 Magnified display apparatus and magnified image control apparatus
CN103164119A (en) * 2013-02-25 2013-06-19 东莞宇龙通信科技有限公司 Communication terminal and self-adaption display method of images
CN104104863A (en) * 2013-04-15 2014-10-15 欧姆龙株式会社 Image display apparatus and method of controlling image display apparatus
CN104835114A (en) * 2015-05-06 2015-08-12 山东大学 Image self-adaptive display method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1691740A (en) * 2004-04-23 2005-11-02 欧姆龙株式会社 Magnified display apparatus and magnified image control apparatus
CN103164119A (en) * 2013-02-25 2013-06-19 东莞宇龙通信科技有限公司 Communication terminal and self-adaption display method of images
CN104104863A (en) * 2013-04-15 2014-10-15 欧姆龙株式会社 Image display apparatus and method of controlling image display apparatus
CN104835114A (en) * 2015-05-06 2015-08-12 山东大学 Image self-adaptive display method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108510457A (en) * 2018-03-28 2018-09-07 京东方科技集团股份有限公司 Image correction method, device, display equipment

Similar Documents

Publication Publication Date Title
CN107592474A (en) A kind of image processing method and device
CN107493440A (en) A kind of method and apparatus of display image in the application
CN107635104A (en) A kind of method and apparatus of special display effect in the application
US9202299B2 (en) Hint based spot healing techniques
CN109859113B (en) Model generation method, image enhancement method, device and computer-readable storage medium
CN108924420A (en) Image capturing method, device, medium, electronic equipment and model training method
CN107633541A (en) The generation method and device of a kind of image special effect
CN107633488A (en) A kind of image processing method and device
CN108495058A (en) Image processing method, device and computer readable storage medium
CN109919209A (en) A kind of domain-adaptive deep learning method and readable storage medium storing program for executing
CN104333696A (en) View-finding processing method, view-finding processing device and client
CN107633479A (en) A kind of method and apparatus of special display effect in the application
CN110298380A (en) Image processing method, device and electronic equipment
CN107633480A (en) A kind of image processing method and device
US20220164952A1 (en) Capture and Storage of Magnified Images
CN106843631A (en) A kind of method and apparatus for processing application icon
CN110149475B (en) Image shooting method and device, electronic device, storage medium and computer equipment
CN113568666A (en) Image processing method and device, storage medium and processor
CN108696699A (en) A kind of method and apparatus of video processing
CN109241930B (en) Method and apparatus for processing eyebrow image
CN108876726A (en) Method, apparatus, system and the computer storage medium of image procossing
CN107608751A (en) A kind of method and apparatus of display image in the application
CN106791469A (en) The processing method and processing device of view data
CN111191558B (en) Robot and face recognition teaching method and storage medium thereof
CN107133981A (en) Image processing 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180119

RJ01 Rejection of invention patent application after publication