CN110060203A - Image display method, image display apparatus, electronic equipment and storage medium - Google Patents

Image display method, image display apparatus, electronic equipment and storage medium Download PDF

Info

Publication number
CN110060203A
CN110060203A CN201910325380.9A CN201910325380A CN110060203A CN 110060203 A CN110060203 A CN 110060203A CN 201910325380 A CN201910325380 A CN 201910325380A CN 110060203 A CN110060203 A CN 110060203A
Authority
CN
China
Prior art keywords
target photo
color
target
display
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
CN201910325380.9A
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.)
BOE Technology Group Co Ltd
Original Assignee
BOE Technology Group 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 BOE Technology Group Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN201910325380.9A priority Critical patent/CN110060203A/en
Publication of CN110060203A publication Critical patent/CN110060203A/en
Priority to PCT/CN2020/075654 priority patent/WO2020215861A1/en
Pending legal-status Critical Current

Links

Classifications

    • G06T3/04

Abstract

Present disclose provides a kind of image display method, image display apparatus, electronic equipment and computer readable storage mediums, belong to image display technology field.The method is applied to display equipment, and a display area is presented in the display equipment;The described method includes: obtaining Target Photo to be shown;Detect whether the Target Photo matches with the size of the display area;If the Target Photo is matched with the size of the display area, the Target Photo is shown in the display area;If the size of the Target Photo and the display area mismatches, the Target Photo is shown in the display area, and display background image at least one subregion in region is not filled by around the Target Photo.The aesthetics and flexibility that picture is shown can be improved in the disclosure.

Description

Image display method, image display apparatus, electronic equipment and storage medium
Technical field
This disclosure relates to image display technology field more particularly to a kind of image display method, image display apparatus, electronics Equipment and computer readable storage medium.
Background technique
On the electronic equipment that computer, electronic painted screen etc. have display screen, it is often necessary to be displayed in full screen picture, such as full frame Under the scenes such as broadcasting, picture presentation, screen protection.However the unmatched situation of the size or ratio of picture and display screen is also usually Occur, currently used method is that picture is carried out to certain stretching, makes the size of its adaptive screen, but can destroy in this way The original ratio of picture leads in picture the distortion of object and visual uncoordinated, influences the aesthetics of picture.
It should be noted that information is only used for reinforcing the reason to the background of the disclosure disclosed in above-mentioned background technology part Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
Present disclose provides a kind of image display method, image display apparatus, electronic equipment and computer-readable storages Medium, and then overcome the problems, such as that existing image display method aesthetics is lower at least to a certain extent.
Other characteristics and advantages of the disclosure will be apparent from by the following detailed description, or partially by the disclosure Practice and acquistion.
According to one aspect of the disclosure, a kind of image display method is provided, display equipment, the display equipment are applied to A display area is presented;The described method includes: obtaining Target Photo to be shown;Detect the Target Photo and the viewing area Whether the size in domain matches;If the Target Photo is matched with the size of the display area, in the display area Show the Target Photo;If the size of the Target Photo and the display area mismatches, in the display area The middle display Target Photo, and display background figure at least one subregion in region is not filled by around the Target Photo Picture.
It is described to show the Target Photo in the display area in a kind of exemplary embodiment of the disclosure, and Display background image at least one subregion in region is not filled by around the Target Photo, comprising: in the viewing area The Target Photo is shown in domain, and is not filled by region around the Target Photo and shows the background image, so that described Display area is filled up by the Target Photo and the background image.
In a kind of exemplary embodiment of the disclosure, the method also includes: believed according to the picture of the Target Photo Breath, the determining and matched background image of the Target Photo.
In a kind of exemplary embodiment of the disclosure, the pictorial information includes the representative color of the Target Photo; The method also includes: the frequency of occurrences of color category appeared in the Target Photo and each color is counted, and is selected The wherein highest at least one color of the frequency of occurrences, the representative color as the Target Photo.
In a kind of exemplary embodiment of the disclosure, the method also includes: obtain the frame of the display equipment Characteristic information;The pictorial information according to the Target Photo, the determining and matched background image of the Target Photo, packet Include: characteristic information and the pictorial information based on the frame, determination are matched with the Target Photo and the frame Background image.
In a kind of exemplary embodiment of the disclosure, the pictorial information includes the representative color of the Target Photo, The characteristic information includes the color of the frame;The characteristic information based on the frame and the pictorial information determine With the Target Photo and the matched background image of the frame, comprising: determine that the color of the frame represents face with described The intermediate color of color;Based on the intermediate color determination and the Target Photo and the matched background image of the frame.
In a kind of exemplary embodiment of the disclosure, the color that represents includes that the frequency of occurrences is most in the Target Photo High m kind color;The intermediate color is determined by following formula: Wherein, i is in [1, m] Arbitrary integer, CiFor i-th kind of color in the m kind color, fiFor CiThe frequency of occurrences in the Target Photo, F are described The color of frame, E are the intermediate color.
In a kind of exemplary embodiment of the disclosure, the m kind color is that the frequency of occurrences is higher than in the Target Photo The color of preset threshold.
In a kind of exemplary embodiment of the disclosure, the pictorial information according to the Target Photo, determining and institute State the matched background image of Target Photo, comprising: according to the pictorial information of the Target Photo, searched in effect material database with The matched background image of Target Photo.
In a kind of exemplary embodiment of the disclosure, the method also includes: obtain multiple samples pictures and multiple back Scape material, the background material include any of the following or a variety of: pure color filling, gradient color filling, texture padding or pattern Filling;For each samples pictures, the matching relationship of the samples pictures and one or more background materials is obtained, To construct the effect material database.
In a kind of exemplary embodiment of the disclosure, the matching relationship includes matching degree;It is described to obtain multiple samples Picture and multiple background materials, comprising: the sample arranged in pairs or groups from internet hunt samples pictures and background material;It is described for each The samples pictures obtain the matching relationship of the samples pictures and one or more background materials, to construct the effect Fruit material database, comprising: by analyzing the sample, obtain each samples pictures and one or more backgrounds The matching degree of material, to construct the effect material database.
In a kind of exemplary embodiment of the disclosure, the pictorial information according to the Target Photo, in effect element It is searched and the matched background image of the Target Photo in material library, comprising: searched and the target in the effect material database The same or similar samples pictures of picture, as target sample picture;According in the effect material database with the target sample The background material of picture match generates the background image.
It is described to be searched and the Target Photo in the effect material database in a kind of exemplary embodiment of the disclosure The same or similar samples pictures, as target sample picture, comprising: calculate in the Target Photo and the effect material database The similarity of each samples pictures, will be with the highest samples pictures of Target Photo similarity as the target sample figure Piece.
It is described to show the Target Photo in the display area in a kind of exemplary embodiment of the disclosure, and Display background image at least one subregion in region is not filled by around the Target Photo, comprising: by the target figure Piece and the background image merge into new images, and the new images are shown in the display area.
According to one aspect of the disclosure, a kind of image display apparatus is provided, display equipment, the display equipment are applied to A display area is presented, described device includes: that picture obtains module, for obtaining Target Photo to be shown;Size detection mould Whether block matches for detecting the Target Photo with the size of the display area;First display module, if for described Target Photo is matched with the size of the display area, then shows the Target Photo within the display area;Second display Module shows institute if mismatched for the size of the Target Photo and the display area in the display area Target Photo is stated, and is not filled by display background image at least one subregion in region around the Target Photo.
In a kind of exemplary embodiment of the disclosure, second display module in the display area for showing The Target Photo, and be not filled by region around the Target Photo and show the background image, so that the display area It is filled up by the Target Photo and the background image.
In a kind of exemplary embodiment of the disclosure, described device further include: background determination module, for according to The pictorial information of Target Photo, the determining and matched background image of the Target Photo.
In a kind of exemplary embodiment of the disclosure, the pictorial information includes the representative color of the Target Photo; The picture obtains module further include: pictorial information acquiring unit, for counting color kind appeared in the Target Photo The frequency of occurrences of class and each color, and the wherein highest at least one color of the frequency of occurrences is selected, as the Target Photo Representative color.
In a kind of exemplary embodiment of the disclosure, the picture obtains module further include: frame information acquisition unit, For obtaining the characteristic information of the frame of the display equipment;The background determination module is for the feature letter based on the frame Breath and the pictorial information, determining and the Target Photo and the matched background image of the frame.
In a kind of exemplary embodiment of the disclosure, the pictorial information includes the representative color of the Target Photo, The characteristic information includes the color of the frame;The background determination module includes: intermediate color determination unit, for determining The color of the frame and the intermediate color for representing color;Background image determination unit, for being based on the intermediate color Determining and the Target Photo and the matched background image of the frame.
In a kind of exemplary embodiment of the disclosure, the color that represents includes that the frequency of occurrences is most in the Target Photo High m kind color;The intermediate color is determined by following formula: Wherein, i is in [1, m] Arbitrary integer, CiFor i-th kind of color in the m kind color, fiFor CiThe frequency of occurrences in the Target Photo, F are described The color of frame, E are the intermediate color.
In a kind of exemplary embodiment of the disclosure, the m kind color is that the frequency of occurrences is higher than in the Target Photo The color of preset threshold.
In a kind of exemplary embodiment of the disclosure, the background determination module is also used to according to the Target Photo Pictorial information, in effect material database search with the matched background image of the Target Photo.
In a kind of exemplary embodiment of the disclosure, described device further includes material database building module, the material database Construct module includes: sample acquisition unit again, for obtaining multiple samples pictures and multiple background materials, the background material packet Include it is following any one or more: pure color filling, gradient color filling, texture padding or pattern filling;Determination unit is matched, is used for For each samples pictures, the matching relationship of the samples pictures and one or more background materials is obtained, with structure Build the effect material database.
In a kind of exemplary embodiment of the disclosure, the matching relationship includes matching degree;The sample acquisition unit, Sample for arranging in pairs or groups from internet hunt samples pictures and background material;The matching determination unit, for by described Sample is analyzed, and the matching degree of each samples pictures and one or more background materials is obtained, described in building Effect material database.
In a kind of exemplary embodiment of the disclosure, the background determination module includes: target sample searching unit, is used In the lookup in the effect material database and the same or similar samples pictures of the Target Photo, as target sample picture; Background image generation unit, for being generated according in the effect material database with the background material of the target sample picture match The background image.
In a kind of exemplary embodiment of the disclosure, the target sample searching unit, for calculating the target figure The similarity of each samples pictures in piece and the effect material database, will be with the highest samples pictures of Target Photo similarity As the target sample picture.
In a kind of exemplary embodiment of the disclosure, second display module, be also used to by the Target Photo with The background image merges into new images, and the new images are shown in the display area.
According to one aspect of the disclosure, a kind of electronic equipment is provided, comprising: processor;Memory, it is described for storing The executable instruction of processor;And display, a display area for rendering;Wherein, the processor is configured to via holding The executable instruction go to execute image display method described in above-mentioned any one, within the display area described in display The implementing result of executable instruction.
In a kind of exemplary embodiment of the disclosure, further includes: imaging sensor, for obtaining the side of the display The characteristic information of frame.
According to one aspect of the disclosure, a kind of computer readable storage medium is provided, computer program is stored thereon with, The computer program realizes image display method described in above-mentioned any one when being executed by processor.
The exemplary embodiment of the disclosure has the advantages that
When Target Photo and display area size mismatch, region addition Background is not filled by around Target Photo The display of picture visually has stronger associative perception and harmonious feeling, improves picture so that the effect that full-screen picture is shown is presented The aesthetics of display.In addition, if Target Photo is matched with the size of display area, background image is not added, thus to difference The picture of size takes different display methods, flexibility with higher.
In a kind of exemplary embodiment of the disclosure, matched background is determined according to the pictorial information of Target Photo Image can determine different background images for different pictures, to improve the diversity that picture is shown.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.It should be evident that the accompanying drawings in the following description is only the disclosure Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 shows the schematic diagram for being displayed in full screen picture in the related technology;
Fig. 2 shows the process step figures of image display method a kind of in the present exemplary embodiment;
Fig. 3 shows a kind of schematic diagram of image display effect in the present exemplary embodiment;
Fig. 4 shows the process step figure of another image display method in the present exemplary embodiment;
Fig. 5 shows hue circle schematic diagram;
Fig. 6 shows a kind of flow diagram of image display method in the present exemplary embodiment;
Fig. 7 shows the flow diagram of another image display method in the present exemplary embodiment;
Fig. 8 shows the schematic diagram of another image display effect in the present exemplary embodiment;
Fig. 9 shows a kind of structural block diagram of image display apparatus in the present exemplary embodiment;
Figure 10 shows a kind of electronic equipment for realizing the above method in the present exemplary embodiment;
Figure 11 shows in the present exemplary embodiment another kind for realizing the electronic equipment of the above method
Figure 12 shows a kind of computer readable storage medium for realizing the above method in the present exemplary embodiment.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will more Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Described feature, knot Structure or characteristic can be incorporated in any suitable manner in one or more embodiments.
In a kind of scheme of the relevant technologies, as shown in Figure 1, in the size automatic adjusument picture 110 according to display screen 100 When size, retain the original ratio of picture 110, if 110 ratio of picture and 100 ratio of display screen are different, outside picture 110 It encloses and reserves certain " black surround " 120 (or " white edge ").Although can guarantee that picture ratio is not destroyed in this way, picture is not Really complete full screen display, the presence of " black surround " will affect the perception of picture entirety, and aesthetics is still lower.
In view of various problems above-mentioned, the exemplary embodiment of the disclosure provides firstly a kind of image display method, can To be applied to display equipment, which is presented a display area.In the present exemplary embodiment, display equipment refer to have it is aobvious Electronic equipment of display screen, such as computer, mobile phone, smart television, digital photo frame, electronic painted screen etc. include viewing area in display screen Domain refers to the whole region that can be used for presenting graphic user interface.As shown in Fig. 2, this method may comprise steps of:
Step S210 obtains Target Photo to be shown;
Whether step S220, detection Target Photo match with the size of display area;
Step S230, if Target Photo is matched with the size of display area, the displaying target picture in display area;
Step S240, if the size of Target Photo and display area mismatches, the displaying target figure in display area Piece, and display background image at least one subregion in region is not filled by around Target Photo.
Wherein, Target Photo can be the local picture that user specifies, the picture or electric from other downloaded from network The picture that synchronous (being transmitted by wired or wireless connection type) obtains in sub- equipment, the disclosure do not limit this.Target figure Piece matched with the size of display area refer to Target Photo can full frame (or close to full frame) be shown in display area, originally show In example property embodiment, the size of Target Photo can be gradually scaled, until: Target Photo is amplified to full-size and (amplifies again then The case where being likely to occur picture blur), at this time if Target Photo and the registration of display area (such as can be with lower than preset value It is 95% etc.), then the two size mismatches;Or the length or wide equal with display area of Target Photo, at this time if target figure Piece and the registration of display area are lower than preset value, then the two size mismatches.It can certainly be based on the original of Target Photo Size or Pixel Information calculate whether it matches with display area.
If the two size matches, it can be displayed in full screen Target Photo, used when if above-mentioned detection matching certainly 95% equal preset values are as standard, then after displaying target picture, remaining 5% may be not filled by region in display area, right The influence of aesthetics is smaller, can ignore.
If the two size mismatches, normal displaying target picture there remains around Target Photo more at this time Be not filled by region.Generally for beauty, Target Photo is shown in the centre of display area, region is not filled by and is likely located at The surrounding of Target Photo, it is also possible to be located at upper and lower two sides or left and right sides etc., naturally it is also possible to which Target Photo is shown in display The side in region is then not filled by region and is located at the other side, and the disclosure does not limit this.Being not filled by region can be with display background Image, background image can be pure color filling, gradient color filling, texture padding or pattern filling etc., be also possible to a variety of fillings In conjunction with effect, such as gradient color add texture padding, gradient color add pattern filling etc..It, can be complete in the present exemplary embodiment Portion is not filled by display background image in region, so that display area is filled up by Target Photo and background image, realizes complete Full screen display, can also at least one subregion for being not filled by region display background image, such as background image only position There remains around the side of Target Photo or background image it is certain be not filled by region etc., it is specific so as to meet Display needs, such as the frame of display area has a specific modelling, and matching background image and a part are not filled by region can be with Special effect or background image, which is presented, has specific pattern, is not suitable for being filled up completely and is not filled by region etc..
In one exemplary embodiment, Target Photo and background image can also be merged into new images, in display area Middle display new images can obtain new images with direct splicing Target Photo and background image, can also do to the boundary of the two Some desalinations or virtualization processing etc., processing target picture and background image in a manner of new images can increase associative perception, also just It stores in by new images to local, for subsequent use.
Fig. 3 shows the display effect of displaying target picture 310 and background image 320 in display area 300, according to aobvious Show that the adjustable Target Photo 310 of the size in region 300 to arbitrary dimension, can also keep the original size of Target Photo 310, Around Target Photo 310 be not filled by region can display background image 320, the two together forms the effect of full screen display.
In one exemplary embodiment, the process of image display method can be as shown in Figure 4, wherein in detection target figure After the size of piece and display area mismatches, step S231 can be executed: according to the pictorial information of Target Photo, determining and target The background image of picture match.The pictorial information of Target Photo can refer to that picture style, distribution of color, color composition, tone are taken With etc. the characteristic informations of many aspects can be according to the pictorial information in terms of wherein one or more in this example embodiment Determine background image.Background image matched with Target Photo specifically refer to background image and Target Photo visually present it is relatively strong Associative perception and harmonious feeling, such as: according to the distribution of color at Target Photo edge determine pure color or gradient color filling Background Picture, so that the edge of background image and Target Photo has certain continuity;Or according to the style of Target Photo determine with Its style is consistent or similar background image, so that background image visually shows the extension sense of Target Photo;Or root Multiple and its shade-matched blend background image is provided alternately according to the dominant hue of Target Photo, and user is allow therefrom to select one It is a as final background image.Different Target Photos can be matched to obtain different due to its pictorial information difference Background image.After determining background image, step S240 can be executed, it is shown in display area with Target Photo jointly It is interior.
Based on above description, this example embodiment is when Target Photo and display area size mismatch, in target figure Around piece be not filled by region addition background image display, the effect that full-screen picture show is presented, visually with compared with Strong associative perception and harmonious feeling improves the aesthetics that picture is shown.In addition, if the size of Target Photo and display area With not adding background image then, so that different display methods is taken various sizes of picture, flexibility with higher.? In a kind of exemplary embodiment of the disclosure, matched background image is determined according to the pictorial information of Target Photo, it can be with Different background images is determined for different pictures, to improve the diversity that picture is shown.
Above-mentioned pictorial information may include the representative color of Target Photo, and representing color can be the background face of Target Photo Color or the representative color of dominant hue etc. are capable of the primary color of generality expression Target Photo.In one exemplary embodiment, generation Table color is also possible to the highest color of the frequency of occurrences in Target Photo, can be determined by following steps:
The frequency of occurrences of color category and each color appeared in Target Photo is counted, and selects the wherein frequency of occurrences Highest at least one color, the representative color as Target Photo.
It is described further below by several specific embodiments, but following the description should not be to the protection scope of the disclosure It causes to limit:
(1) usage frequency serial method first scans Target Photo, determines the color data of each pixel, such as can be RGB color value or HSL color value count the frequency of occurrence of color category and each color appeared in picture, wherein occurring The most color of number, the i.e. highest color of the frequency of occurrences are the representative color of Target Photo.
(2) also with the occurrence out of color category appeared in Frequency Sequence legally constituted authority meter Target Photo and each color Number, selects wherein frequency of occurrences highest and belongs to the several color of same form and aspect, as representing color, or takes it average Value (or weighted average) obtains representing color, or with the mass-tone of the form and aspect is to represent color.
(3) intermediate certain region is dismissed from Target Photo, remainder is the fringe region of Target Photo, to edge The method that region executes above-mentioned (1) or (2).
(4) Target Photo is divided into several sub-regions, for example, can rule of thumb be divided into 8*8,16*16,4*3 or 16*9 sub-regions.The frequency that the various colors of statistics Target Photo occurs in all subregion, the frequency refer in whole sons There is some color in how many sub-regions in region, if such as Target Photo is divided into 16*9=144 sub-regions, In have in 102 sub-regions and magenta (R255, G0, B255) all occur, then the frequency that magenta occurs is 102/144= 70.8%.In the method, the highest color of frequency is the representative color of Target Photo.
Color is represented based on above-mentioned, the image of color pure color filling can be represented using this as the Background of Target Photo Picture can also represent color with the gradient color filling of colour system or the pattern filling of same hue etc. as background image using this.
Further, if the highest m kind color conduct of the frequency of occurrences represents color, step in selection target picture S231 can be realized especially by following steps:
Based on above-mentioned m kind color, pass through following formula (1) determination and the matched background color D of Target Photo;
It is generated and the matched background image of Target Photo according to background color D;
Wherein, m can be random natural number, and i is the arbitrary integer in [1, m], CiFor i-th kind in above-mentioned m kind color Color, fiFor CiThe frequency of occurrences in Target Photo.Formula (1) is considered as using the frequency of occurrences of m kind color as its power Weight, is weighted and averaged m kind color, obtains an average color, i.e. background color D, be to Target Photo color characteristic High level overview.Background image can be with the filling of the pure color of background color D, D with the gradient color filling of colour system, D with tone figure Case filling etc., the disclosure does not limit this.
It should be noted that color therein can be expressed as RGB component if Target Photo is RGB mode, it is right Each component calculates the RGB component of background color D by formula (1);HSL component can be calculated separately under HSL mode, ash Above-mentioned calculating can be carried out to gray value under degree mode.In addition, m can be predetermined numerical value, such as determine selection target The frequency of occurrences highest 5 kinds or 10 kinds of colors are to represent color in picture, can also be determined about the default of the color frequency of occurrences Threshold value, all colours using the frequency of occurrences in Target Photo higher than the preset threshold are as color is represented, then the numerical value of m is not true It is fixed, for example, all colours using the frequency of occurrences higher than 10% are as color is represented, if there is 3 kinds of colors meet the requirements, then m It is 3, the disclosure is not specially limited preset threshold.
In one exemplary embodiment, the characteristic information of the frame of display equipment can also be obtained, and based on the frame The pictorial information of characteristic information and Target Photo, common determination and Target Photo and the matched background image of frame.
Wherein, frame refer to display equipment entity frame, color or texture etc. usually with the shell color phase of equipment Together, also there is exception certainly, the characteristic information of frame may include the various aspects such as the color of frame, texture, pattern, shape Information, the disclosure do not limit this.In this example embodiment, the figure of frame region can be shot by external camera Picture identifies that the bounding box features in image, external camera can also be replaced by another electronic equipment for having shooting function, such as The framing image of digital photo frame is shot by mobile phone, then by modes such as bluetooth, USB, wireless networks by image transmitting to electronics Photo frame makes it identify the feature of frame.If frame is common pure color frame, characteristic information mainly includes color, also It can be preselected by user and determine the color, such as palette can be provided, making user, frame selects color wherein, passes through Full-screen preview (color of full screen display subscriber frame choosing) or edge preview (show subscriber frame choosing in the fringe region close to frame Color) mode so that user is intuitively judged whether the color consistent with border color, so as to accurately select side Frame color, for the border color of default, if the subsequent display equipment for replacing other colors or frame, can select side again Frame color.
It, can be jointly true according to both sides information after obtaining the pictorial information of characteristic information and Target Photo of frame Determine background image, since background image is between Target Photo and frame, more beautiful display effect available in this way. In the present exemplary embodiment, the transition effect from Target Photo to frame, such as the representative color by Target Photo can be generated Gradient color to border color is filled, or in view of frame and Target Photo are not on same plane, can present has The background image of perspective view effect keeps Target Photo and being connected for frame more natural.
Further, in one exemplary embodiment, the pictorial information of Target Photo refers mainly to the representative face of Target Photo The characteristic information of color, frame refers mainly to the color of frame, then can determine the color of frame and represent the intermediate color of color, and Based on intermediate color determination and the matched background image of Target Photo.
Wherein, intermediate color refers to the color between the color of frame and the representative color of Target Photo, can be One color is also possible to one group of color.When being displayed in full screen picture, from the centre of display screen to edge, it is followed successively by target figure Piece, background image, frame, in order to show associative perception, the transition that background image can be made to play from Target Photo to frame is made With, therefore background image can be determined based on intermediate color.For example: if border color belongs to color is represented with of the same colour Phase, intermediate color can be one group of gradient color between above-mentioned two color, and background image can be gradient color filling;If frame Color belongs to different form and aspect from color is represented, and can obtain intermediate color with two-tone mean value, background image can be in Between color be mass-tone, border color is added and represents the effect of color (or two-tone advancing colour) pattern;In practical application, After determining intermediate color, arbitrary pattern can be added and form background image using intermediate color as mass-tone.
Present disclose provides the exemplary embodiments of color among following several calculating, but following the description should not be to the disclosure Protection scope cause to limit:
(1) RGB color mode is used, if representing color as (R1, G1, B1), border color is (R2, G2, B2), then may be used To calculate intermediate color by formula (2) (including following 3 formula) as (R3, G3, B3):
Wherein, a, b, c are the constant greater than 0, and a+b+c=1.The calculating process of formula (2) can be stated are as follows: first divide It is other to represent R, G of color and border color, B component is averaging, then is mixed to get intermediate face according to different ratios to R, G, B Color, value, that is, mixed proportion of a, b, c, can be empirically determined, can also be adjusted according to different form and aspect with actual demand It is whole, such as represent color and belong to green hue with border color, then it can suitably increase the numerical value of b.Such as 12 hue circles of Fig. 5 Shown, usual colour match is advisable with being no more than three kinds, that is, is no more than the range of three kinds of form and aspect, because determining background image When, same to form and aspect, same to lightness, the collocation with saturation degree can be used, guarantee that Target Photo, background image and frame are shown more Unified appearance color, such as red+orange red+orange, bluish-green+indigo plant+royal purple etc. determine that this may be implemented in intermediate color using the above method Purpose.
(2) if representing color as (R1, G1, B1), border color is (R2, G2, B2), then can pass through formula (3) (packet Include following 3 formula) centre color is calculated as (R3, G3, B3):
R3=pR1+qR2;
G3=pG1+qG2;
B3=pB1+qB2; (3)
Wherein, p, q are not greater than 0 constant, and p+q=1.It can be flat by representing the weighting of color and border color Intermediate color is obtained, p and q are respectively the weighted value for representing color and border color, more generally for background image is emphasized Ground is matched with Target Photo, and p can be greater than 0.5, naturally it is also possible to be adjusted according to the actual situation, such as represent color and belong to When dark color system, border color belong to light color, it can suitably reduce p numerical value, or represent color accounting in Target Photo It is relatively low, it can also suitably reduce the numerical value of p.
(3) if the highest m kind color of the frequency of occurrences is denoted as C as color is represented in selection target picture1~Cm, frame Color is F, then intermediate color E can be calculated by formula (4):
In other words, the m kind of Target Photo is represented color to be averaging respectively with border color F, obtains m average color, The frequency of occurrences f using m kind color in Target Photo is weighted and averaged m average color, obtains intermediate face as weight again Color E.Such calculation can fully take into account the influence of the Color Distribution Features and border color of Target Photo, obtain The higher background image of matching degree.
In one exemplary embodiment, the process of image display method can be as shown in Figure 6: step S610, obtains target Picture;Whether step S620, detection Target Photo match with the size of display area;Step S630, if it does, then can be just Normal full screen display Target Photo, makes it be full of entire display area just;Step S640, if it does not match, extracting target The representative color of picture;Step S650, while detecting the border color of display equipment;Step S660, according to representing color and side Frame color determines intermediate color;Step S670, then background image, background image and Target Photo and side are determined based on intermediate color Frame is matched;Step S680, combines Target Photo with background image and is shown in display area, to realize picture Full screen display.
The disclosure additionally provides another exemplary embodiment on how to determine background image, specifically, step S231 can be realized by following steps:
According to the pictorial information of Target Photo, searched and the matched background image of Target Photo in effect material database.
Wherein, effect material database is one constructed in advance and has gathered the data of Matching Relation between a large amount of pictures and material Collocation etc. between collocation, color between library, such as color and color and the collocation between pattern or picture, picture and pattern Deng.Extract pictorial information from Target Photo, such as represent color, edge color, can be searched in effect material database and its Matched background image material, to obtain background image.
In one exemplary embodiment, image display method can also include the steps that following building effect material database:
Obtain multiple samples pictures and multiple background materials, background material includes any of the following or a variety of: pure color is filled out It fills, gradient color is filled, texture padding or pattern are filled;
For each samples pictures, the matching relationship of the samples pictures and one or more background materials is obtained, with building Said effect material database.
Wherein, samples pictures are a large amount of representative pictures collected in advance, such as may include typical pure color Picture, the static images of various objects, the typical picture etc. of the various styles such as ink and wash, oil painting, picture with scenes, personal portrait; Certainly, according to the difference of application scenarios, the coverage area of samples pictures can be reduced, such as the present exemplary embodiment is applied to Personage can collect the representative picture of personage's self-timer theme, pointedly from when the displaying taken pictures to construct small-sized effect Material database.Samples pictures can be searched for from internet and be obtained, and can also be obtained from local or other databases, the disclosure pair This is without limitation.
Similar, background material needed for constructing effect material database can also be from internet, local or other databases It obtains, is also based on certain mechanism and generates background material, such as by changing color, changing line from a seed material Reason, change pattern etc. generate a series of materials.
In the present exemplary embodiment, monochromatic collocation method, advancing colour collocation method etc. can use, extract from background material single Color forms a series of colors by changing monochromatic form and aspect, saturation degree, lightness, builds between the background material and these colors Vertical matching relationship, or by collecting colour match relationship to establish matching relationship, then by color mapping to samples pictures, thus The matching relationship of samples pictures and background material is obtained, or samples pictures and background material are established by the artificial scoring of user Matching relationship, matching relationship may include whether matching or matching degree quantificational expression.It can be with structure according to the above method Effect material database is built, searches suitable background image in order to subsequent.
In one exemplary embodiment, the step of building effect material database may include:
The sample arranged in pairs or groups from internet hunt samples pictures and background material;
By analyzing above-mentioned sample, the matching degree of each samples pictures and one or more background materials is obtained, To construct effect material database.
Wherein, samples pictures and the sample of background material collocation may include picture (the edge effect work of belt edge effect For background material), the poster (poster background is as background material) inlayed with picture, the dress designing (clothes inlayed with picture Background color is as background material) etc., related sample information can be crawled from internet by reptile instrument.After obtaining sample, Picture therein and background are split, picture is as samples pictures, and background is as background material, then the heat based on each sample The data such as degree, user's favorable comment degree, search frequency, comprehensive analysis obtains the matching degree of samples pictures and background material, to construct Effect material database.
The effect material database constructed based on samples pictures can determine background by following steps in practical applications Image:
Lookup and the same or similar samples pictures of Target Photo in effect material database, as target sample picture;
Background image is generated with the background material of target sample picture match according in effect material database.
Wherein it is possible to calculate the similarity of each samples pictures in Target Photo and effect material database, such as SSIM (Structural Similarity Index, structural similarity), cosine similarity etc., will be with Target Photo similarity highest Samples pictures as target sample picture, samples pictures can also be carried out with the classification of multiple dimensions, such as picture style, generation Table color, dominant hue etc., if all dimensional informations of sample image and Target Photo are all identical or identical number of dimensions most It is more, then it is target sample picture.In effect material database, the background material of target sample picture match is searched, is based on the material Can carry out it is appropriate cut, beautification, color adjustment etc., available background image, if target sample picture match is multiple Background material then can choose wherein matching degree highest one, generate background image.
In one exemplary embodiment, the overall flow of image display method can be as shown in Figure 7: step S710, obtains Target Photo;Whether step S720, detection Target Photo match with the size of display area;Step S730, if it does, then can To be normally displayed in full screen Target Photo, it is made to be full of entire screen just;Step S740, if it does not match, extracting target The pictorial information of picture;Then step S750 passes through step S760 in the pictorial information input effect material database of Target Photo Or step S770 determines background image;Step S760, it is automatic to search effect material database and the matched background image of Target Photo;Step Rapid S770, user manually select suitable background image;Step S780, after determining background image, can by Target Photo with Background image combination is shown in display area.
In one exemplary embodiment, background image can be the effect of simulation picture scroll expansion;Correspondingly, step S231 can To be realized by following steps:
According to the determination of the pictorial information of Target Photo and the matched edge filling effect of Target Photo;
Using edge filling effect as picture scroll background, the effect of simulation picture scroll expansion is obtained.
Wherein, the effect of simulation picture scroll expansion can be as shown in the background image 820 in Fig. 8, and the left and right sides is picture scroll Effect, in addition internal painting canvas filling effect, the visual impression of a width picture scroll, Neng Goujin are together formed with Target Photo 810 One step improves aesthetics.In the present exemplary embodiment, background filling effect, example can be determined according to the pictorial information of Target Photo Such as to match the color of Target Photo as mass-tone, certain texture is added, the filling effect of paper, painting canvas is formed, is made For picture scroll background, the figure of picture scroll curling is added in two sides, forms final background image, the i.e. effect of simulation picture scroll expansion.When So, can also increase in background image it is some inlay, intersperse, the elements such as text, to obtain the effect of multiplicity, the disclosure is to this It is not specially limited.
It in one exemplary embodiment, can also be with reference to the frame of display equipment when determining above-mentioned background filling effect Color can be believed such as in fig. 8 according to the color of the frame 830 of display area 800 and the picture of Target Photo 810 Breath, it is common to determine background filling effect (be in reference formula (2)~(4) part method).
The effect of picture scroll simulation is only a kind of example of background image, the effect that can also be opened using such as simulation books Fruit, the effect for simulating drawing board etc..
The exemplary embodiment of the disclosure additionally provides a kind of image display apparatus, can be applied to display equipment, display A display area is presented in equipment.As shown in figure 9, the device 900 may include: that picture obtains module 910, it is to be shown for obtaining Target Photo;Whether size detection module 920 matches for detecting Target Photo with the size of display area;First display Module 930, if matched for Target Photo with the size of display area, the displaying target picture in display area;Second Display module 940, if mismatched for the size of Target Photo and display area, the displaying target figure in display area Piece, and display background image at least one subregion in region is not filled by around Target Photo.
In one exemplary embodiment, the second display module 940 can be used for the displaying target picture in display area, and Region display background image is not filled by around Target Photo, so that display area is filled up by Target Photo and background image.
In one exemplary embodiment, image display apparatus 900 can also include: background determination module, for according to mesh It marks on a map the pictorial information of piece, it is determining with the matched background image of Target Photo.
In one exemplary embodiment, above-mentioned pictorial information may include the representative color of Target Photo;Picture obtains mould Block 910 can also include: pictorial information acquiring unit, for counting color category appeared in Target Photo and each color The frequency of occurrences, and select the wherein highest at least one color of the frequency of occurrences, the representative color as Target Photo.
In one exemplary embodiment, it can also include: frame information acquisition unit that picture, which obtains module 910, for obtaining Take the characteristic information of the frame of display equipment;Background determination module can be used for characteristic information and pictorial information based on frame, Determining and Target Photo and the matched background image of frame.
In one exemplary embodiment, above-mentioned pictorial information may include the representative color of Target Photo, features described above letter Breath may include the color of frame;Background determination module may include: intermediate color determination unit, for determining the color of frame With the intermediate color for representing color;Background image determination unit, for based on the determination of intermediate color and Target Photo and frame Matched background image.
In one exemplary embodiment, the above-mentioned color that represents may include the highest m kind face of the frequency of occurrences in Target Photo Color;Above-mentioned intermediate color can be determined by following formula:Wherein, i is any whole in [1, m] Number, CiFor i-th kind of color in m kind color, fiFor CiThe frequency of occurrences in Target Photo, F are the color of frame, and E is centre Color.
In one exemplary embodiment, above-mentioned m kind color is the color that the frequency of occurrences is higher than preset threshold in Target Photo.
In one exemplary embodiment, background determination module can be also used for the pictorial information according to Target Photo, imitate It is searched and the matched background image of Target Photo in fruit material database.
In one exemplary embodiment, image display apparatus 900 can also include that material database constructs module, material database building Module may include: sample acquisition unit again, for obtaining multiple samples pictures and multiple background materials, background material include with Descend any one or more: pure color filling, gradient color filling, texture padding or pattern filling;Match determination unit, for for Each samples pictures obtain the matching relationship of samples pictures and one or more background materials, to construct effect material database.
In one exemplary embodiment, above-mentioned matching relationship may include matching degree;Sample acquisition unit can be used for from The sample of internet hunt samples pictures and background material collocation;Matching determination unit can be used for by dividing sample Analysis obtains the matching degree of each samples pictures and one or more background materials, to construct effect material database.
In one exemplary embodiment, background determination module may include: target sample searching unit, in effect element Lookup and the same or similar samples pictures of Target Photo in material library, as target sample picture;Background image generation unit is used According in effect material database with the background material of target sample picture match generate background image.
In one exemplary embodiment, target sample searching unit can be used for calculating in Target Photo and effect material database The similarity of each samples pictures, will be with the highest samples pictures of Target Photo similarity as target sample picture.
In one exemplary embodiment, the second display module 940 can be also used for merging Target Photo with background image For new images, new images are shown in display area.
The detail of each module/unit has carried out in corresponding method section Example in detail in above-mentioned apparatus Description, therefore repeat no more.
The exemplary embodiment of the disclosure additionally provides a kind of electronic equipment that can be realized the above method.
Person of ordinary skill in the field it is understood that various aspects of the disclosure can be implemented as system, method or Program product.Therefore, various aspects of the disclosure can be with specific implementation is as follows, it may be assumed that complete hardware embodiment, complete The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here Referred to as circuit, " module " or " system ".
The electronic equipment 1000 of this exemplary embodiment according to the disclosure is described referring to Figure 10.Figure 10 is shown Electronic equipment 1000 be only an example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
As shown in Figure 10, electronic equipment 1000 may include: processor 1010, memory 1020 and display 1030, In, memory 1020 is used for the executable instruction of storage processor 1010, the display area for rendering of display 1030, processing Device 1010 is configured to execute any means in this example embodiment via the executable instruction is executed, such as can execute Fig. 2, Fig. 3, Fig. 6 or method and step shown in Fig. 7, and the idsplay order implementing result in display area.The electronic equipment 1000 It can be computer, mobile phone, tablet computer, smart television, digital photo frame or electronic painted screen etc..
In one exemplary embodiment, electronic equipment can also include imaging sensor, for obtaining the frame of display Characteristic information, the characteristic information of frame is used to determine background image jointly with the pictorial information of Target Photo.Imaging sensor It can be external camera, such as when electronic equipment is electronic painted screen, external take the photograph can be set on the wall on its opposite As head obtains characteristic information to shoot the frame of electronic painted screen.
In one exemplary embodiment, as shown in figure 11, electronic equipment 1100 can in the form of universal computing device table Existing, component can include but is not limited to: at least one processing unit 1110, at least one storage unit 1120, connection are different The bus 1130 of system component (including storage unit 1120 and processing unit 1110), display unit 1140.
Wherein, storage unit is stored with program code, and program code can be executed with unit 1110 processed, so that processing is single Member 1110 executes the step of example embodiment each according to the disclosure described in above-mentioned " illustrative methods " part of this specification.
Storage unit 1120 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit (RAM) 1121 and/or cache memory unit 1122, it can further include read-only memory unit (ROM) 1123.
Storage unit 1120 can also include program/utility with one group of (at least one) program module 1125 1124, such program module 1125 includes but is not limited to: operating system, one or more application program, other program moulds It may include the realization of network environment in block and program data, each of these examples or certain combination.
Bus 1130 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures Local bus.
Electronic equipment 1100 can also be with one or more external equipments 1300 (such as keyboard, sensing equipment, bluetooth equipment Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 1100 communicate, and/or with make The electronic equipment 1100 can with it is one or more of the other calculating equipment be communicated any equipment (such as router, modulation Demodulator etc.) communication.This communication can be carried out by input/output (I/O) interface 1150.Also, electronic equipment 1100 Network adapter 1160 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public affairs can also be passed through Common network network, such as internet) communication.As shown, network adapter 1160 passes through its of bus 1130 and electronic equipment 1100 The communication of its module.It should be understood that although not shown in the drawings, other hardware and/or software can be used in conjunction with electronic equipment 1100 Module, including but not limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, magnetic Tape drive and data backup storage system etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the disclosure The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating Equipment (can be personal computer, server, terminal installation or network equipment etc.) is executed according to the exemplary implementation of the disclosure The method of example.
The exemplary embodiment of the disclosure additionally provides a kind of computer readable storage medium, and being stored thereon with can be realized The program product of this specification above method.In some possible embodiments, various aspects of the disclosure can also be realized For a kind of form of program product comprising program code, when program product is run on the terminal device, program code is used for Execute terminal device described in above-mentioned " illustrative methods " part of this specification according to the various exemplary embodiment party of the disclosure The step of formula.
With reference to shown in Figure 12, describes the program according to the exemplary embodiment of the disclosure for realizing the above method and produce Product 1200, can be using portable compact disc read only memory (CD-ROM) and including program code, and can set in terminal It is standby, such as run on PC.However, the program product of the disclosure is without being limited thereto, in this document, readable storage medium storing program for executing can With to be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or Person is in connection.
Program product can be using any combination of one or more readable mediums.Readable medium can be readable signal Jie Matter or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or partly lead System, device or the device of body, or any above combination.More specific example (the non exhaustive column of readable storage medium storing program for executing Table) it include: the electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only storage Device (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal, Optical signal or above-mentioned any appropriate combination.Readable signal medium can also be any readable Jie other than readable storage medium storing program for executing Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its The program of combined use.
The program code for including on readable medium can transmit with any suitable medium, including but not limited to wirelessly, have Line, optical cable, RF etc. or above-mentioned any appropriate combination.
Can with any combination of one or more programming languages come write for execute the disclosure operation program Code, programming language include object oriented program language-Java, C++ etc., further include conventional process Formula programming language-such as " C " language or similar programming language.Program code can be calculated fully in user It executes in equipment, partly execute on a user device, executing, as an independent software package partially in user calculating equipment Upper part executes on a remote computing or executes in remote computing device or server completely.It is being related to remotely counting In the situation for calculating equipment, remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network (WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP To be connected by internet).
In addition, above-mentioned attached drawing is only the schematic theory of the processing according to included by the method for disclosure exemplary embodiment It is bright, rather than limit purpose.It can be readily appreciated that the time that above-mentioned processing shown in the drawings did not indicated or limited these processing is suitable Sequence.In addition, be also easy to understand, these processing, which can be, for example either synchronously or asynchronously to be executed in multiple modules.
It should be noted that although being referred to several modules or list for acting the equipment executed in the above detailed description Member, but this division is not enforceable.In fact, according to an exemplary embodiment of the present disclosure, above-described two or More multimode or the feature and function of unit can embody in a module or unit.Conversely, above-described one A module or the feature and function of unit can be to be embodied by multiple modules or unit with further division.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure His embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Adaptive change follow the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure or Conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by claim It points out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the attached claims.

Claims (19)

1. a kind of image display method is applied to display equipment, which is characterized in that a display area is presented in the display equipment; The described method includes:
Obtain Target Photo to be shown;
Detect whether the Target Photo matches with the size of the display area;
If the Target Photo is matched with the size of the display area, the target figure is shown in the display area Piece;
If the size of the Target Photo and the display area mismatches, the target is shown in the display area Picture, and display background image at least one subregion in region is not filled by around the Target Photo.
2. the method according to claim 1, wherein described show the target figure in the display area Piece, and display background image at least one subregion in region is not filled by around the Target Photo, comprising:
The Target Photo is shown in the display area, and is not filled by region around the Target Photo and is shown the back Scape image, so that the display area is filled up by the Target Photo and the background image.
3. the method according to claim 1, wherein the method also includes:
According to the pictorial information of the Target Photo, the determining and matched background image of the Target Photo.
4. according to the method described in claim 3, it is characterized in that, the pictorial information includes the representative face of the Target Photo Color;The method also includes:
The frequency of occurrences of color category appeared in the Target Photo and each color is counted, and selects the wherein frequency of occurrences Highest at least one color, the representative color as the Target Photo.
5. according to the method described in claim 4, if select in the Target Photo the highest m kind color of the frequency of occurrences as Described to represent color, then the pictorial information according to the Target Photo, determines and the matched Background of the Target Photo Picture, comprising:
Based on m kind color determination and the matched background color of the Target PhotoAccording to background color D It generates and the matched background image of the Target Photo;
Wherein, i is the arbitrary integer in [1, m], CiFor i-th kind of color in the m kind color, fiFor CiIn the target figure The frequency of occurrences in piece.
6. according to the method described in claim 3, it is characterized in that, the method also includes:
Obtain the characteristic information of the frame of the display equipment;
The pictorial information according to the Target Photo, the determining and matched background image of the Target Photo, comprising:
Characteristic information and the pictorial information based on the frame, determination are matched with the Target Photo and the frame Background image.
7. according to the method described in claim 6, it is characterized in that, the pictorial information includes the representative face of the Target Photo Color, the characteristic information include the color of the frame;
The characteristic information based on the frame and the pictorial information, determining and the Target Photo and the frame The background image matched, comprising:
Determine the color and the intermediate color for representing color of the frame;
Based on the intermediate color determination and the Target Photo and the matched background image of the frame.
8. the method according to the description of claim 7 is characterized in that the color that represents includes occurring frequency in the Target Photo The highest m kind color of rate;The intermediate color is determined by following formula:
Wherein, i is the arbitrary integer in [1, m], CiFor i-th kind of color in the m kind color, fiFor CiIn the target figure The frequency of occurrences in piece, F are the color of the frame, and E is the intermediate color.
9. the method according to claim 5 or 8, which is characterized in that the m kind color is to occur frequency in the Target Photo Rate is higher than the color of preset threshold.
10. according to the method described in claim 3, it is characterized in that, the pictorial information according to the Target Photo, determines With the matched background image of the Target Photo, comprising:
According to the pictorial information of the Target Photo, searched and the matched Background of the Target Photo in effect material database Picture.
11. according to the method described in claim 10, it is characterized in that, the method also includes:
Obtain multiple samples pictures and multiple background materials, the background material includes any of the following or a variety of: pure color is filled out It fills, gradient color is filled, texture padding or pattern are filled;
For each samples pictures, the matching relationship of the samples pictures and one or more background materials is obtained, To construct the effect material database.
12. according to the method for claim 11, which is characterized in that the matching relationship includes matching degree;The acquisition is more A samples pictures and multiple background materials, comprising:
The sample arranged in pairs or groups from internet hunt samples pictures and background material;
It is described for each samples pictures, the matching for obtaining the samples pictures and one or more background materials is closed System, to construct the effect material database, comprising:
By analyzing the sample, the matching of each samples pictures and one or more background materials is obtained Degree, to construct the effect material database.
13. according to the method for claim 11, which is characterized in that the pictorial information according to the Target Photo, It is searched and the matched background image of the Target Photo in effect material database, comprising:
Lookup and the same or similar samples pictures of the Target Photo in the effect material database, as target sample figure Piece;
The background image is generated with the background material of the target sample picture match according in the effect material database.
14. according to the method for claim 13, which is characterized in that described to be searched and the mesh in the effect material database The same or similar samples pictures of piece of marking on a map, as target sample picture, comprising:
The similarity for calculating each samples pictures in the Target Photo and the effect material database, will be with the Target Photo phase Like the highest samples pictures of degree as the target sample picture.
15. the method according to claim 1, wherein described show the target figure in the display area Piece, and display background image at least one subregion in region is not filled by around the Target Photo, comprising:
The Target Photo and the background image are merged into new images, the new images are shown in the display area.
16. a kind of image display apparatus is applied to display equipment, which is characterized in that a display area is presented in the display equipment; Described device includes:
Picture obtains module, for obtaining Target Photo to be shown;
Whether size detection module matches for detecting the Target Photo with the size of the display area;
First display module, if matched for the Target Photo with the size of the display area, in the viewing area The Target Photo is shown in domain;
Second display module, if mismatched for the size of the Target Photo and the display area, in the display The Target Photo is shown in region, and is not filled by least one subregion in region around the Target Photo and is shown back Scape image.
17. a kind of electronic equipment characterized by comprising
Processor;
Memory, for storing the executable instruction of the processor;And
Display, for rendering a display area;
Wherein, the processor is configured to require 1-15 described in any item via executing the executable instruction and carry out perform claim Method shows the implementing result of the executable instruction within the display area.
18. electronic equipment according to claim 17, which is characterized in that further include:
Imaging sensor, the characteristic information of the frame for obtaining the display.
19. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program Claim 1-15 described in any item methods are realized when being executed by processor.
CN201910325380.9A 2019-04-22 2019-04-22 Image display method, image display apparatus, electronic equipment and storage medium Pending CN110060203A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910325380.9A CN110060203A (en) 2019-04-22 2019-04-22 Image display method, image display apparatus, electronic equipment and storage medium
PCT/CN2020/075654 WO2020215861A1 (en) 2019-04-22 2020-02-18 Picture display method, picture display apparatus, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910325380.9A CN110060203A (en) 2019-04-22 2019-04-22 Image display method, image display apparatus, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110060203A true CN110060203A (en) 2019-07-26

Family

ID=67320021

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910325380.9A Pending CN110060203A (en) 2019-04-22 2019-04-22 Image display method, image display apparatus, electronic equipment and storage medium

Country Status (2)

Country Link
CN (1) CN110060203A (en)
WO (1) WO2020215861A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111047653A (en) * 2019-11-11 2020-04-21 北京奇艺世纪科技有限公司 Dominant hue determination method, device, equipment and readable medium
CN111460929A (en) * 2020-03-17 2020-07-28 稿定(厦门)科技有限公司 Method and device for filling unspecified frame image
CN111526407A (en) * 2020-04-03 2020-08-11 华为技术有限公司 Screen content display method and device
WO2020215861A1 (en) * 2019-04-22 2020-10-29 京东方科技集团股份有限公司 Picture display method, picture display apparatus, electronic device and storage medium
CN112529765A (en) * 2019-09-02 2021-03-19 阿里巴巴集团控股有限公司 Image processing method, apparatus and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113837928A (en) * 2021-09-17 2021-12-24 平安普惠企业管理有限公司 Object color adjusting method and device, electronic equipment and storage medium
CN114035762A (en) * 2021-11-10 2022-02-11 Tcl华星光电技术有限公司 Spliced screen image display method, related device and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101221740A (en) * 2007-01-08 2008-07-16 鸿富锦精密工业(深圳)有限公司 Electronic photo frame
CN101369414A (en) * 2007-08-14 2009-02-18 三星Techwin株式会社 Method of displaying images and display apparatus applying the same
CN101521004A (en) * 2008-02-29 2009-09-02 鹏智科技(深圳)有限公司 Electronic device with image processing function and image processing method thereof
CN102077587A (en) * 2008-06-30 2011-05-25 惠普开发有限公司 Compositing video streams
US20120229489A1 (en) * 2006-09-05 2012-09-13 Apple Inc. Pillarboxing Correction
CN103151022A (en) * 2013-01-31 2013-06-12 广东欧珀移动通信有限公司 Method for automatically changing font colors according to background color and system
CN105719591A (en) * 2014-12-18 2016-06-29 三星电子株式会社 Display Apparatus And Controlling Method
CN106294501A (en) * 2015-06-09 2017-01-04 腾讯科技(深圳)有限公司 web animation effect display method and device
CN109254815A (en) * 2018-08-21 2019-01-22 奇酷互联网络科技(深圳)有限公司 Display methods, mobile terminal and the storage medium of display interface
CN109491726A (en) * 2018-11-16 2019-03-19 掌阅科技股份有限公司 It spreads its tail rendering method, electronic equipment and the computer storage medium of file

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7765060B1 (en) * 2006-12-20 2010-07-27 The Boeing Company System and method for identifying changes on navigation procedure charts
CN106959964A (en) * 2016-01-12 2017-07-18 阿里巴巴集团控股有限公司 Interface background display methods
CN107729099A (en) * 2017-09-25 2018-02-23 联想(北京)有限公司 Background method of adjustment and its system
CN109597664A (en) * 2018-09-21 2019-04-09 北京字节跳动网络技术有限公司 Background configuration method, device, equipment and the readable medium of display area
CN110060203A (en) * 2019-04-22 2019-07-26 京东方科技集团股份有限公司 Image display method, image display apparatus, electronic equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120229489A1 (en) * 2006-09-05 2012-09-13 Apple Inc. Pillarboxing Correction
CN101221740A (en) * 2007-01-08 2008-07-16 鸿富锦精密工业(深圳)有限公司 Electronic photo frame
CN101369414A (en) * 2007-08-14 2009-02-18 三星Techwin株式会社 Method of displaying images and display apparatus applying the same
CN101521004A (en) * 2008-02-29 2009-09-02 鹏智科技(深圳)有限公司 Electronic device with image processing function and image processing method thereof
CN102077587A (en) * 2008-06-30 2011-05-25 惠普开发有限公司 Compositing video streams
CN103151022A (en) * 2013-01-31 2013-06-12 广东欧珀移动通信有限公司 Method for automatically changing font colors according to background color and system
CN105719591A (en) * 2014-12-18 2016-06-29 三星电子株式会社 Display Apparatus And Controlling Method
CN106294501A (en) * 2015-06-09 2017-01-04 腾讯科技(深圳)有限公司 web animation effect display method and device
CN109254815A (en) * 2018-08-21 2019-01-22 奇酷互联网络科技(深圳)有限公司 Display methods, mobile terminal and the storage medium of display interface
CN109491726A (en) * 2018-11-16 2019-03-19 掌阅科技股份有限公司 It spreads its tail rendering method, electronic equipment and the computer storage medium of file

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020215861A1 (en) * 2019-04-22 2020-10-29 京东方科技集团股份有限公司 Picture display method, picture display apparatus, electronic device and storage medium
CN112529765A (en) * 2019-09-02 2021-03-19 阿里巴巴集团控股有限公司 Image processing method, apparatus and storage medium
CN111047653A (en) * 2019-11-11 2020-04-21 北京奇艺世纪科技有限公司 Dominant hue determination method, device, equipment and readable medium
CN111460929A (en) * 2020-03-17 2020-07-28 稿定(厦门)科技有限公司 Method and device for filling unspecified frame image
CN111460929B (en) * 2020-03-17 2022-07-19 稿定(厦门)科技有限公司 Method and device for filling unspecified frame image
CN111526407A (en) * 2020-04-03 2020-08-11 华为技术有限公司 Screen content display method and device
CN111526407B (en) * 2020-04-03 2022-05-10 荣耀终端有限公司 Screen content display method and device

Also Published As

Publication number Publication date
WO2020215861A1 (en) 2020-10-29

Similar Documents

Publication Publication Date Title
CN110060203A (en) Image display method, image display apparatus, electronic equipment and storage medium
Jacobson et al. Design goals and solutions for display of hyperspectral images
CN106211804B (en) Automatic white balance is carried out using to the colour measurement of raw image data
US9990377B1 (en) Content based systems and methods for conducting spectrum color based image search
KR101140533B1 (en) Method and system for recommending a product based upon skin color estimated from an image
Jacobson et al. Linear fusion of image sets for display
Rizzi et al. From retinex to automatic color equalization: issues in developing a new algorithm for unsupervised color equalization
US9449412B1 (en) Adaptive, calibrated simulation of cosmetic products on consumer devices
US8762419B2 (en) Lexical classification system with dynamic modifiers
JP5883949B2 (en) Spectral synthesis for image capture device processing.
CN101529495B (en) Image mask generation
RU2450476C2 (en) Device and method to determine optimal backlighting
US20150262549A1 (en) Color Palette Generation
CN109741279A (en) Image saturation method of adjustment, device, storage medium and terminal
CN100596165C (en) Image processing apparatus and its method
CN105981360A (en) Image processing apparatus, image processing system, image processing method and recording medium
CN107960150A (en) Image processing apparatus and method
CN107018439A (en) Method for generating the user interface for showing multiple videos
WO2011148776A1 (en) Image processing apparatus and image processing method
KR102234614B1 (en) Apparatus and method for recommending color combination based on analysis of space image
US20230362293A1 (en) Method for Configuring Theme Color of Terminal Device, Apparatus, and Terminal Device
CN115063800B (en) Text recognition method and electronic equipment
CN114512094B (en) Screen color adjusting method, device, terminal and computer readable storage medium
Ciocca et al. Retinex preprocessing of uncalibrated images for color-based image retrieval
JP2009060388A (en) Image processor and image processing program

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