CN107103581A - A kind of image inverted image processing method, device and computer-readable medium - Google Patents

A kind of image inverted image processing method, device and computer-readable medium Download PDF

Info

Publication number
CN107103581A
CN107103581A CN201710265288.9A CN201710265288A CN107103581A CN 107103581 A CN107103581 A CN 107103581A CN 201710265288 A CN201710265288 A CN 201710265288A CN 107103581 A CN107103581 A CN 107103581A
Authority
CN
China
Prior art keywords
horizontal
picture
line
artificial line
ripple artificial
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.)
Granted
Application number
CN201710265288.9A
Other languages
Chinese (zh)
Other versions
CN107103581B (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710265288.9A priority Critical patent/CN107103581B/en
Publication of CN107103581A publication Critical patent/CN107103581A/en
Application granted granted Critical
Publication of CN107103581B publication Critical patent/CN107103581B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/04Context-preserving transformations, e.g. by using an importance map
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/90Dynamic range modification of images or parts thereof
    • G06T5/94Dynamic range modification of images or parts thereof based on local image properties, e.g. for local contrast enhancement
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses a kind of image inverted image processing method and its device, computer media, this method includes:By pending picture, upset obtains overturning picture vertically;At least one horizontal ripple artificial line is formed on upset picture;Obtain the corresponding horizontal center line of horizontal ripple artificial line;By in the pixel vertical shift on horizontal center line to corresponding horizontal ripple artificial line.Should device include:Memory, processor and storage on a memory and the image inverted image processing routine that can run on a processor, realized when image inverted image processing routine is executed by processor it is of the invention provide image inverted image processing method the step of.The computer-readable medium storage has picture processing program, the step of picture inverted image processing method that the present invention is provided is realized when picture processing program is executed by processor.Originally dull picture can be added ripply inverted image by the present invention, and ripple effect is very true, applied widely.

Description

A kind of image inverted image processing method, device and computer-readable medium
Technical field
The present invention relates to technical field of image processing, more particularly to a kind of image inverted image processing method, device and computer Computer-readable recording medium.
Background technology
Professional photographer often selects to shoot inverted image from water, realizes aestheticism, bright and clean picture effect.Many scenes plus Upper inverted image can be very beautiful, still, and real inverted image usually unintelligible, too secretly, by other things on the water surface can hinder and damage meaning Border, so can typically take photo handling software to be handled, step be not only operated with photo handling software of the prior art It is rapid cumbersome, and need the operation of specialty and a twist of the wrist to obtain inverted image, leverage the enjoyment of user's shooting.
The content of the invention
The embodiments of the invention provide a kind of image inverted image processing method, device and computer-readable medium, it is intended to automatic Reflection effect is generated, lifting shoots experience.
In view of this, there is provided a kind of image inverted image processing method, described image inverted image for first aspect of the embodiment of the present invention Processing method comprises the following steps:
By pending picture, upset obtains overturning picture vertically;
At least one horizontal ripple artificial line is formed on the upset picture;
Obtain the corresponding horizontal center line of the horizontal ripple artificial line;
By in the pixel vertical shift on the horizontal center line to the corresponding horizontal ripple artificial line.
In a kind of possible design, the pixel vertical shift by the center line of the horizontal ripple artificial line is arrived Include on the horizontal ripple artificial line:
The horizontal center line adjacent with the horizontal ripple artificial line is defined as first level center line and the second level Center line, wherein crest of the first level center line close to the horizontal ripple artificial line, second horizontal center line Close to the trough of the horizontal ripple artificial line;
The corresponding horizontal center line in region residing for the crest of the horizontal ripple artificial line is obtained to first level center line The first pixel column, obtain the corresponding horizontal center line in region residing for the trough of the horizontal ripple artificial line into the second level Second pixel column of heart line;
The starting point of first pixel column and second pixel column is defined into the horizontal ripple artificial line corresponding On horizontal center line;
First pixel column is moved in vertical direction, make first pixel column starting point be moved to it is corresponding On the horizontal ripple artificial line;Second pixel column is moved in vertical direction, makes rising for second pixel column Point is moved on the corresponding horizontal ripple artificial line.
In a kind of possible design, the pixel vertical shift by the horizontal center line to the corresponding water After on flat ripple artificial line, in addition to:
Pixel near the horizontal ripple artificial line is subjected to Fuzzy Processing.
In a kind of possible design, the pixel by near the horizontal ripple artificial line carries out Fuzzy Processing bag Include:
Obtain Fuzzy Processing region, the Fuzzy Processing region vertical direction height from the horizontal ripple artificial line Crest or trough at successively decrease to two ends;
At least one in pixel progress contrast, brightness or gray scale in the Fuzzy Processing region is adjusted.
In a kind of possible design, the pixel vertical shift by the horizontal center line to the corresponding water After on flat ripple artificial line, in addition to:
Brightness adjustment is carried out to the pixel near the horizontal ripple artificial line.
In a kind of possible design, the pixel near the horizontal ripple artificial line carries out brightness adjustment bag Include:
Obtain brightness regulation region, the brightness regulation region vertical direction height from the horizontal ripple artificial line Crest or trough at successively decrease to two ends;
The pixel in the brightness regulation region above the corresponding horizontal center line of the horizontal ripple artificial line is carried out Lighten processing;The pixel in the brightness regulation region below the corresponding horizontal center line of the horizontal ripple artificial line is carried out Adjust by processing.
In a kind of possible design, the pixel vertical shift by the horizontal center line to the corresponding water After on flat ripple artificial line, in addition to:The upset picture is subjected to gradual change pressure dark treatment.
In a kind of possible design, it is described by pending picture vertically upset obtain upset picture after, in addition to:
The pending picture is merged with the upset picture, the upset picture is located at the pending picture The lower section in face.
Second aspect of the embodiment of the present invention provides a kind of image inverted image processing unit, it is characterised in that described image is fallen Shadow processing unit includes:Memory, processor and it is stored in the image that can be run on the memory and on the processor Inverted image processing routine, described image inverted image processing routine is realized the image inverted image provided such as the present invention during the computing device The step of processing method.
The third aspect of the embodiment of the present invention provides a kind of computer-readable medium, and the computer-readable medium storage has Picture processing program, realizes the described picture inverted image processing that the present invention is provided when the picture processing program is executed by processor The step of method.
As can be seen from the above technical solutions, in the embodiment of the present invention, image inverted image can be automatically generated, effect is true to nature, can Assign dull picture more far-reaching artistic conception.
Brief description of the drawings
Fig. 1 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the invention;
Fig. 2 is the schematic diagram of the image inverted image processing method of first embodiment of the invention;
Fig. 3 is the pending picture of the embodiment of the present invention and the schematic diagram of upset picture;
Fig. 4 is the horizontal ripple artificial line of the embodiment of the present invention and the schematic diagram of horizontal center line;
Fig. 5 be Fig. 1 shown in image inverted image processing method in step 205 idiographic flow schematic diagram;
Fig. 6 is the schematic diagram of the image inverted image processing method of second embodiment of the invention;
Fig. 7 is the schematic diagram in the Fuzzy Processing region of the embodiment of the present invention;
Fig. 8 is the schematic diagram of the image inverted image processing method of third embodiment of the invention;
Fig. 9 is the schematic diagram of the image inverted image processing method of fourth embodiment of the invention;
Figure 10 is the displaying schematic diagram of reflection effect of the present invention;
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
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 MediaPlayer, 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 ofMobile 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 MultipleAccess, 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 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 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 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.
Referring to Fig. 2, schematic diagrames of the Fig. 2 for the image inverted image processing method of first embodiment of the invention, including following step Suddenly:
201st, start;
202nd, by pending picture, upset obtains overturning picture vertically;
Usually, obtain after upset picture, as shown in figure 3, upset picture 302 and pending picture 301 are speculars 's;
203rd, at least one horizontal ripple artificial line is formed on the upset picture;
In the present embodiment, the horizontal ripple artificial line can be sine curve, and its specific quantity, i.e., at least one's is specific Numerical value can be set depending on picture size;In the specific implementation, adjacent two horizontal ripple artificial lines are in the horizontal direction On do not stagger, certainly, it is also feasible that different horizontal ripple artificial lines mutually staggers in the horizontal direction;In addition, this is extremely A few horizontal ripple artificial line can non-equally be arranged on upset picture, naturally it is also possible to be equally distributed on upset picture On;
204th, the corresponding horizontal center line of the horizontal ripple artificial line is obtained;
More specifically, every horizontal ripple artificial line has a corresponding horizontal center line, referring to Fig. 4;Water Flat center line 402 by its corresponding horizontal ripple artificial line 401 divide into above and below two parts, top half be crest location Domain, the latter half is trough region;
In another embodiment of the invention, can also first again it is described upset picture on form at least one horizontal centre Line, then generates horizontal ripple artificial line by horizontal center line;
205th, by the pixel vertical shift on the horizontal center line to the corresponding horizontal ripple artificial line;
That is, pixel to be carried out to the movement on vertical direction according to horizontal ripple artificial line, make entirely to overturn picture Show the visual effect flowed with horizontal ripple artificial line;
206th, terminate.
In one particular embodiment of the present invention, above-mentioned steps 205 in the specific implementation, can take following steps, As shown in figure 5, by the pixel vertical shift on the center line of the horizontal ripple artificial line to the horizontal ripple artificial line On can include:
501st, start;
502nd, the horizontal center line adjacent with the horizontal ripple artificial line is defined as first level center line and second Horizontal center line, wherein in crest of the first level center line close to the horizontal ripple artificial line, second level Trough of the heart line close to the horizontal ripple artificial line;
Generally, due to picture be overturn below pending picture, therefore, with the horizontal ripple artificial line phase Two adjacent horizontal center lines, above for first level center line, underlying is the second horizontal center line;
503rd, the corresponding horizontal center line in region residing for the crest of the horizontal ripple artificial line is obtained into first level First pixel column of heart line, obtains the corresponding horizontal center line in region residing for the trough of the horizontal ripple artificial line to the second water Second pixel column of flat center line;
It can be seen that, the first pixel column is to be distributed horizontal center line corresponding positioned at horizontal ripple artificial line with the second pixel column Both sides up and down, more specifically, the first pixel column is located above horizontal ripple artificial line corresponding horizontal center line, the second picture Element row are then located at below the corresponding horizontal center line of horizontal ripple artificial line;
504th, the starting point of first pixel column and second pixel column is defined into the horizontal ripple artificial line pair On the horizontal center line answered;
505th, first pixel column is moved in vertical direction, the starting point of first pixel column is moved to pair On the horizontal ripple artificial line answered;Second pixel column is moved in vertical direction, makes second pixel column Starting point be moved on the corresponding horizontal ripple artificial line;
In the corresponding region of crest for being located at horizontal ripple artificial line due to the first pixel column, therefore the first pixel column is existed Being moved up on vertical direction can be such that the starting point of first pixel column is moved on the corresponding horizontal ripple artificial line, More specifically, being on the crest of horizontal ripple artificial line;Because the second pixel column is located at the trough correspondence of horizontal ripple artificial line Region in, therefore the second his pixel column in the vertical direction, which is moved down, can move the starting point of first pixel column Onto the corresponding horizontal ripple artificial line, more specifically, being on the trough of horizontal ripple artificial line;
506th, terminate.
The movement of first pixel column or the second pixel column is likely to result in the missing of some regions pixel, can also cause some Area pixel it is more than needed;The pixel of surrounding can be replicated the area lacked with filler pixels for the region that pixel is lacked Domain;And the pixel in the region that pixel is had more than needed can be then compressed by the region being had more than needed for pixel, or pixel is rich Pixel in remaining region is screened.
As shown in fig. 6, the image inverted image processing method that second embodiment of the invention is provided, comprises the following steps:
601st, start;
602nd, by pending picture, upset obtains overturning picture vertically;
Usually, obtain after upset picture, as shown in figure 3, upset picture 302 and pending picture 301 are speculars 's;
603rd, at least one horizontal ripple artificial line is formed on the upset picture;
In the present embodiment, the horizontal ripple artificial line can be sine curve, and its specific quantity, i.e., at least one's is specific Numerical value can be set depending on picture size;In the specific implementation, adjacent two horizontal ripple artificial lines are in the horizontal direction On do not stagger, certainly, it is also feasible that different horizontal ripple artificial lines mutually staggers in the horizontal direction;In addition, this is extremely A few horizontal ripple artificial line can non-equally be arranged on upset picture, naturally it is also possible to be equally distributed on upset picture On;
604th, the corresponding horizontal center line of the horizontal ripple artificial line is obtained;
More specifically, every horizontal ripple artificial line has a corresponding horizontal center line, referring to Fig. 4;Water Flat center line 402 by its corresponding horizontal ripple artificial line 401 divide into above and below two parts, top half be crest location Domain, the latter half is trough region;
In another embodiment of the invention, can also first again it is described upset picture on form at least one horizontal centre Line, then generates horizontal ripple artificial line by horizontal center line;
605th, by the pixel vertical shift on the horizontal center line to the corresponding horizontal ripple artificial line;
That is, pixel to be carried out to the movement on vertical direction according to horizontal ripple artificial line, make entirely to overturn picture Show the visual effect flowed with horizontal ripple artificial line;
606th, the pixel near the horizontal ripple artificial line is subjected to Fuzzy Processing;
In the specific implementation, Fuzzy Processing region can be first obtained, then the pixel in the Fuzzy Processing region is carried out At least one in contrast, brightness or gray scale is adjusted to reach fuzzy effect;It refer in Fig. 7, the present embodiment, mould Paste processing region 701 successively decreases in the height of vertical direction at the crest or trough of the horizontal ripple artificial line to two ends, such as This can make ripple more stereoeffect;
606th, terminate.
Certainly, in another embodiment of the invention, step 605 can also take specific step as shown in Figure 5, This is repeated no more.
As shown in figure 8, the image inverted image processing method that third embodiment of the invention is provided, comprises the following steps:
801st, start;
802nd, by pending picture, upset obtains overturning picture vertically;
Usually, obtain after upset picture, as shown in figure 3, upset picture 302 and pending picture 301 are speculars 's;
803rd, at least one horizontal ripple artificial line is formed on the upset picture;
In the present embodiment, the horizontal ripple artificial line can be sine curve, and its specific quantity, i.e., at least one's is specific Numerical value can be set depending on picture size;In the specific implementation, adjacent two horizontal ripple artificial lines are in the horizontal direction On do not stagger, certainly, it is also feasible that different horizontal ripple artificial lines mutually staggers in the horizontal direction;In addition, this is extremely A few horizontal ripple artificial line can non-equally be arranged on upset picture, naturally it is also possible to be equally distributed on upset picture On;
804th, the corresponding horizontal center line of the horizontal ripple artificial line is obtained;
More specifically, every horizontal ripple artificial line has a corresponding horizontal center line, referring to Fig. 4;Water Flat center line 402 by its corresponding horizontal ripple artificial line 401 divide into above and below two parts, top half be crest location Domain, the latter half is trough region;
In another embodiment of the invention, can also first again it is described upset picture on form at least one horizontal centre Line, then generates horizontal ripple artificial line by horizontal center line;
805th, by the pixel vertical shift on the horizontal center line to the corresponding horizontal ripple artificial line;
That is, pixel to be carried out to the movement on vertical direction according to horizontal ripple artificial line, make entirely to overturn picture Show the visual effect flowed with horizontal ripple artificial line;
806th, brightness adjustment is carried out to the pixel near the horizontal ripple artificial line;
In the specific implementation, brightness regulation region can be first obtained, then to the horizontal ripple artificial line correspondence will be located at Horizontal center line above brightness regulation region pixel carry out lighten processing;The horizontal ripple artificial line correspondence will be located at Horizontal center line below brightness regulation region pixel carry out dim processing;That is, the picture of increase peak regions Brightness and the picture brightness for reducing valley regions;In the present embodiment, brightness regulation region vertical direction height from the water Successively decrease at the crest or trough of flat ripple artificial line to two ends, can so make ripple more stereoeffect;Carrying out brightness tune During section, brightness regulation region can be divided into multiple zonules, the amplitude of each zonule brightness regulation can be not again With, determined depending on the color in the zonule and brightness;
807th, terminate.
Certainly, in another embodiment of the invention, step 805 can also take specific step as shown in Figure 5, This is repeated no more.
As shown in figure 9, the image inverted image processing method that fourth embodiment of the invention is provided, comprises the following steps:
901st, start;
902nd, by pending picture, upset obtains overturning picture vertically;
Usually, obtain after upset picture, as shown in figure 3, upset picture 302 and pending picture 301 are speculars 's;
903rd, at least one horizontal ripple artificial line is formed on the upset picture;
In the present embodiment, the horizontal ripple artificial line can be sine curve, and its specific quantity, i.e., at least one's is specific Numerical value can be set depending on picture size;In the specific implementation, adjacent two horizontal ripple artificial lines are in the horizontal direction On do not stagger, certainly, it is also feasible that different horizontal ripple artificial lines mutually staggers in the horizontal direction;In addition, this is extremely A few horizontal ripple artificial line can non-equally be arranged on upset picture, naturally it is also possible to be equally distributed on upset picture On;
904th, the corresponding horizontal center line of the horizontal ripple artificial line is obtained;
More specifically, every horizontal ripple artificial line has a corresponding horizontal center line, referring to Fig. 4;Water Flat center line 402 by its corresponding horizontal ripple artificial line 401 divide into above and below two parts, top half be crest location Domain, the latter half is trough region;
In another embodiment of the invention, can also first again it is described upset picture on form at least one horizontal centre Line, then generates horizontal ripple artificial line by horizontal center line;
905th, by the pixel vertical shift on the horizontal center line to the corresponding horizontal ripple artificial line;
That is, pixel to be carried out to the movement on vertical direction according to horizontal ripple artificial line, make entirely to overturn picture Show the visual effect flowed with horizontal ripple artificial line;
906th, the pixel near the horizontal ripple artificial line is subjected to Fuzzy Processing;
In the specific implementation, Fuzzy Processing region can be first obtained, then the pixel in the Fuzzy Processing region is carried out At least one in contrast, brightness or gray scale is adjusted to reach fuzzy effect;It refer in Fig. 7, the present embodiment, mould Paste processing region 701 successively decreases in the height of vertical direction at the crest or trough of the horizontal ripple artificial line to two ends, such as This can make ripple more stereoeffect.
907th, brightness adjustment is carried out to the pixel near the horizontal ripple artificial line;
In the specific implementation, brightness regulation region can be first obtained, then to the horizontal ripple artificial line correspondence will be located at Horizontal center line above brightness regulation region pixel carry out lighten processing;The horizontal ripple artificial line correspondence will be located at Horizontal center line below brightness regulation region pixel carry out dim processing;That is, the picture of increase peak regions Brightness and the picture brightness for reducing valley regions;In the present embodiment, brightness regulation region vertical direction height from the water Successively decrease at the crest or trough of flat ripple artificial line to two ends, can so make ripple more stereoeffect;Carrying out brightness tune During section, brightness regulation region can be divided into multiple zonules, the amplitude of each zonule brightness regulation can be not again With, determined depending on the color in the zonule and brightness;
908th, terminate.
Certainly, in another embodiment of the invention, step 905 can also take specific step as shown in Figure 5, This is repeated no more.In addition, step 906,907 are in the specific implementation, fixed sequencing, can not carried out simultaneously, Step 907 can be first carried out, then performs step 906.
It should be noted that Fuzzy Processing region is although identical with the shape in brightness regulation region, i.e., all it is in vertical side To height successively decrease at the crest or trough of the horizontal ripple artificial line to two ends;But its size can be different, certain mould Paste processing region it is identical with brightness regulation area size, it is completely overlapped be also can be with feasible.
Alternatively, on the basis of the corresponding any embodiment of above-mentioned Fig. 2, Fig. 6, Fig. 8 or Fig. 9, the embodiment of the present invention is carried In the alternative embodiment of the image inverted image processing method of confession, by the pixel vertical shift on the horizontal center line to corresponding After on the horizontal ripple artificial line, in addition to:The upset picture is subjected to gradual change pressure dark treatment;More specifically, be by Overturn picture and gradual change pressure dark treatment is carried out under upper, the top of upset picture is connected with pending picture, i.e. the upset The brightness of picture is brighter closer to pending picture.
The step can be on the horizontal center line pixel vertical shift to the corresponding horizontal ripple artificial line After upper, performed in the either step before end step.
Alternatively, on the basis of the corresponding any embodiment of above-mentioned Fig. 2, Fig. 6, Fig. 8 or Fig. 9, the embodiment of the present invention is carried In the alternative embodiment of the image inverted image processing method of confession, after the vertical upset of pending picture to be obtained to upset picture, also Including:The pending picture is merged with the upset picture, the upset picture is located at the pending picture Lower section;Upset picture with pending picture is seamless connects.
The step can be after by pending picture, upset obtains after upset picture vertically, before end step Performed in either step.
The effect for the inverted image image that the image inverted image method provided using the present invention is obtained is as shown in Figure 10, it is seen then that inverted image Effect is very true to nature and with aesthetic feeling.
The present invention also provides a kind of image inverted image processing unit, and image inverted image processing unit includes:Memory, processor and It is stored in the image inverted image processing routine that can be run on the memory and on the processor, described image inverted image processing journey Sequence is realized the image inverted image processing method of any embodiment offer of the present invention during computing device the step of.
That is, processor is used to perform the image inverted image processing routine stored in memory, to realize following steps:
By pending picture, upset obtains overturning picture vertically;
Usually, obtain after upset picture, as shown in figure 3, upset picture 302 and pending picture 301 are speculars 's;
At least one horizontal ripple artificial line is formed on the upset picture;
In the present embodiment, the horizontal ripple artificial line can be sine curve, and its specific quantity, i.e., at least one's is specific Numerical value can be set depending on picture size;In the specific implementation, adjacent two horizontal ripple artificial lines are in the horizontal direction On do not stagger, certainly, it is also feasible that different horizontal ripple artificial lines mutually staggers in the horizontal direction;In addition, this is extremely A few horizontal ripple artificial line can non-equally be arranged on upset picture, naturally it is also possible to be equally distributed on upset picture On;
Obtain the corresponding horizontal center line of the horizontal ripple artificial line;
More specifically, every horizontal ripple artificial line has a corresponding horizontal center line, referring to Fig. 4;Water Flat center line 402 by its corresponding horizontal ripple artificial line 401 divide into above and below two parts, top half be crest location Domain, the latter half is trough region;
In another embodiment of the invention, can also first again it is described upset picture on form at least one horizontal centre Line, then generates horizontal ripple artificial line by horizontal center line;
By in the pixel vertical shift on the horizontal center line to the corresponding horizontal ripple artificial line;
That is, pixel to be carried out to the movement on vertical direction according to horizontal ripple artificial line, make entirely to overturn picture Show the visual effect flowed with horizontal ripple artificial line.
Entering the pixel vertical shift be about on the horizontal center line to the corresponding horizontal ripple artificial line During step, processor is additionally operable to perform described image inverted image processing routine, to realize following steps:
The horizontal center line adjacent with the horizontal ripple artificial line is defined as first level center line and the second level Center line, wherein crest of the first level center line close to the horizontal ripple artificial line, second horizontal center line Close to the trough of the horizontal ripple artificial line;
Generally, due to picture be overturn below pending picture, therefore, with the horizontal ripple artificial line phase Two adjacent horizontal center lines, above for first level center line, underlying is the second horizontal center line;
The corresponding horizontal center line in region residing for the crest of the horizontal ripple artificial line is obtained to first level center line The first pixel column, obtain the corresponding horizontal center line in region residing for the trough of the horizontal ripple artificial line into the second level Second pixel column of heart line;
It can be seen that, the first pixel column is to be distributed horizontal center line corresponding positioned at horizontal ripple artificial line with the second pixel column Both sides up and down, more specifically, the first pixel column is located above horizontal ripple artificial line corresponding horizontal center line, the second picture Element row are then located at below the corresponding horizontal center line of horizontal ripple artificial line;
The starting point of first pixel column and second pixel column is defined into the horizontal ripple artificial line corresponding On horizontal center line;
First pixel column is moved in vertical direction, make first pixel column starting point be moved to it is corresponding On the horizontal ripple artificial line;Second pixel column is moved in vertical direction, makes rising for second pixel column Point is moved on the corresponding horizontal ripple artificial line;
In the corresponding region of crest for being located at horizontal ripple artificial line due to the first pixel column, therefore the first pixel column is existed Being moved up on vertical direction can be such that the starting point of first pixel column is moved on the corresponding horizontal ripple artificial line, More specifically, being on the crest of horizontal ripple artificial line;Because the second pixel column is located at the trough correspondence of horizontal ripple artificial line Region in, therefore the second his pixel column in the vertical direction, which is moved down, can move the starting point of first pixel column Onto the corresponding horizontal ripple artificial line, more specifically, being on the trough of horizontal ripple artificial line.
In another embodiment of the invention, by the pixel vertical shift on the horizontal center line to corresponding described After step on horizontal ripple artificial line, processor is additionally operable to perform described image inverted image processing routine, to realize following step Suddenly:
Pixel near the horizontal ripple artificial line is subjected to Fuzzy Processing;
In the specific implementation, Fuzzy Processing region can be first obtained, then the pixel in the Fuzzy Processing region is carried out At least one in contrast, brightness or gray scale is adjusted to reach fuzzy effect;It refer in Fig. 7, the present embodiment, mould Paste processing region 701 successively decreases in the height of vertical direction at the crest or trough of the horizontal ripple artificial line to two ends, such as This can make ripple more stereoeffect.
In another embodiment of the invention, by the pixel vertical shift on the horizontal center line to corresponding described After step on horizontal ripple artificial line, processor is additionally operable to perform described image inverted image processing routine, to realize following step Suddenly:
Brightness adjustment is carried out to the pixel near the horizontal ripple artificial line;
In the specific implementation, brightness regulation region can be first obtained, then to the horizontal ripple artificial line correspondence will be located at Horizontal center line above brightness regulation region pixel carry out lighten processing;The horizontal ripple artificial line correspondence will be located at Horizontal center line below brightness regulation region pixel carry out dim processing;That is, the picture of increase peak regions Brightness and the picture brightness for reducing valley regions;In the present embodiment, brightness regulation region vertical direction height from the water Successively decrease at the crest or trough of flat ripple artificial line to two ends, can so make ripple more stereoeffect;Carrying out brightness tune During section, brightness regulation region can be divided into multiple zonules, the amplitude of each zonule brightness regulation can be not again With, determined depending on the color in the zonule and brightness.
It should be noted that Fuzzy Processing region is although identical with the shape in brightness regulation region, i.e., all it is in vertical side To height successively decrease at the crest or trough of the horizontal ripple artificial line to two ends;But its size can be different, certain mould Paste processing region it is identical with brightness regulation area size, it is completely overlapped be also can be with feasible.
In another embodiment of the invention, by the pixel vertical shift on the horizontal center line to corresponding described After step on horizontal ripple artificial line, processor is additionally operable to perform described image inverted image processing routine, to realize following step Suddenly:
The upset picture is subjected to gradual change pressure dark treatment;More specifically, being that upset picture is carried out into gradual change under upper Dark treatment is pressed, the top of upset picture is connected with pending picture, i.e. the brightness of the upset picture is drawn closer to pending Face is brighter.
In another embodiment of the invention, after the step of upset obtains upset picture vertically by pending picture, Processor is additionally operable to perform described image inverted image processing routine, to realize following steps:
The pending picture is merged with the upset picture, the upset picture is located at the pending picture The lower section in face;Upset picture with pending picture is seamless connects.
The present invention also provides a kind of computer-readable medium, and the computer-readable medium storage has picture processing program, The step for the picture inverted image processing method that any embodiment of the present invention is provided is realized when the picture processing program is executed by processor Suddenly.
That is, the picture processing program can be executed by processor, to realize following steps:
By pending picture, upset obtains overturning picture vertically;
Usually, obtain after upset picture, as shown in figure 3, upset picture 302 and pending picture 301 are speculars 's;
At least one horizontal ripple artificial line is formed on the upset picture;
In the present embodiment, the horizontal ripple artificial line can be sine curve, and its specific quantity, i.e., at least one's is specific Numerical value can be set depending on picture size;In the specific implementation, adjacent two horizontal ripple artificial lines are in the horizontal direction On do not stagger, certainly, it is also feasible that different horizontal ripple artificial lines mutually staggers in the horizontal direction;In addition, this is extremely A few horizontal ripple artificial line can non-equally be arranged on upset picture, naturally it is also possible to be equally distributed on upset picture On;
Obtain the corresponding horizontal center line of the horizontal ripple artificial line;
More specifically, every horizontal ripple artificial line has a corresponding horizontal center line, referring to Fig. 4;Water Flat center line 402 by its corresponding horizontal ripple artificial line 401 divide into above and below two parts, top half be crest location Domain, the latter half is trough region;
In another embodiment of the invention, can also first again it is described upset picture on form at least one horizontal centre Line, then generates horizontal ripple artificial line by horizontal center line;
By in the pixel vertical shift on the horizontal center line to the corresponding horizontal ripple artificial line;
That is, pixel to be carried out to the movement on vertical direction according to horizontal ripple artificial line, make entirely to overturn picture Show the visual effect flowed with horizontal ripple artificial line.
Entering the pixel vertical shift be about on the horizontal center line to the corresponding horizontal ripple artificial line During step, the picture processing program can be executed by processor, to realize following steps:
The horizontal center line adjacent with the horizontal ripple artificial line is defined as first level center line and the second level Center line, wherein crest of the first level center line close to the horizontal ripple artificial line, second horizontal center line Close to the trough of the horizontal ripple artificial line;
Generally, due to picture be overturn below pending picture, therefore, with the horizontal ripple artificial line phase Two adjacent horizontal center lines, above for first level center line, underlying is the second horizontal center line;
The corresponding horizontal center line in region residing for the crest of the horizontal ripple artificial line is obtained to first level center line The first pixel column, obtain the corresponding horizontal center line in region residing for the trough of the horizontal ripple artificial line into the second level Second pixel column of heart line;
It can be seen that, the first pixel column is to be distributed horizontal center line corresponding positioned at horizontal ripple artificial line with the second pixel column Both sides up and down, more specifically, the first pixel column is located above horizontal ripple artificial line corresponding horizontal center line, the second picture Element row are then located at below the corresponding horizontal center line of horizontal ripple artificial line;
The starting point of first pixel column and second pixel column is defined into the horizontal ripple artificial line corresponding On horizontal center line;
First pixel column is moved in vertical direction, make first pixel column starting point be moved to it is corresponding On the horizontal ripple artificial line;Second pixel column is moved in vertical direction, makes rising for second pixel column Point is moved on the corresponding horizontal ripple artificial line;
In the corresponding region of crest for being located at horizontal ripple artificial line due to the first pixel column, therefore the first pixel column is existed Being moved up on vertical direction can be such that the starting point of first pixel column is moved on the corresponding horizontal ripple artificial line, More specifically, being on the crest of horizontal ripple artificial line;Because the second pixel column is located at the trough correspondence of horizontal ripple artificial line Region in, therefore the second his pixel column in the vertical direction, which is moved down, can move the starting point of first pixel column Onto the corresponding horizontal ripple artificial line, more specifically, being on the trough of horizontal ripple artificial line.
In another embodiment of the invention, by the pixel vertical shift on the horizontal center line to corresponding described After step on horizontal ripple artificial line, the picture processing program can be executed by processor, to realize following steps:
Pixel near the horizontal ripple artificial line is subjected to Fuzzy Processing;
In the specific implementation, Fuzzy Processing region can be first obtained, then the pixel in the Fuzzy Processing region is carried out At least one in contrast, brightness or gray scale is adjusted to reach fuzzy effect;It refer in Fig. 7, the present embodiment, mould Paste processing region 701 successively decreases in the height of vertical direction at the crest or trough of the horizontal ripple artificial line to two ends, such as This can make ripple more stereoeffect.
In another embodiment of the invention, by the pixel vertical shift on the horizontal center line to corresponding described After step on horizontal ripple artificial line, the picture processing program can be executed by processor, to realize following steps:
Brightness adjustment is carried out to the pixel near the horizontal ripple artificial line;
In the specific implementation, brightness regulation region can be first obtained, then to the horizontal ripple artificial line correspondence will be located at Horizontal center line above brightness regulation region pixel carry out lighten processing;The horizontal ripple artificial line correspondence will be located at Horizontal center line below brightness regulation region pixel carry out dim processing;That is, the picture of increase peak regions Brightness and the picture brightness for reducing valley regions;In the present embodiment, brightness regulation region vertical direction height from the water Successively decrease at the crest or trough of flat ripple artificial line to two ends, can so make ripple more stereoeffect;Carrying out brightness tune During section, brightness regulation region can be divided into multiple zonules, the amplitude of each zonule brightness regulation can be not again With, determined depending on the color in the zonule and brightness.
It should be noted that Fuzzy Processing region is although identical with the shape in brightness regulation region, i.e., all it is in vertical side To height successively decrease at the crest or trough of the horizontal ripple artificial line to two ends;But its size can be different, certain mould Paste processing region it is identical with brightness regulation area size, it is completely overlapped be also can be with feasible.
In another embodiment of the invention, after the step of upset obtains upset picture vertically by pending picture, The picture processing program can be executed by processor, to realize following steps:
The upset picture is subjected to gradual change pressure dark treatment;More specifically, being that upset picture is carried out into gradual change under upper Dark treatment is pressed, the top of upset picture is connected with pending picture, i.e. the brightness of the upset picture is drawn closer to pending Face is brighter.
In another embodiment of the invention, by the pixel vertical shift on the horizontal center line to corresponding described After step on horizontal ripple artificial line, the picture processing program can be executed by processor, and realize following steps:
The pending picture is merged with the upset picture, the upset picture is located at the pending picture The lower section in face;Upset picture with pending picture is seamless connects.
Image inverted image processing method provided in an embodiment of the present invention and its device, computer-readable medium.Can will be originally single The picture of tune adds ripply inverted image, can assign the picture of dullness more far-reaching artistic conception, and the present invention presses specific curved path To move pixel, make ripple effect very true, be adapted to multiple scenes such as people, tree, mountain, water, it is applied widely.
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.

Claims (10)

1. a kind of image inverted image processing method, it is characterised in that described image inverted image processing method comprises the following steps:
By pending picture, upset obtains overturning picture vertically;
At least one horizontal ripple artificial line is formed on the upset picture;
Obtain the corresponding horizontal center line of the horizontal ripple artificial line;
By in the pixel vertical shift on the horizontal center line to the corresponding horizontal ripple artificial line.
2. image inverted image processing method according to claim 1, it is characterised in that described by the horizontal ripple artificial line Center line on pixel vertical shift to including on the horizontal ripple artificial line:
The horizontal center line adjacent with the horizontal ripple artificial line is defined as first level center line and the second horizontal centre Line, wherein crest of the first level center line close to the horizontal ripple artificial line, second horizontal center line is close The trough of the horizontal ripple artificial line;
The corresponding horizontal center line in region residing for the crest of the horizontal ripple artificial line is obtained to the of first level center line One pixel column, obtains the corresponding horizontal center line in region residing for the trough of the horizontal ripple artificial line to the second horizontal center line The second pixel column;
The starting point of first pixel column and second pixel column is defined into the corresponding level of the horizontal ripple artificial line On center line;
First pixel column is moved in vertical direction, make first pixel column starting point be moved to it is corresponding described On horizontal ripple artificial line;Second pixel column is moved in vertical direction, the starting point of second pixel column is moved Move on the corresponding horizontal ripple artificial line.
3. image inverted image processing method according to claim 1, it is characterised in that described by the horizontal center line Pixel vertical shift to after on the corresponding horizontal ripple artificial line, in addition to:
Pixel near the horizontal ripple artificial line is subjected to Fuzzy Processing.
4. image inverted image processing method according to claim 3, it is characterised in that described by the horizontal ripple artificial line Neighbouring pixel, which carries out Fuzzy Processing, to be included:
Obtain Fuzzy Processing region, the Fuzzy Processing region vertical direction height from the ripple of the horizontal ripple artificial line Successively decrease at peak or trough to two ends;
At least one in pixel progress contrast, brightness or gray scale in the Fuzzy Processing region is adjusted.
5. image inverted image processing method according to claim 1, it is characterised in that described by the horizontal center line Pixel vertical shift to after on the corresponding horizontal ripple artificial line, in addition to:
Brightness adjustment is carried out to the pixel near the horizontal ripple artificial line.
6. image inverted image processing method according to claim 5, it is characterised in that described to the horizontal ripple artificial line Neighbouring pixel, which carries out brightness adjustment, to be included:
Obtain brightness regulation region, the brightness regulation region vertical direction height from the ripple of the horizontal ripple artificial line Successively decrease at peak or trough to two ends;
The pixel in the brightness regulation region above the corresponding horizontal center line of the horizontal ripple artificial line is lightened Processing;The pixel in the brightness regulation region below the corresponding horizontal center line of the horizontal ripple artificial line is dimmed Processing.
7. image inverted image processing method according to claim 1, it is characterised in that described by the horizontal center line Pixel vertical shift to after on the corresponding horizontal ripple artificial line, in addition to:The upset picture is subjected to gradual change pressure Dark treatment.
8. image inverted image processing method according to claim 1, it is characterised in that described to overturn pending picture vertically Obtain upset picture after, in addition to:
The pending picture is merged with the upset picture, the upset picture is located at the pending picture Lower section.
9. a kind of image inverted image processing unit, it is characterised in that described image inverted image processing unit includes:Memory, processor And it is stored in the image inverted image processing routine that can be run on the memory and on the processor, the processing of described image inverted image Program is realized the image inverted image processing method as any one of claim 1 to 8 during computing device the step of.
10. a kind of computer-readable medium, the computer-readable medium storage has picture processing program, the picture processing journey The step of picture inverted image processing method as any one of claim 1 to 8 is realized when sequence is executed by processor.
CN201710265288.9A 2017-04-21 2017-04-21 Image reflection processing method and device and computer readable medium Active CN107103581B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710265288.9A CN107103581B (en) 2017-04-21 2017-04-21 Image reflection processing method and device and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710265288.9A CN107103581B (en) 2017-04-21 2017-04-21 Image reflection processing method and device and computer readable medium

Publications (2)

Publication Number Publication Date
CN107103581A true CN107103581A (en) 2017-08-29
CN107103581B CN107103581B (en) 2021-09-07

Family

ID=59657846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710265288.9A Active CN107103581B (en) 2017-04-21 2017-04-21 Image reflection processing method and device and computer readable medium

Country Status (1)

Country Link
CN (1) CN107103581B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108632413A (en) * 2018-05-15 2018-10-09 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN108650463A (en) * 2018-05-15 2018-10-12 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN108900903A (en) * 2018-07-27 2018-11-27 北京市商汤科技开发有限公司 Method for processing video frequency and device, electronic equipment and storage medium
CN111223105A (en) * 2018-11-23 2020-06-02 北京字节跳动网络技术有限公司 Image processing method and device
CN112837255A (en) * 2021-04-13 2021-05-25 上海影卓信息科技有限公司 Method and system for adding float-drawn sea wave reflection in image
CN113674435A (en) * 2021-07-27 2021-11-19 阿里巴巴新加坡控股有限公司 Image processing method, electronic map display method and device and electronic equipment
CN114286009A (en) * 2021-12-29 2022-04-05 维沃移动通信有限公司 Inverted image shooting method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6030289A (en) * 1996-06-27 2000-02-29 Konami Co., Ltd. Video game apparatus, method of displaying models in video game apparatus, and computer-readable recording medium for use with video game apparatus
CN102306391A (en) * 2011-09-20 2012-01-04 深圳Tcl新技术有限公司 OpenGL (open graphics library)-based inverted image display processing device and method
US20140040817A1 (en) * 2010-12-02 2014-02-06 Sony Corporation Of America Visual treatment for a tile-based user interface in a content integration framework

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6030289A (en) * 1996-06-27 2000-02-29 Konami Co., Ltd. Video game apparatus, method of displaying models in video game apparatus, and computer-readable recording medium for use with video game apparatus
US20140040817A1 (en) * 2010-12-02 2014-02-06 Sony Corporation Of America Visual treatment for a tile-based user interface in a content integration framework
CN102306391A (en) * 2011-09-20 2012-01-04 深圳Tcl新技术有限公司 OpenGL (open graphics library)-based inverted image display processing device and method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
第壹刀: "ps扭曲中几个水波、波浪的区别?谢谢", 《HTTPS://ZHIDAO.BAIDU.COM/QUESTION/91100156.HTML》 *
胡守信等: "水中倒影的计算机仿真实验研究", 《物理与工程》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108632413A (en) * 2018-05-15 2018-10-09 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN108650463A (en) * 2018-05-15 2018-10-12 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN108650463B (en) * 2018-05-15 2019-11-26 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN108900903A (en) * 2018-07-27 2018-11-27 北京市商汤科技开发有限公司 Method for processing video frequency and device, electronic equipment and storage medium
CN108900903B (en) * 2018-07-27 2021-04-27 北京市商汤科技开发有限公司 Video processing method and device, electronic equipment and storage medium
CN111223105A (en) * 2018-11-23 2020-06-02 北京字节跳动网络技术有限公司 Image processing method and device
CN111223105B (en) * 2018-11-23 2021-06-22 北京字节跳动网络技术有限公司 Image processing method and device
CN112837255A (en) * 2021-04-13 2021-05-25 上海影卓信息科技有限公司 Method and system for adding float-drawn sea wave reflection in image
CN113674435A (en) * 2021-07-27 2021-11-19 阿里巴巴新加坡控股有限公司 Image processing method, electronic map display method and device and electronic equipment
CN114286009A (en) * 2021-12-29 2022-04-05 维沃移动通信有限公司 Inverted image shooting method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN107103581B (en) 2021-09-07

Similar Documents

Publication Publication Date Title
CN107103581A (en) A kind of image inverted image processing method, device and computer-readable medium
CN107707729A (en) A kind of terminal go out screen or bright screen method, terminal and computer-readable recording medium
CN107241783A (en) A kind of method and terminal for searching for network
CN108270919A (en) A kind of terminal brightness adjusting method, terminal and computer readable storage medium
CN107197094A (en) One kind shooting display methods, terminal and computer-readable recording medium
CN107831946A (en) Interactive button location regulation method, mobile terminal and computer-readable recording medium
CN107678614A (en) A kind of method, equipment and computer-readable recording medium for realizing information alert
CN107682627A (en) A kind of acquisition parameters method to set up, mobile terminal and computer-readable recording medium
CN108008904A (en) Wearable flexible screen display methods, mobile terminal and computer-readable recording medium
CN107132973A (en) Backlight adjusting method, mobile terminal and computer-readable recording medium
CN107948430A (en) A kind of display control method, mobile terminal and computer-readable recording medium
CN107229389A (en) A kind of method of shared file, equipment and computer-readable recording medium
CN107248137A (en) A kind of method and mobile terminal for realizing image procossing
CN107463324A (en) A kind of image display method, mobile terminal and computer-readable recording medium
CN107124552A (en) A kind of image pickup method, terminal and computer-readable recording medium
CN107153500A (en) It is a kind of to realize the method and apparatus that image is shown
CN107632757A (en) A kind of terminal control method, terminal and computer-readable recording medium
CN108008991A (en) A kind of image processing method, terminal and computer-readable recording medium
CN107203986A (en) A kind of image interfusion method, device and computer-readable recording medium
CN107870722A (en) Document transmission method, mobile terminal and the computer-readable recording medium of terminal room
CN107888759A (en) A kind of method, equipment and computer-readable recording medium realized information and sent
CN107273024A (en) A kind of method and apparatus for realizing application data processing
CN107589899A (en) One kind notice display location method of adjustment, terminal and computer-readable recording medium
CN107422853A (en) A kind of gesture identification method, mobile terminal and computer-readable recording medium
CN107817898A (en) Operator scheme recognition methods, terminal and storage medium

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