Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only
Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can be mixed
Ground is used.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board
Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. are moved
Move the fixed terminals such as terminal, and numeral TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special
Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of realization each embodiment of the invention, the shifting
Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit
108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts,
Either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station
Downlink information receive after, handled to processor 110;In addition, up data are sent into base station.Generally, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user's transmitting-receiving electricity by WiFi module 102
Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need
To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 1 00
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, it is that radio frequency unit 101 or WiFi module 102 are received or
The voice data stored in memory 109 is converted into audio signal and is output as sound.Moreover, audio output unit 103
The audio output related to the specific function that mobile terminal 1 00 is performed can also be provided (for example, call signal receives sound, disappeared
Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042,1041 pairs of graphics processor is in video acquisition mode
Or the view data progress of the static images or video obtained in image capture mode by image capture apparatus (such as camera)
Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after being handled through graphics processor 1041 can be deposited
Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can
To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model.
Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound
The noise produced during frequency signal or interference.
Mobile terminal 1 00 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 1 00 is moved in one's ear
Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can be wrapped
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal
The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with
And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch control operation of the user on or near it
(such as user is using any suitable objects such as finger, stylus or annex on contact panel 1071 or in contact panel 1071
Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, touch detecting apparatus detects the touch orientation of user, and detects touch control operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can
To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can be wrapped
Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or
After neighbouring touch control operation, processor 110 is sent to determine the type of touch event, with preprocessor 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel
1061 be input and the output function that mobile terminal is realized as two independent parts, but in certain embodiments, can
By contact panel 1071 and the input that is integrated and realizing mobile terminal of display panel 1061 and output function, not do specifically herein
Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 1 00.For example,
External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing
Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 1 00 or can be with
For transmitting data between mobile terminal 1 00 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area
And storage data field, wherein, application program (the such as sound that storing program area can be needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data field can be stored uses created data (such as according to mobile phone
Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, it can also include non-easy
The property lost memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection
Individual part, by operation or performs and is stored in software program and/or module in memory 109, and calls and be stored in storage
Data in device 109, perform the various functions and processing data of mobile terminal, so as to carry out integral monitoring to mobile terminal.Place
Reason device 110 may include one or more processing units;It is preferred that, processor 110 can integrated application processor and modulatedemodulate mediate
Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main
Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 1 00 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put
The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 1 00 can also will not be repeated here including bluetooth module etc..
Based on above-mentioned mobile terminal hardware configuration, each embodiment of the inventive method is proposed.
Fig. 2 is the flow chart that the embodiment of the present invention realizes the method that image is shown, as shown in Fig. 2 including:
Step 200, to the first image carry out partial enlargement when, determine the second image shown by partial enlargement;
It should be noted that the image of the embodiment of the present invention first can be the image kept or current
Shoot the image obtained;The image not being displayed in full screen under the image or transverse screen state that can be full screen display.The present invention
Embodiment can be implemented on mobile phone, flat board or computer, and display processing is carried out to the first image by mobile phone, flat board or computer.
Optionally, determine before the second image shown by partial enlargement, present invention method also includes:
Determine whether to carry out partial enlargement to the first image.
It should be noted that judge whether to carry out the first image partial enlargement can be by existing in correlation technique
Embodiment carries out judgement processing.Fig. 3 is the image schematic diagram that the embodiment of the present invention does not carry out partial enlargement, as shown in figure 3, not
When carrying out partial enlargement, personage occupies less region at the center of viewing area;Fig. 4 is that the embodiment of the present invention carries out part
The image schematic diagram of amplification, as shown in figure 4, being exaggerated processing, personage to the character image of display by thumb and forefinger
Occupy whole display window.The embodiment of the present invention, the first image was carried out partial enlargement can by correlation technique
Some embodiments, which carry out judgement processing, to be included:Obtain the touch control operation of user;Judge user touch control operation whether be
The operation of partial enlargement;Here, whether judge user is that amplifieroperation can include:The touch-control for receiving user by screen is grasped
Make, when changing the coordinate points of starting point when detecting user in continuous touch control operation, judge two after touch control operation
Whether the distance between coordinate points are more than the distance between starting point coordinate, the distance between two coordinate points after touch control operation
During more than the distance between starting point coordinate, the touch control operation for determining user is amplifieroperation.User is detected by said process
Touch control operation for partial enlargement operation after, processing is amplified to the first image according to the operation of partial enlargement.It is current aobvious
When the image shown does not change in preset duration, it is determined that the image shown by partial enlargement is the second image (the second image
It can be defined as:In preset duration, the image that the information in pixel does not change).Wherein, preset duration can be 2 seconds (S)
The duration of left and right, preset duration of the embodiment of the present invention can directly use correlation technique in existing definition, can also according to
Family definition is configured.It can also be determined whether to complete the first image by user according to default operation button or external command
The operation of partial enlargement, the image display processing of the embodiment of the present invention so can be efficiently carried out in real time.
Step 201, the determination topography in the first image corresponding with the second image;
It should be noted that when carrying out partial enlargement to the first image, can be according in correlation technique at existing image
Reason rule is handled the first image, and for example, by the interpolation method of pixel the topography in the first image is put
Greatly, it can be determined to obtain the second image according to the handling principle of interpolation method;The processing that the embodiment of the present invention passes through interpolation method
The information of topography in the image information that principle can be gone out before interpolation with backstepping, the i.e. image of the embodiment of the present invention first, changes sentence
Talk about, the information of the corresponding topography in the first image of the second image after partial enlargement can be obtained.For example, by
One of one image is carried out after four times of amplifications partially over the interpolation method of pixel, passes through the handling principle of interpolation method in theory
Four pixels of the second image that in topography pixel can be corresponded to after amplification can be gone out with backstepping.
Step 202, the display parameters according to the image parameter of the second image and topography adjustment display screen, with to second
Image is shown.
Optionally, image parameter of the embodiment of the present invention includes following part or all of:
The pixel position of image, the color of pixel, the brightness of pixel, the transparency of pixel.
It should be noted that image parameter of the embodiment of the present invention can include the pixel position of image, the color of pixel,
One or more of the brightness of pixel, the transparency of pixel, can also include other image parameters, for example, pixel it is sharp
The information such as degree, the quality requirement progress analysis that the additions and deletions of image parameter can be shown by those skilled in the art according to image is set
It is fixed.
Optionally, display parameters of the embodiment of the present invention include following part or all of:It is the color of display screen, brightness, transparent
Degree.
It should be noted that the display parameters of display screen of the embodiment of the present invention can include the color of display screen, brightness, thoroughly
One or more of lightness, the additions and deletions for also carrying out display parameters according to the display quality of image by those skilled in the art are adjusted
It is whole.
Optionally, the display that the embodiment of the present invention adjusts display screen according to the image parameter of the second image and topography is joined
Number includes:
According to the picture element position information of each in topography and color parameter, by the difference of color parameter in adjacent pixel
The pixel that value is less than the first preset difference value is divided into a color block areas, and all pictures in each color block areas of computation partition
The color parameter average of element;
For example, the topography of display will be amplified in the first image, different color lumps are divided into by foundation of color parameter
Region (for example, the Five-Starred Red Flag (the national flag of the People's Republic of China) is divided into yellow area and red area according to color parameter), calculates each color block areas
Color parameter average.
According to each picture element position information and color parameter in the second image, to each pixel, by the color of pixel
Parameter carries out asking difference acquisition corresponding with each color block areas with the color parameter average of each color block areas of topography
Value difference value, when average difference is less than the second preset difference value, pixel-map to average difference is less than the color of the second preset difference value
Block region;
According to the color parameter of each pixel and the average difference for the color block areas being mapped to, the face of display screen is adjusted
Color.
It should be noted that the embodiment of the present invention, the first preset difference value and the second preset difference value can be by art technologies
Personnel are configured according to image displaying quality, operating rate, the power consumption of implementing equipment of the embodiment of the present invention etc..To display quality
It is required that it is higher, should be smaller on the first preset difference value and the second preset difference value value theory.Fig. 5 is that the embodiment of the present invention sets the
The interaction block diagram of one preset difference value and the second preset difference value, as shown in figure 5, first can be realized by text box 1 and text box 2
The value of preset difference value and the second preset difference value is set, and value, which is set, to be set using the control of other adjustment numerical value
Put, will not be described here.
In addition, color parameter of the embodiment of the present invention can include red (R) green (G) blue (B) numerical value, the RGB numerical value of pixel
It can be obtained by existing acquisition modes in correlation technique;The coordinate that positional information of the embodiment of the present invention can include pixel is believed
Breath, for example, coordinate information [145,168], coordinate information can utilize sensor in correlation technique or read relevant parameter and obtain
.Adjustment with reference to the embodiment of the present invention to display screen color, the embodiment of the present invention can also be adjusted to other display parameters
Whole, adjustment principle is identical with the principle that color is adjusted, as long as determining the second image and the parameter differences of topography.This hair
Bright embodiment can be adjusted by controller to the display parameters of display screen, i.e., by controller according to the aobvious of topography
Show, the second image after amplifying to topography obtains the image for being shown to user by the adjustment of display screen parameter.
Compared with correlation technique, technical scheme of the embodiment of the present invention includes:When carrying out partial enlargement to the first image, it is determined that
The second image shown by partial enlargement;It is determined that the topography in the first image corresponding with the second image;According to second
The image parameter of image and topography adjusts the display parameters of display screen, to be shown to the second image.The present invention is implemented
Example is adjusted according to the image parameter of the topography before amplification to the display parameters of display screen, improves second after amplification
The display quality of image, improves the usage experience of user.
Fig. 6 is the flow chart that another embodiment of the present invention realizes the method that image is shown, as shown in fig. 6, including:
Step 600, the touch control operation for obtaining user;
Step 601, judge user touch control operation whether be partial enlargement operation;
In addition, judge whether to carry out the first image partial enlargement can be by existing embodiment in correlation technique
Carry out judgement processing.The embodiment of the present invention, the coordinate points of starting point are changed when detecting user in continuous touch control operation
When, judge whether the distance between two coordinate points after touch control operation are more than the distance between starting point coordinate, touch control operation
When the distance between two coordinate points afterwards are more than the distance between starting point coordinate, determine that the touch control operation of user is grasped for amplification
Make.After detecting the touch control operation of user for the operation of partial enlargement by said process, according to the operation of partial enlargement to first
Image is amplified processing.When the image currently shown does not change in preset duration, it is determined that shown by partial enlargement
Image is that (the second image can be defined as the second image:In preset duration, the image that the information in pixel does not change).Its
In, preset duration can be the duration of 2 seconds (S) left and right, and preset duration of the embodiment of the present invention can be used directly in correlation technique
Existing definition, can also be configured according to user's definition.Can also according to it is default operation button or external command by with
Family determines whether the operation of the partial enlargement of the first image of completion, and the figure of the embodiment of the present invention so can be efficiently carried out in real time
As display processing.
Step 602, to the first image carry out partial enlargement when, determine the second image shown by partial enlargement;
It should be noted that the image of the embodiment of the present invention first can be the image kept or current
Shoot the image obtained;The image not being displayed in full screen under the image or transverse screen state that can be full screen display.The present invention
Embodiment can be implemented on mobile phone, flat board or computer, and display processing is carried out to the first image by mobile phone, flat board or computer.
Step 603, the determination topography in the first image corresponding with the second image;
It should be noted that when carrying out partial enlargement to the first image, can be according in correlation technique at existing image
Reason rule is handled the first image, and for example, by the interpolation method of pixel the topography in the first image is put
Greatly, it can be determined to obtain the second image according to the handling principle of interpolation method;The processing that the embodiment of the present invention passes through interpolation method
The information of topography in the image information that principle can be gone out before interpolation with backstepping, the i.e. image of the embodiment of the present invention first, changes sentence
Talk about, the information of the corresponding topography in the first image of the second image after partial enlargement can be obtained.For example, by
One of one image is carried out after four times of amplifications partially over the interpolation method of pixel, passes through the handling principle of interpolation method in theory
Four pixels of the second image that in topography pixel can be corresponded to after amplification can be gone out with backstepping.
Step 604, the display parameters according to the image parameter of the second image and topography adjustment display screen, with to second
Image is shown.
Optionally, image parameter of the embodiment of the present invention includes following part or all of:
The pixel position of image, the color of pixel, the brightness of pixel, the transparency of pixel.
It should be noted that image parameter of the embodiment of the present invention can include the pixel position of image, the color of pixel,
One or more of the brightness of pixel, the transparency of pixel, can also include other image parameters, for example, pixel it is sharp
The information such as degree, the quality requirement progress analysis that the additions and deletions of image parameter can be shown by those skilled in the art according to image is set
It is fixed.
Optionally, display parameters of the embodiment of the present invention include following part or all of:It is the color of display screen, brightness, transparent
Degree.
It should be noted that the display parameters of display screen of the embodiment of the present invention can include the color of display screen, brightness, thoroughly
One or more of lightness, the additions and deletions for also carrying out display parameters according to the display quality of image by those skilled in the art are adjusted
It is whole.
Optionally, the display that the embodiment of the present invention adjusts display screen according to the image parameter of the second image and topography is joined
Number includes:
According to the picture element position information of each in topography and color parameter, by the difference of color parameter in adjacent pixel
The pixel that value is less than the first preset difference value is divided into a color block areas, and all pictures in each color block areas of computation partition
The color parameter average of element;
For example, the topography of display will be amplified in the first image, different color lumps are divided into by foundation of color parameter
Region (for example, the Five-Starred Red Flag (the national flag of the People's Republic of China) is divided into yellow area and red area according to color parameter), calculates each color block areas
Color parameter average.
According to each picture element position information and color parameter in the second image, to each pixel, by the color of pixel
Parameter carries out asking difference acquisition corresponding with each color block areas with the color parameter average of each color block areas of topography
Value difference value, when average difference is less than the second preset difference value, pixel-map to average difference is less than the color of the second preset difference value
Block region;
According to the color parameter of each pixel and the average difference for the color block areas being mapped to, the face of display screen is adjusted
Color.
It should be noted that the embodiment of the present invention, the first preset difference value and the second preset difference value can be by art technologies
Personnel are configured according to image displaying quality, operating rate, the power consumption of implementing equipment of the embodiment of the present invention etc..
In addition, color parameter of the embodiment of the present invention can include red (R) green (G) blue (B) numerical value, the RGB numerical value of pixel
It can be obtained by existing acquisition modes in correlation technique;The coordinate that positional information of the embodiment of the present invention can include pixel is believed
Breath, for example, coordinate information [145,168], coordinate information can utilize sensor in correlation technique or read relevant parameter and obtain
.Adjustment with reference to the embodiment of the present invention to display screen color, the embodiment of the present invention can also be adjusted to other display parameters
Whole, adjustment principle is identical with the principle that color is adjusted, as long as determining the second image and the parameter differences of topography.This hair
Bright embodiment can be adjusted by controller to the display parameters of display screen, i.e., by controller according to the aobvious of topography
Show, the second image after amplifying to topography obtains the image for being shown to user by the adjustment of display screen parameter.
Compared with correlation technique, technical scheme of the embodiment of the present invention includes:When carrying out partial enlargement to the first image, it is determined that
The second image shown by partial enlargement;It is determined that the topography in the first image corresponding with the second image;According to second
The image parameter of image and topography adjusts the display parameters of display screen, to be shown to the second image.The present invention is implemented
Example is adjusted according to the image parameter of the topography before amplification to the display parameters of display screen, improves second after amplification
The display quality of image, improves the usage experience of user.
Fig. 7 is the structured flowchart that the embodiment of the present invention realizes the equipment that image is shown, as shown in fig. 7, equipment includes processing
Device, memory and communication bus;
Communication bus is used to realize the connection communication between processor and memory;
Processor is used to perform the image display program stored in memory, to realize following steps:
When carrying out partial enlargement to the first image, the second image shown by partial enlargement is determined;
It is determined that the topography in the first image corresponding with the second image;
The display parameters of display screen are adjusted according to the image parameter of the second image and topography, to be carried out to the second image
Display.
It should be noted that the image of the embodiment of the present invention first can be the image kept or current
Shoot the image obtained;The image not being displayed in full screen under the image or transverse screen state that can be full screen display.The present invention
Embodiment can be implemented on mobile phone, flat board or computer, and display processing is carried out to the first image by mobile phone, flat board or computer.
When carrying out partial enlargement to the first image, can according to existing image procossing rule in correlation technique to the first image at
Reason, for example, by the interpolation method of pixel is amplified to the topography in the first image, former according to the processing of interpolation method
Reason can determine to obtain the second image;The figure that the embodiment of the present invention can be gone out before interpolation by the handling principle of interpolation method with backstepping
As the information of the topography in information, the i.e. image of the embodiment of the present invention first, in other words, it can obtain after partial enlargement
The information of the corresponding topography in the first image of second image.
Optionally, image parameter of the embodiment of the present invention includes following part or all of:
The pixel position of image, the color of pixel, the brightness of pixel, the transparency of pixel.
It should be noted that image parameter of the embodiment of the present invention can include the pixel position of image, the color of pixel,
One or more of the brightness of pixel, the transparency of pixel, can also include other image parameters, for example, pixel it is sharp
The information such as degree, the quality requirement progress analysis that the additions and deletions of image parameter can be shown by those skilled in the art according to image is set
It is fixed.
Optionally, display parameters of the embodiment of the present invention include following part or all of:It is the color of display screen, brightness, transparent
Degree.
It should be noted that the display parameters of display screen of the embodiment of the present invention can include the color of display screen, brightness, thoroughly
One or more of lightness, the additions and deletions for also carrying out display parameters according to the display quality of image by those skilled in the art are adjusted
It is whole.
Optionally, processor of the embodiment of the present invention adjusts display screen according to the image parameter of the second image and topography
Display parameters include:
According to the picture element position information of each in topography and color parameter, by the difference of color parameter in adjacent pixel
The pixel that value is less than the first preset difference value is divided into a color block areas, and all pictures in each color block areas of computation partition
The color parameter average of element;
For example, the topography of display will be amplified in the first image, different color lumps are divided into by foundation of color parameter
Region (for example, the Five-Starred Red Flag (the national flag of the People's Republic of China) is divided into yellow area and red area according to color parameter), calculates each color block areas
Color parameter average.
According to each picture element position information and color parameter in the second image, to each pixel, by the color of pixel
Parameter carries out asking difference acquisition corresponding with each color block areas with the color parameter average of each color block areas of topography
Value difference value, when average difference is less than the second preset difference value, pixel-map to average difference is less than the color of the second preset difference value
Block region;
According to the color parameter of each pixel and the average difference for the color block areas being mapped to, the face of display screen is adjusted
Color.
It should be noted that the embodiment of the present invention, the first preset difference value and the second preset difference value can be by art technologies
Personnel are configured according to image displaying quality, operating rate, the power consumption of implementing equipment of the embodiment of the present invention etc..
In addition, color parameter of the embodiment of the present invention can include red (R) green (G) blue (B) numerical value, the RGB numerical value of pixel
It can be obtained by existing acquisition modes in correlation technique;The coordinate that positional information of the embodiment of the present invention can include pixel is believed
Breath, for example, coordinate information [145,168], coordinate information can utilize sensor in correlation technique or read relevant parameter and obtain
.Adjustment with reference to the embodiment of the present invention to display screen color, the embodiment of the present invention can also be adjusted to other display parameters
Whole, adjustment principle is identical with the principle that color is adjusted, as long as determining the second image and the parameter differences of topography.This hair
Bright embodiment can be adjusted by controller to the display parameters of display screen, i.e., by controller according to the aobvious of topography
Show, the second image after amplifying to topography obtains the image for being shown to user by the adjustment of display screen parameter.
Optionally, processor is used to perform the image display program stored in memory, in addition to:
Before determining the second image shown by partial enlargement, it is determined whether carry out partial enlargement to the first image.
It should be noted that judge whether to carry out the first image partial enlargement can be by existing in correlation technique
Embodiment carries out judgement processing.It can include:Obtain the touch control operation of user;Whether the touch control operation for judging user is local
The operation of amplification;Here, whether judge user is that amplifieroperation can include:The touch control operation of user is received by screen, when
When detecting user the coordinate points of starting point are changed in continuous touch control operation, two coordinate points after touch control operation are judged
The distance between whether be more than the distance between starting point coordinate, the distance between two coordinate points after touch control operation are more than
During the distance between initial point coordinate, the touch control operation for determining user is amplifieroperation.The touch-control of user is detected by said process
Operate after the operation for partial enlargement, processing is amplified to the first image according to the operation of partial enlargement.The figure currently shown
As when not changed in preset duration, it is determined that for the second image, (the second image can be determined the image shown by partial enlargement
Justice is:In preset duration, the image that the information in pixel does not change).Wherein, preset duration can be 2 seconds (S) left and right
Duration, preset duration of the embodiment of the present invention can directly use existing definition in correlation technique, can also be defined according to user
It is configured.According to default button or external command can also be operated to determine whether that the part for completing the first image is put by user
Big operation, the image display processing of the embodiment of the present invention so can be efficiently carried out in real time.
Compared with correlation technique, technical scheme of the embodiment of the present invention includes:When carrying out partial enlargement to the first image, it is determined that
The second image shown by partial enlargement;It is determined that the topography in the first image corresponding with the second image;According to second
The image parameter of image and topography adjusts the display parameters of display screen, to be shown to the second image.The present invention is implemented
Example is adjusted according to the image parameter of the topography before amplification to the display parameters of display screen, improves second after amplification
The display quality of image, improves the usage experience of user.
A kind of computer-readable recording medium, computer-readable recording medium storage has one or more program, one
Or multiple programs can realize following steps by one or more computing device:
When carrying out partial enlargement to the first image, the second image shown by partial enlargement is determined;
It should be noted that the image of the embodiment of the present invention first can be the image kept or current
Shoot the image obtained;The image not being displayed in full screen under the image or transverse screen state that can be full screen display.The present invention
Embodiment can be implemented on mobile phone, flat board or computer, and display processing is carried out to the first image by mobile phone, flat board or computer.
Optionally, one or more program of the embodiment of the present invention can be realized by one or more computing device with
Lower step:
Before determining the second image shown by partial enlargement, it is determined whether carry out partial enlargement to the first image.
It should be noted that judge whether to carry out the first image partial enlargement can be by existing in correlation technique
Embodiment carries out judgement processing.It can include:Obtain the touch control operation of user;Whether the touch control operation for judging user is local
The operation of amplification;Here, whether judge user is that amplifieroperation can include:The touch control operation of user is received by screen, when
When detecting user the coordinate points of starting point are changed in continuous touch control operation, two coordinate points after touch control operation are judged
The distance between whether be more than the distance between starting point coordinate, the distance between two coordinate points after touch control operation are more than
During the distance between initial point coordinate, the touch control operation for determining user is amplifieroperation.The touch-control of user is detected by said process
Operate after the operation for partial enlargement, processing is amplified to the first image according to the operation of partial enlargement.The figure currently shown
As when not changed in preset duration, it is determined that for the second image, (the second image can be determined the image shown by partial enlargement
Justice is:In preset duration, the image that the information in pixel does not change).Wherein, preset duration can be 2 seconds (S) left and right
Duration, preset duration of the embodiment of the present invention can directly use existing definition in correlation technique, can also be defined according to user
It is configured.According to default button or external command can also be operated to determine whether that the part for completing the first image is put by user
Big operation, the image display processing of the embodiment of the present invention so can be efficiently carried out in real time.
It is determined that the topography in the first image corresponding with the second image;
It should be noted that when carrying out partial enlargement to the first image, can be according in correlation technique at existing image
Reason rule is handled the first image, and for example, by the interpolation method of pixel the topography in the first image is put
Greatly, it can be determined to obtain the second image according to the handling principle of interpolation method;The processing that the embodiment of the present invention passes through interpolation method
The information of topography in the image information that principle can be gone out before interpolation with backstepping, the i.e. image of the embodiment of the present invention first, changes sentence
Talk about, the information of the corresponding topography in the first image of the second image after partial enlargement can be obtained.For example, by
One of one image is carried out after four times of amplifications partially over the interpolation method of pixel, passes through the handling principle of interpolation method in theory
Four pixels of the second image that in topography pixel can be corresponded to after amplification can be gone out with backstepping.
The display parameters of display screen are adjusted according to the image parameter of the second image and topography, to be carried out to the second image
Display.
Optionally, image parameter of the embodiment of the present invention includes following part or all of:
The pixel position of image, the color of pixel, the brightness of pixel, the transparency of pixel.
It should be noted that image parameter of the embodiment of the present invention can include the pixel position of image, the color of pixel,
One or more of the brightness of pixel, the transparency of pixel, can also include other image parameters, for example, pixel it is sharp
The information such as degree, the quality requirement progress analysis that the additions and deletions of image parameter can be shown by those skilled in the art according to image is set
It is fixed.
Optionally, display parameters of the embodiment of the present invention include following part or all of:It is the color of display screen, brightness, transparent
Degree.
It should be noted that the display parameters of display screen of the embodiment of the present invention can include the color of display screen, brightness, thoroughly
One or more of lightness, the additions and deletions for also carrying out display parameters according to the display quality of image by those skilled in the art are adjusted
It is whole.
Optionally, the display that the embodiment of the present invention adjusts display screen according to the image parameter of the second image and topography is joined
Number includes:
According to the picture element position information of each in topography and color parameter, by the difference of color parameter in adjacent pixel
The pixel that value is less than the first preset difference value is divided into a color block areas, and all pictures in each color block areas of computation partition
The color parameter average of element;
For example, the topography of display will be amplified in the first image, different color lumps are divided into by foundation of color parameter
Region (for example, the Five-Starred Red Flag (the national flag of the People's Republic of China) is divided into yellow area and red area according to color parameter), calculates each color block areas
Color parameter average.
According to each picture element position information and color parameter in the second image, to each pixel, by the color of pixel
Parameter carries out asking difference acquisition corresponding with each color block areas with the color parameter average of each color block areas of topography
Value difference value, when average difference is less than the second preset difference value, pixel-map to average difference is less than the color of the second preset difference value
Block region;
According to the color parameter of each pixel and the average difference for the color block areas being mapped to, the face of display screen is adjusted
Color.
It should be noted that the embodiment of the present invention, the first preset difference value and the second preset difference value can be by art technologies
Personnel are configured according to image displaying quality, operating rate, the power consumption of implementing equipment of the embodiment of the present invention etc..
In addition, color parameter of the embodiment of the present invention can include red (R) green (G) blue (B) numerical value, the RGB numerical value of pixel
It can be obtained by existing acquisition modes in correlation technique;The coordinate that positional information of the embodiment of the present invention can include pixel is believed
Breath, for example, coordinate information [145,168], coordinate information can utilize sensor in correlation technique or read relevant parameter and obtain
.Adjustment with reference to the embodiment of the present invention to display screen color, the embodiment of the present invention can also be adjusted to other display parameters
Whole, adjustment principle is identical with the principle that color is adjusted, as long as determining the second image and the parameter differences of topography.This hair
Bright embodiment can be adjusted by controller to the display parameters of display screen, i.e., by controller according to the aobvious of topography
Show, the second image after amplifying to topography obtains the image for being shown to user by the adjustment of display screen parameter.
Compared with correlation technique, technical scheme of the embodiment of the present invention includes:When carrying out partial enlargement to the first image, it is determined that
The second image shown by partial enlargement;It is determined that the topography in the first image corresponding with the second image;According to second
The image parameter of image and topography adjusts the display parameters of display screen, to be shown to the second image.The present invention is implemented
Example is adjusted according to the image parameter of the topography before amplification to the display parameters of display screen, improves second after amplification
The display quality of image, improves the usage experience of user.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and
And also including other key elements being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there is other identical element in process, method, article or the device of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a station terminal (can be mobile phone, computer, service
Device, air conditioner, or network equipment etc.) perform method described in each of the invention embodiment.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific
Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art
Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot
Form, these are belonged within the protection of the present invention.