CN108184037B - A kind of image display method and mobile terminal - Google Patents

A kind of image display method and mobile terminal Download PDF

Info

Publication number
CN108184037B
CN108184037B CN201711319700.7A CN201711319700A CN108184037B CN 108184037 B CN108184037 B CN 108184037B CN 201711319700 A CN201711319700 A CN 201711319700A CN 108184037 B CN108184037 B CN 108184037B
Authority
CN
China
Prior art keywords
color space
image
mobile terminal
rgb color
coordinate
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.)
Active
Application number
CN201711319700.7A
Other languages
Chinese (zh)
Other versions
CN108184037A (en
Inventor
陈一诗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201711319700.7A priority Critical patent/CN108184037B/en
Publication of CN108184037A publication Critical patent/CN108184037A/en
Application granted granted Critical
Publication of CN108184037B publication Critical patent/CN108184037B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems
    • H04N1/56Processing of colour picture signals
    • H04N1/60Colour correction or control
    • H04N1/6058Reduction of colour to a range of reproducible colours, e.g. to ink- reproducible colour gamut
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems
    • H04N1/56Processing of colour picture signals
    • H04N1/60Colour correction or control
    • H04N1/603Colour correction or control controlled by characteristics of the picture signal generator or the picture reproducer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals

Abstract

The embodiment of the invention provides a kind of image display method and mobile terminals.This method comprises: obtaining the first rgb color space of image to be shown;First rgb color space of described image is converted to XYZ color space;The XYZ color space of described image is converted to the second rgb color space of the display screen of the mobile terminal;The described image of second rgb color space is shown in the display screen.The present invention is by being converted to and device-independent XYZ color space image to be shown from rgb color space relevant to the display screen of mobile terminal of the original development image, then the image is converted into rgb color space relevant to the display screen of this mobile terminal from XYZ color space again, finally, the image data of rgb color space after conversion is shown, so that the image is in the display screen display of different mobile terminal, there is no color difference.

Description

A kind of image display method and mobile terminal
Technical field
The present embodiments relate to technical field of image processing more particularly to a kind of image display method and mobile terminals.
Background technique
Currently, mobile terminal can show various images, including wallpaper, photo, film etc..These shown images It is produced and generated by developer using the terminal device of itself, when generating, the display effect for the image that developer designs Often effect is best on the display screen of terminal device.
But since user shows that the color of the display screen of the terminal device of the mobile terminal and exploitation of the image image is compiled Code configuration format is generally different, wherein the display screen of the terminal device of developer is often the either wide colour gamut of sRGB, this is just Cause user side when showing above-mentioned image using the screen of mobile terminal, display effect is difficult to reach developer at that time at oneself Terminal device on when completing to generate shown effect, the effect for the image that user side is seen on the mobile terminal of oneself it is past It is excessively high or partially grey toward saturation degree.
Summary of the invention
The embodiment of the present invention provides a kind of image display method and mobile terminal, is existed with solving same image in the related technology On different terminal equipment there is color difference in display.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, being applied to mobile terminal, the method packet the embodiment of the invention provides a kind of image display method It includes:
Obtain the first rgb color space of image to be shown;
First rgb color space of described image is converted to XYZ color space;
The XYZ color space of described image is converted to the second rgb color sky of the display screen of the mobile terminal Between;
The described image of second rgb color space is shown in the display screen.
Second aspect, the embodiment of the invention also provides a kind of mobile terminal, the mobile terminal includes:
First obtains module, for obtaining the first rgb color space of image to be shown;
First conversion module, for converting the first rgb color space of described image to XYZ color space;
Second conversion module, for converting the XYZ color space of described image to the display of the mobile terminal Second rgb color space of screen;
Display module, for showing the described image of second rgb color space in the display screen.
The third aspect, the embodiment of the invention also provides a kind of mobile terminal, the mobile terminal includes: memory, place It manages device and is stored in the computer program that can be run on the memory and on the processor, the computer program is by institute It states when processor executes and realizes such as the step of above-mentioned image display method.
Fourth aspect, it is described computer-readable to deposit the embodiment of the invention also provides a kind of computer readable storage medium Computer program is stored on storage media, the computer program is realized when being executed by processor in above-mentioned image display method Step.
In embodiments of the present invention, by by image to be shown from the display of the mobile terminal with the original development image Shield relevant rgb color space be converted to device-independent XYZ color space, then again by the image from XYZ color space Rgb color space relevant to the display screen of this mobile terminal is converted to, finally, by the image of the rgb color space after conversion Data are shown that there is no color difference so that the image is in the display screen display of different mobile terminal.
Detailed description of the invention
Fig. 1 is the flow chart of the image display method of one embodiment of the invention;
Fig. 2 is the flow chart of the image display method of another embodiment of the present invention;
Fig. 3 is the block diagram of the mobile terminal of one embodiment of the invention;
Fig. 4 is the block diagram of another mobile terminal of present invention embodiment shown in Fig. 3;
Fig. 5 is the hardware structural diagram of the mobile terminal of fourth embodiment of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Referring to Fig.1, the flow chart of the image display method of one embodiment of the invention is shown, mobile terminal is applied to, The method can specifically include following steps:
The step 101 of the present embodiment~step 103 can be executed when drawing.
Step 101, the first rgb color space of image to be shown is obtained;
Wherein, the form of the image to be shown can be photograph image, cine-oriented image, user interface (UI, User Interface) image etc., the present invention do not limit this.
The method of the embodiment of the present invention can be shown on the display screen that image data is transmitted to mobile terminal by mobile terminal Before showing, to the image data of display in need carry out such as the processing of step 101~step 103, so as to be shown Image the display screen display of different terminal equipment effect there is no color difference, display effect is consistent.
The display screen of mobile terminal uses rgb color space generally to express the color of image, and rgb color space is current Most common colour information expression way carrys out quantificational expression color using the brightness of Red Green Blue, is with RGB three coloured light The mutual superimposed mode to realize colour mixture.Three kinds of color proportions are different, and obtained color is just different.Convert mixed ratio Example, will obtain various mixed effects.RGB color can be regarded as a unit in three-dimensional cartesian coordinate system Square.Any color can be indicated in RGB color with a point in three-dimensional space.In RGB color Space, any coloured light F can be mixed with the addition of tri- kinds of color difference components of RGB: F=r [R]+g [G]+b [B]
Therefore, the available also not rgb color space of the image of the display on the mobile terminal of the embodiment of the present invention, That is the first rgb color space.Wherein, which is related to the exploitation display screen of mobile terminal of the image 's.
Step 102, the first rgb color space of described image is converted to XYZ color space;
Wherein, rgb color space uses physics three primary colours, and physical significance is it is clear that but it is a kind of related to equipment Color model.Each equipment (scanner, monitor and the printer etc. that use including human eye and now) uses RGB model The less identical definition of Shi Douyou cannot be mutually general although it is very satisfactory each to work, and very intuitive.
In other words, the throwing due to the respective all colours of the display screen of two mobile terminal devices on profile connecting space Shadow range is different, this drop shadow spread is properly termed as colour gamut, therefore, rgb color space be it is device-dependent, therefore, this hair The method of bright embodiment needs the rgb color space of the image of the mobile terminal being converted to XYZ color space, wherein XYZ color Color space is unrelated with the display screen of equipment.
Step 103, the XYZ color space of described image is converted second of the display screen to the mobile terminal Rgb color space;
Wherein, since step 102 is by the rgb color space relevant to the mobile terminal of original development of image to be shown Be converted to device-independent XYZ color space, then then needing to show that the image on this mobile terminal by the figure The XYZ color space of picture is converted into the rgb color space of the display screen of the mobile terminal, that is, is converted into and the embodiment of the present invention The display screen of mobile terminal is relevant, in this way, when the image is shown on mobile terminals with rgb color space, it would not Generate the different color difference of display effect on the mobile terminal from the original development image.
Step 104, the described image of the second rgb color space is shown in the display screen.
Wherein, image image to be shown converted to the second RGB color difference space shows the shifting in the embodiment of the present invention On the display screen of dynamic terminal.
In embodiments of the present invention, by by image to be shown from the display of the mobile terminal with the original development image Shield relevant rgb color space be converted to device-independent XYZ color space, then again by the image from XYZ color space Rgb color space relevant to the display screen of this mobile terminal is converted to, finally, by the image of the rgb color space after conversion Data are shown that there is no color difference so that the image is in the display screen display of different mobile terminal.
Referring to Fig. 2, show the flow chart of the image display method of another embodiment of the present invention, can specifically include as Lower step:
Step 201, the first rgb color space of image to be shown is obtained;
Referring in particular to the step 101 of first embodiment, which is not described herein again.
Step 202, described image is obtained to convert from the first rgb color space to the first mapping relations of XYZ color space;
Wherein, mobile terminal of the present invention is available to the original movement for developing the image when obtaining the mobile terminal The ICC Profile information of terminal, wherein the ICC Profile of an equipment is exactly the color characteristic file of this equipment, is A kind of corresponding relationship of the color description of this equipment and standard color space color description mode, between different equipment for The description of color is connected by the ICC Profile of profile connecting space and these equipment.
The white point of the image, colour gamut, this image are described in the ICC Profile information from the movement for developing the image The rgb color space of terminal is transformed into the mapping relations of XYZ color space.
Therefore, the embodiment of the present invention can obtain the image from the first RGB color from the ICC Profile information of the image Color space is converted to the first mapping relations of XYZ color space.
Wherein, which can be transfer algorithm.
It should be noted that here only to a kind of schematic example of the acquisition modes of the first mapping relations, at other In example, which can also obtain by other means, such as directly acquire from external equipment, outside this Equipment stores first mapping relations.
Step 203, the first RGBW coordinate for generating the original display screen of originating mobile terminal of described image is obtained;
Wherein, the embodiment of the present invention also needs to obtain the first of the display screen for developing the originating mobile terminal for generating the image RGBW coordinate, so-called first RGBW coordinate, that is, the coordinate of pure red (R) pixel on the original display screen of the originating mobile terminal, The coordinate of pure green (G) pixel, the coordinate of ethereal blue (B) pixel, pure white (W) pixel coordinate.
Wherein, the first RGBW coordinate can obtain from external equipment, can also when downloading the image to be shown, The corresponding first RGBW coordinate of the image is downloaded together (such as to be stored in some file, or belong to some of the image Attribute).
Step 204, it according to first mapping relations and the first RGBW coordinate, calculates from the first rgb color space Map to the first matrix of XYZ color space;
Wherein, the first of above-mentioned the first mapping relations got from ICC Profile and original display screen is utilized RGBW coordinate is mapped to the matrix of XYZ color space to calculate the image from the first rgb color space, wherein the calculation method Belong to the prior art, which is not described herein again.
Step 205, according to first matrix, the first rgb color space of described image is converted empty to XYZ color Between;
Wherein it is possible to the image is mapped to from the first rgb color space by XYZ color space according to first matrix, Wherein, in conversion, the first rgb color space can be converted into matrix, then, utilizes the first matrix and first RGB color The matrix of color space carries out matrix operation (such as multiplication), so that obtain the image indicates in the matrix of XYZ color space.
In this way, the first of the original display screen side of originating mobile terminal can be utilized by step 202~step 205 RGBW coordinate, and the first mapping relations of relevant to the original display screen the first rgb color space and XYZ color space, The first rgb color space of image is calculated to the mapping matrix of XYZ color space, is schemed to realize the image from exploitation The conversion of the display screen of the mobile terminal of picture relevant rgb color space in order to device-independent XYZ color space so that image It is convenient, quick in the conversion of color space, and guarantee the consistency of image data display effect on different display screens.
Step 206, described image is obtained to convert from XYZ color space to the 2nd RGB of the display screen of the mobile terminal Second mapping relations of color space;
It wherein, can built-in the machine in the mobile terminal side of the image to be displayed of the embodiment of the present invention, the mobile terminal The ICC Profile information for showing equipment (i.e. display screen) has recorded image in the ICC Profile information from XYZ color Convert the mapping relations of the rgb color space to the display screen of the mobile terminal in space, wherein the mapping relations can be conversion Algorithm.
Therefore, the embodiment of the present invention can obtain this from the ICC Profile information built in the mobile terminal and second reflect Penetrate relationship.
It should be noted that here only to a kind of schematic example of the acquisition modes of the second mapping relations, at other In example, which can also obtain by other means, such as develop generation from by the mobile terminal It obtains in the ICC Profile information of image, or is directly acquired from external equipment, which stores second mapping and close System.
Step 207, the 2nd RGBW coordinate of the display screen is obtained;
Wherein, the RGBW that the embodiment of the present invention also needs to obtain the display screen for the mobile terminal that will show the image is sat Mark, so-called 2nd RGBW coordinate, that is, the coordinate of pure red (R) pixel, pure green (G) pixel on the display screen of the mobile terminal Coordinate, the coordinate of ethereal blue (B) pixel, pure white (W) pixel coordinate.
Step 208, it according to second mapping relations and the 2nd RGBW coordinate, calculates and is mapped from XYZ color space To the second matrix of the second rgb color space;
Wherein, above-mentioned the second mapping relations got from built-in ICC Profile and this mobile terminal are utilized Display screen RGBW coordinate, the matrix of the second rgb color space is mapped to calculate the image from XYZ color space, wherein The calculation method belongs to the prior art, and which is not described herein again.
Step 209, described to convert the XYZ color space of described image to the shifting according to second matrix Second rgb color space of the display screen of dynamic terminal;
Wherein it is possible to the image is mapped to from XYZ color space by the second rgb color space according to second matrix, Wherein, in conversion, XYZ color space can be converted to matrix, then, utilize the second matrix and the XYZ color space Matrix carries out matrix operation (such as multiplication), so that obtain the image indicates in the matrix of the second rgb color space.
In this way, by step 206~step 209, the of the display screen side of the mobile terminal of image to be displayed can be utilized Two RGBW coordinates, and the second mapping relations of XYZ color space relevant to the display screen and the second rgb color space, meter Calculate image XYZ color space to the second rgb color space mapping matrix, thus realize the image from it is device-independent XYZ color space is converted for rgb color space relevant to the display screen of this mobile terminal, so that image is in color space It is convenient in conversion, quick, and guarantee the consistency of image data display effect on different display screens.
Optionally, step 210, stabilization processing is carried out to the image data of second rgb color space;
Wherein, after the mapping of above-mentioned color space twice, the image data institute of the second obtained rgb color space There can be horizontal line together in the image showed, being somebody's turn to do horizontal line together can be differentiated when image is shown by human eye Out, although processing of the image Jing Guo above-mentioned steps, enable to display screen display effect of the image on this mobile terminal with The display effect of original display screen on originating mobile terminal does not have color difference, but can have over-colored not in display effect The problem of good caused one of horizontal line together.Therefore, the embodiment of the present invention can carry out the figure to second rgb color space As data carry out further stabilization processing (for example, by using preset color dither algorithm to the image of second rgb color space Data are handled), to improve the bad problem of the over-colored that occurs after difference space mapping.So that by above-mentioned stabilization The over-colored of treated image is smooth.
In a specific example, which can be Floyd-Steinberg dithering, or Person's other color jitter algorithms in the prior art, to make up the deficiency of color space mapping algorithm.
Step 211, the described image of the second rgb color space is shown in the display screen.
Referring in particular to the step 104 of first embodiment, which is not described herein again.
In this way, the embodiment of the present invention using image from the first rgb color space by being converted to the of XYZ color space One mapping relations, and second of the second rgb color space to the display screen of the mobile terminal is converted from XYZ color space The RGBW coordinate of two display screens of the mobile terminal of mapping relations and originating mobile terminal and current image to be displayed, just It may be implemented the conversion to image from the first rgb color space to XYZ color space, and from the XYZ color space to second The conversion of rgb color space so that image data on the display screen of the mobile terminal finally shown with developing the image Display effect on the display screen of mobile terminal is close, and there is no color difference, promotes user experience.
Optionally, before step 201, can also include: according to the method for the embodiment of the present invention
Obtain the first colour gamut of image to be shown;
Wherein, it is somebody's turn to do as set forth above, it is possible to be obtained from the ICC Profile information of originating mobile terminal for developing the image The colour gamut of image.
Obtain the second colour gamut of the display screen of the mobile terminal;
Wherein, the mobile terminal can its built-in ICC Profile information, can be from built-in ICC Profile information The colour gamut of the middle display screen for obtaining the mobile terminal.
When the colour gamut of shown image is greater than the colour gamut of display equipment, then the color of displayed image will be compressed, Then it shows on the display device again, it is inconsistent that there is colour gamuts in itself in this case, it is unable to satisfy the colour gamut requirement of image, So the image of the method for the embodiment of the present invention not in response to this carries out the above-mentioned consistent processing of color.
On the contrary, if first colour gamut is less than second colour gamut, that is, be less than second colour gamut in first colour gamut In the case where, then obtain the first rgb color space of image to be shown.
That is, when the colour gamut of shown image is less than or equal to the colour gamut of the display equipment, so that it may into The method and step of the above-mentioned the first embodiment or the second embodiment of row, to realize the processing to image.
In this way, the embodiment of the present invention is by first determining whether the image before the first rgb color space for obtaining image Whether colour gamut is less than or equal to the colour gamut of the display screen of the mobile terminal, only in the case where meeting condition, just will do it phase The image procossing answered can promote the treatment effeciency of image in this way to avoid unnecessary image procossing, reduce to memory need not It occupies.
Referring to Fig. 3, the block diagram of the mobile terminal of one embodiment of the invention is shown.The mobile terminal of the embodiment of the present invention It is able to achieve the details of the image display method in above-described embodiment, and reaches identical effect.The packet of mobile terminal 300 shown in Fig. 3 It includes:
First obtains module 301, for obtaining the first rgb color space of image to be shown;
First conversion module 302, for converting the first rgb color space of described image to XYZ color space;
Second conversion module 303, for the XYZ color space of described image to be converted showing to the mobile terminal Second rgb color space of display screen;
Display module 304, for showing the described image of the second rgb color space in the display screen.
Optionally, referring to Fig. 4, on the basis of Fig. 3, the mobile terminal 300 further include:
Second obtains module 305, converts from the first rgb color space to XYZ color space for obtaining described image First mapping relations;
Third obtains module 306, for obtaining the first of the original display screen for generating the originating mobile terminal of described image RGBW coordinate;
First computing module 307, for calculating from first according to first mapping relations and the first RGBW coordinate Rgb color space maps to the first matrix of XYZ color space;
First conversion module 302 includes:
First transform subblock 3021, for according to first matrix, the first rgb color space of described image to be turned Shift to XYZ color space;
Wherein, the first RGBW coordinate includes the coordinate of pure red pixel on the original display screen, pure green pixel point Coordinate, the coordinate of ethereal blue pixel, Pure white pixels point coordinate.
Optionally, referring to Fig. 4, on the basis of Fig. 3, the mobile terminal 300 further include:
4th obtains module 308, converts from XYZ color space to the display of the mobile terminal for obtaining described image Second mapping relations of the second rgb color space of screen;
5th obtains module 309, for obtaining the 2nd RGBW coordinate of the display screen;
Second computing module 310, for calculating from XYZ according to second mapping relations and the 2nd RGBW coordinate Color space maps to the second matrix of the second rgb color space;
Second conversion module 303 includes:
Second transform subblock 3031, for according to second matrix, the XYZ color by described image to be empty Between conversion to the mobile terminal display screen the second rgb color space;
Wherein, the 2nd RGBW coordinate includes the seat of the coordinate of pure red pixel on the display screen, pure green pixel point Mark, the coordinate of ethereal blue pixel, Pure white pixels point coordinate.
Optionally, referring to Fig. 4, on the basis of Fig. 3, the mobile terminal 300 further include:
6th obtains module 311, for obtaining the first colour gamut of image to be shown;
7th obtains module 312, the second colour gamut of the display screen for obtaining the mobile terminal;
Described first, which obtains module 301, includes:
Acquisition submodule 3011, for obtaining to be shown in the case where first colour gamut is less than second colour gamut Image the first rgb color space.
Optionally, referring to Fig. 4, on the basis of Fig. 3, the mobile terminal 300 further include:
Processing module 313 carries out stabilization processing for the image data to second rgb color space.
It is real that mobile terminal 300 provided in an embodiment of the present invention can be realized mobile terminal in the embodiment of the method for Fig. 1 to Fig. 2 Existing each process, to avoid repeating, which is not described herein again.
Mobile terminal 300 by above-mentioned module, by by image to be shown from the mobile end with the original development image The relevant rgb color space of the display screen at end be converted to device-independent XYZ color space, then again by the image from XYZ Color space is converted to rgb color space relevant to the display screen of this mobile terminal, finally, the rgb color after conversion is empty Between image data shown that there is no colors so that the image is in the display screen display of different mobile terminal Difference.
A kind of hardware structural diagram of Fig. 5 mobile terminal of each embodiment to realize the present invention,
The mobile terminal 400 includes but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, defeated Enter unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor The components such as 410 and power supply 411.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 4 is not constituted Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, radio frequency unit 401, for obtaining the first rgb color space of image to be shown;
Processor 410, for converting the first rgb color space of described image to XYZ color space;By described image The XYZ color space convert to the second rgb color space of the display screen of the mobile terminal;By the second rgb color sky Between described image be shown in the display screen.
In embodiments of the present invention, by by image to be shown from the display of the mobile terminal with the original development image Shield relevant rgb color space be converted to device-independent XYZ color space, then again by the image from XYZ color space Rgb color space relevant to the display screen of this mobile terminal is converted to, finally, by the image of the rgb color space after conversion Data are shown that there is no color difference so that the image is in the display screen display of different mobile terminal.
It should be understood that the embodiment of the present invention in, radio frequency unit 401 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 410 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 401 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 401 can also by wireless communication system and network and other set Standby communication.
Mobile terminal provides wireless broadband internet by network module 402 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 403 can be received by radio frequency unit 401 or network module 402 or in memory 409 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 403 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 400 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 403 includes loudspeaker, buzzer and receiver etc..
Input unit 404 is for receiving audio or video signal.Input unit 404 may include graphics processor (Graphics Processing Unit, GPU) 4041 and microphone 4042, graphics processor 4041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 406.Through graphics processor 4041, treated that picture frame can be deposited Storage is sent in memory 409 (or other storage mediums) or via radio frequency unit 401 or network module 402.Mike Wind 4042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 401 is converted in the case where telephone calling model.
Mobile terminal 400 further includes at least one sensor 405, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 4061, and proximity sensor can close when mobile terminal 400 is moved in one's ear Display panel 4061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 405 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 406 is for showing information input by user or being supplied to the information of user.Display unit 406 can wrap Display panel 4061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 4061.
User input unit 407 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 407 include touch panel 4071 and Other input equipments 4072.Touch panel 4071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 4071 or in touch panel 4071 Neighbouring operation).Touch panel 4071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 410, receiving area It manages the order that device 410 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 4071.In addition to touch panel 4071, user input unit 407 can also include other input equipments 4072.Specifically, other input equipments 4072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 4071 can be covered on display panel 4061, when touch panel 4071 is detected at it On or near touch operation after, send processor 410 to determine the type of touch event, be followed by subsequent processing device 410 according to touching The type for touching event provides corresponding visual output on display panel 4061.Although in Fig. 5, touch panel 4071 and display Panel 4061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 4071 and display panel 4061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place is without limitation.
Interface unit 408 is the interface that external device (ED) is connect with mobile terminal 400.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 408 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 400 or can be used in 400 He of mobile terminal Data are transmitted between external device (ED).
Memory 409 can be used for storing software program and various data.Memory 409 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 409 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 410 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 409, and calls and is stored in storage Data in device 409 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 410 may include one or more processing units;Preferably, processor 410 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 410.
Mobile terminal 400 can also include the power supply 411 (such as battery) powered to all parts, it is preferred that power supply 411 Can be logically contiguous by power-supply management system and processor 410, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 400 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 410, and memory 409 is stored in On memory 409 and the computer program that can run on the processor 410, the computer program are executed by processor 410 Each process of the above-mentioned image display method embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, here It repeats no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned image display method embodiment, and energy when being executed by processor Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (6)

1. a kind of image display method is applied to mobile terminal, which is characterized in that the described method includes:
Obtain the first rgb color space of image to be shown;
First rgb color space of described image is converted to XYZ color space;
The XYZ color space of described image is converted to the second rgb color space of the display screen of the mobile terminal;
The described image of second rgb color space is shown in the display screen;
It is described to convert the first rgb color space of described image to before XYZ color space, the method also includes:
Described image is obtained to convert from the first rgb color space to the first mapping relations of XYZ color space;
Obtain the first RGBW coordinate for generating the original display screen of originating mobile terminal of described image;
According to first mapping relations and the first RGBW coordinate, calculates from the first rgb color space and map to XYZ color First matrix in space;
It is described to convert the first rgb color space of described image to XYZ color space, comprising:
According to first matrix, the first rgb color space of described image is converted to XYZ color space;
Wherein, the first RGBW coordinate includes the seat of the coordinate of pure red pixel on the original display screen, pure green pixel point Mark, the coordinate of ethereal blue pixel, Pure white pixels point coordinate;
It is described to convert the XYZ color space of described image to the second rgb color sky of the display screen of the mobile terminal Between before, the method also includes:
Described image is obtained to convert from XYZ color space to the of the second rgb color space of the display screen of the mobile terminal Two mapping relations;
Obtain the 2nd RGBW coordinate of the display screen;
According to second mapping relations and the 2nd RGBW coordinate, calculates from XYZ color space and map to the second rgb color Second matrix in space;
It is described to convert the XYZ color space of described image to the second rgb color sky of the display screen of the mobile terminal Between, comprising:
It is described to convert the XYZ color space of described image to the display of the mobile terminal according to second matrix Second rgb color space of screen;
Wherein, the 2nd RGBW coordinate includes the coordinate, pure of the coordinate of pure red pixel on the display screen, pure green pixel point The coordinate of the coordinate of blue pixel, Pure white pixels point;
Before first rgb color space for obtaining image to be shown, the method also includes:
Obtain the first colour gamut of image to be shown;
Obtain the second colour gamut of the display screen of the mobile terminal;
First rgb color space for obtaining image to be shown, comprising:
In the case where first colour gamut is less than second colour gamut, the first rgb color space of image to be shown is obtained.
2. the method according to claim 1, wherein the image data by second rgb color space It is shown in front of the display screen, the method also includes:
Stabilization processing is carried out to the image data of second rgb color space.
3. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
First obtains module, for obtaining the first rgb color space of image to be shown;
First conversion module, for converting the first rgb color space of described image to XYZ color space;
Second conversion module, for converting the XYZ color space of described image to the display screen of the mobile terminal Second rgb color space;
Display module, for showing the described image of the second rgb color space in the display screen;
The mobile terminal further include:
Second obtains module, converts from the first rgb color space to the first mapping of XYZ color space for obtaining described image Relationship;
Third obtains module, for obtaining the first RGBW seat for generating the original display screen of originating mobile terminal of described image Mark;
First computing module, for calculating from the first rgb color according to first mapping relations and the first RGBW coordinate Space reflection to XYZ color space the first matrix;
First conversion module includes:
First transform subblock, for according to first matrix, the first rgb color space of described image to be converted to XYZ Color space;
Wherein, the first RGBW coordinate includes the seat of the coordinate of pure red pixel on the original display screen, pure green pixel point Mark, the coordinate of ethereal blue pixel, Pure white pixels point coordinate;
The mobile terminal further include:
4th obtains module, converts from XYZ color space to the of the display screen of the mobile terminal for obtaining described image Second mapping relations of two rgb color spaces;
5th obtains module, for obtaining the 2nd RGBW coordinate of the display screen;
Second computing module, for calculating from XYZ color space according to second mapping relations and the 2nd RGBW coordinate Map to the second matrix of the second rgb color space;
Second conversion module includes:
Second transform subblock, for according to second matrix, it is described by the XYZ color space of described image convert to Second rgb color space of the display screen of the mobile terminal;
Wherein, the 2nd RGBW coordinate includes the coordinate, pure of the coordinate of pure red pixel on the display screen, pure green pixel point The coordinate of the coordinate of blue pixel, Pure white pixels point;
The mobile terminal further include:
6th obtains module, for obtaining the first colour gamut of image to be shown;
7th obtains module, the second colour gamut of the display screen for obtaining the mobile terminal;
Described first, which obtains module, includes:
Acquisition submodule, for obtaining image to be shown in the case where first colour gamut is less than second colour gamut First rgb color space.
4. mobile terminal according to claim 3, which is characterized in that the mobile terminal further include:
Processing module carries out stabilization processing for the image data to second rgb color space.
5. a kind of mobile terminal characterized by comprising memory, processor and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 2 is realized when the computer program is executed by the processor Any one of described in image display method the step of.
6. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes the image display method as described in any one of claims 1 to 2 when the computer program is executed by processor In step.
CN201711319700.7A 2017-12-12 2017-12-12 A kind of image display method and mobile terminal Active CN108184037B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711319700.7A CN108184037B (en) 2017-12-12 2017-12-12 A kind of image display method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711319700.7A CN108184037B (en) 2017-12-12 2017-12-12 A kind of image display method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108184037A CN108184037A (en) 2018-06-19
CN108184037B true CN108184037B (en) 2019-09-27

Family

ID=62546083

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711319700.7A Active CN108184037B (en) 2017-12-12 2017-12-12 A kind of image display method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108184037B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109614064A (en) * 2018-12-13 2019-04-12 Oppo广东移动通信有限公司 A kind of image display method, image display apparatus and terminal device
CN110021256B (en) * 2019-04-02 2021-11-23 Oppo广东移动通信有限公司 Display brightness adjusting method and related product
CN110377390B (en) * 2019-07-17 2021-09-14 Oppo广东移动通信有限公司 Image information processing method and device and electronic equipment
CN110378973B (en) * 2019-07-17 2022-08-12 Oppo广东移动通信有限公司 Image information processing method and device and electronic equipment
CN110691194B (en) * 2019-09-19 2021-04-20 锐迪科微电子(上海)有限公司 Wide color gamut image determination method and device
CN111179801B (en) * 2020-01-06 2024-01-09 京东方科技集团股份有限公司 Color space adjustment method, device and system of display panel
CN114067741B (en) * 2020-07-31 2022-08-30 北京小米移动软件有限公司 Screen calibration method and device, electronic equipment and storage medium
CN114067739B (en) * 2020-07-31 2024-02-06 北京小米移动软件有限公司 Color gamut mapping method and device, electronic equipment and storage medium
CN114067740B (en) * 2020-07-31 2024-04-16 北京小米移动软件有限公司 Screen calibration method and device, electronic equipment and storage medium
CN113362747A (en) * 2021-03-31 2021-09-07 联想(北京)有限公司 Information processing method, device and equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1953038A (en) * 2005-10-21 2007-04-25 群康科技(深圳)有限公司 Fabrication system and method of color description file of LCD
CN101252635A (en) * 2007-02-22 2008-08-27 富士施乐株式会社 Image processing apparatus and image processing method
CN104166336A (en) * 2014-05-16 2014-11-26 北京理工大学 Spatial conversion method of three-dimensional holographic colors
CN106412544A (en) * 2016-09-19 2017-02-15 深圳Tcl数字技术有限公司 Color gamut keeping system and method
CN106454300A (en) * 2016-09-19 2017-02-22 深圳Tcl数字技术有限公司 Color gamut expansion system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7619637B2 (en) * 2004-04-09 2009-11-17 Samsung Electronics Co., Ltd. Systems and methods for improved gamut mapping from one image data set to another

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1953038A (en) * 2005-10-21 2007-04-25 群康科技(深圳)有限公司 Fabrication system and method of color description file of LCD
CN101252635A (en) * 2007-02-22 2008-08-27 富士施乐株式会社 Image processing apparatus and image processing method
CN104166336A (en) * 2014-05-16 2014-11-26 北京理工大学 Spatial conversion method of three-dimensional holographic colors
CN106412544A (en) * 2016-09-19 2017-02-15 深圳Tcl数字技术有限公司 Color gamut keeping system and method
CN106454300A (en) * 2016-09-19 2017-02-22 深圳Tcl数字技术有限公司 Color gamut expansion system and method

Also Published As

Publication number Publication date
CN108184037A (en) 2018-06-19

Similar Documents

Publication Publication Date Title
CN108184037B (en) A kind of image display method and mobile terminal
CN107580184B (en) A kind of image pickup method and mobile terminal
CN107908383A (en) A kind of screen color method of adjustment, device and mobile terminal
CN107846537B (en) A kind of CCD camera assembly, image acquiring method and mobile terminal
CN107845363B (en) A kind of display control method and mobile terminal
CN107958470A (en) A kind of color correcting method, mobile terminal
CN108492246A (en) A kind of image processing method, device and mobile terminal
CN109361867A (en) A kind of filter processing method and mobile terminal
CN109408168A (en) A kind of remote interaction method and terminal device
CN107977652A (en) The extracting method and mobile terminal of a kind of screen display content
CN107895352A (en) A kind of image processing method and mobile terminal
CN108320263A (en) A kind of method, device and mobile terminal of image procossing
CN109238460A (en) A kind of method and terminal device obtaining ambient light intensity
CN108037966A (en) A kind of interface display method, device and mobile terminal
CN108960179A (en) A kind of image processing method and mobile terminal
CN108804184A (en) A kind of display control method and terminal device
CN107835402A (en) A kind of image processing method, device and mobile terminal
CN110290263A (en) A kind of image display method and mobile terminal
CN108419283A (en) A kind of method and mobile terminal of WIFI hot spot scanning
CN107977947A (en) A kind of image processing method, mobile terminal
CN109729280A (en) A kind of image processing method and mobile terminal
CN107995425B (en) A kind of image processing method and mobile terminal
CN109379575A (en) A kind of white balancing treatment method and move end
CN109189517A (en) A kind of method and mobile terminal of display switching
CN109445898A (en) A kind of application icon generation method and terminal 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
GR01 Patent grant
GR01 Patent grant