CN105652779B - Screen component generating means - Google Patents

Screen component generating means Download PDF

Info

Publication number
CN105652779B
CN105652779B CN201510758468.1A CN201510758468A CN105652779B CN 105652779 B CN105652779 B CN 105652779B CN 201510758468 A CN201510758468 A CN 201510758468A CN 105652779 B CN105652779 B CN 105652779B
Authority
CN
China
Prior art keywords
color
image
colour
translation
amount
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510758468.1A
Other languages
Chinese (zh)
Other versions
CN105652779A (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.)
Hakko Electronics Co Ltd
Original Assignee
Hakko Electronics 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 Hakko Electronics Co Ltd filed Critical Hakko Electronics Co Ltd
Publication of CN105652779A publication Critical patent/CN105652779A/en
Application granted granted Critical
Publication of CN105652779B publication Critical patent/CN105652779B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/02Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
    • G09G5/022Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed using memory planes

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Image Processing (AREA)
  • Processing Or Creating Images (AREA)
  • Color Image Communication Systems (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Programmable Controllers (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

The present invention provides a kind of screen component generating means, the operating burden for generating the different component image of color is alleviated.Benchmark image storage unit (11) stores the component image i.e. benchmark image of any colour system of the associated arbitrary shape of arbitrary project, design in advance.Random colour specifying part (13) allows user to specify arbitrary color.Image data generates processing unit (14) and is based on the bulletin colour and said reference image, generates the colour system with the bulletin colour and reflects the component image of each colors of (light and dash area) such as the design of benchmark image.

Description

Screen component generating means
Technical field
The present invention relates to generate the tool for being used to generate the component image of picture of programable display.
Background technique
For example, the invention of patent document 1 provides a kind of image synthesis processing unit, arbitrary synthesis viewing area can be improved The displayable colour of equal graphic image data in domain.The invention has following each structures.
The colouring information exterior portion 13 of multiple colouring information tables with energy extended bit width;
It can make the optical filter portion 14 of the image data transformation multiplying power exported from colouring information table;
The image combining unit 18 that the image data exported from optical filter portion 14 and the second image data are synthesized;
The Area generation portion 17 of a synthesis display area can at least be generated;And
Colouring information table control unit 20, the colouring information table control unit 20 are entered graphic image data and synthesis viewing area The regional signal in domain, can make different colouring information table and the image data for being shown in synthesis display area and be shown in synthesis to show Show that the image data of the display area other than region corresponds to each other respectively;
In addition, implementing coordinate conversion process for the picture data of holding, after generating rotation in the invention of patent document 2 New picture data.User does not need to generate the data of horizontal, vertical display, i.e. for example postrotational new picture as a result, Data.
Existing technical literature
Patent document
Patent document 1: Japanese Patent Laid-Open 2002-23733 bulletin
Patent document 2: Japanese Patent Laid-Open 2011-164475 bulletin
Summary of the invention
The technical problems to be solved by the invention
In the past, it is arranged sometimes and arbitrarily generates display picture (operating display frame) in programable display by user Mapping editing device.
In mapping editing device, various assemblies image (the picture device that storage is accordingly pre-generated with various projects in advance Part, such as switch, button, lamp, meter etc.).User is operated, when generating aforesaid operations and showing picture from above-mentioned Desired component image is selected in various assemblies image, which is set on desired position.
Above-mentioned various assemblies, such as by taking button as an example, such as not according to the differences of the shapes such as quadrangle or circle, design Same, difference of color etc., the arbitrarily button of generation various shape, design, color, and log in.User operates, Cong Zhongxuan The button is set on desired position by the button for selecting desired shape, design, color.
Fig. 6 is the figure for illustrating previous component selection, setting operation.
Here, using the button of the quadrangle of diagram as the example of arbitrary project.For the quadrangle button, in advance by The component image of eight colors of the generations such as developer diagram, is stored in mapping editing device.Editing device of mapping is specified with color Portion.Color specifying part, above-mentioned eight color is alternatively prompted, and selects arbitrary color by user.User is from upper as a result, The component image for stating the color selected in the image group of eight colors is removed, and is positioned in desired position by user.Diagram Example in specify yellow, therefore the component image of the yellow of the button of above-mentioned quadrangle is removed, and is set to arbitrary position On.
In above-mentioned previous technology, user can only select from above-mentioned pre-prepd eight color.Although can prepare more The component image of color, but it is more troublesome, storage volume must also be increased in order to save component image.
Here, in recent years, as above-mentioned design, the design of three-dimensional/3D is also added, and prominent gloss and shade Design.In addition, can mostly generate the component of different colours to each shape, design.Especially in the design of the three-dimensional/3D In the case of, even such as " red button ", " blue buttons " etc., nor simple red or blue, such as " red is pressed In the case where button ", there is common RED sector, also there is the part of kermesinus, there are also the parts of shiny red.The part example of shiny red The part that illumination in this way is arrived, the part of kermesinus is, for example, the part of shade.
From such case it is found that specified random color does not terminate merely, the color correspondingly carried out with design is set Operation becomes complex.Therefore, even if wishing the component image of preparation various colors, but actually operating quantity becomes huge, It therefore has been currently the limit to the color of each shape, eight kinds or so of design generation.
The purpose of the present invention is to provide a kind of mapping editing devices etc., and can mitigate in mapping editing device may be programmed display The operating display frame of device generates the generation operating burden for operating used various assemblies image, and especially generation color is different Component image operating burden.
Technical scheme applied to solve the technical problem
Screen component generating means of the invention have following each units.
Benchmark image storage element, the benchmark image storage element store any colour system associated with any project in advance Component image, that is, benchmark image;
Color designating unit, the color designating unit specify arbitrary color;
Color determination unit is represented, this represents the determination from the colour system of the benchmark image of color determination unit and represents color;
Amount of translation computing unit, which, which calculates, is referred to for representing color and being converted to this using the color The amount of translation of the specified bulletin colour of order member;And
Converting unit, the converting unit are carried out respectively using each color of the amount of translation to the colour system of the benchmark image Conversion.
Also, the colour system other than the colour system of the benchmark image associated with the project is generated using the converting unit Component image.
Invention effect
Mapping editing device according to the present invention etc., the operation that can mitigate programable display in mapping editing device are shown Picture generates the generation operating burden for operating used various assemblies image, the especially different component image of generation color Operating burden.Also, the different component image of multiple colors can be easily produced to each shape, design as a result,.
Detailed description of the invention
Fig. 1 is the functional block diagram of the image component generating means of this example.
Fig. 2 (a)~(c) is an example of benchmark image, shielding image etc..
Fig. 3 is the process flow diagram that image data generates processing unit.
Fig. 4 is hsv color model.
Fig. 5 is the schematic diagram for indicating the image of the corresponding conversion process of the example of Fig. 2.
Fig. 6 is the figure for illustrating previous component designation method.
Specific embodiment
In the following, the embodiments of the present invention will be described with reference to the drawings.
Fig. 1 is the functional block diagram of the image component generating means 10 of this example.
Image component generating means 10 are to enable any generate in the operating display frame for generating programable display When used image (component image) associated with various projects device.Various assemblies image is generated according to projects The image of various shape, design also can further generate the identical but different color multiple component images of shape, design sometimes.
The image component generating means 10 of this example can mitigate the component image that shape, design are identical but different color like this Generation operating burden.For this purpose, the item image of the pre-generated arbitrary shape such as developer, design, as benchmark image It logs in.
The color of the benchmark image can be the color that developer etc. arbitrarily determines, but based on the above situation, design sometimes Deng also will affect color.For example, due to the influence of 3D design etc., have illumination to part indicated by light tone, the part of shade by The case where colors such as dead color indicate.Such as an example, for the item image of arbitrary shape, design, might have has The component image of the part of the part and shiny red of common RED sector, kermesinus.In addition, such a image is claimed For the component image of red colour system.Certainly, it is not limited to red colour system, also has the group of the various colour systems such as blue series, yellow class, violet Part image.
Image component generating means 10 prepare arbitrary colour system in advance by the component image to arbitrary shape, design Benchmark image etc. can easily produce different (other colour systems) the component image of color.
In image component generating means 10, user specifies arbitrary color, then is based on benchmark image, generates the bulletin colour Corresponding component image makes the design etc. of the benchmark image be reflected as bulletin colour.Like this, it can automatically generate and benchmark image face The different component image of color.That is, user carries out the operation of specified random color, operating burden is alleviated.
Image component generating means 10 are for example included in mapping editing device.It is however not limited to the example.Mapping is compiled It is as described above to collect device, can be the operating display frame etc. for having the function of allowing user arbitrarily to generate programable display Computer installation etc..
The image component generating means 10 of diagram have benchmark image storage unit 11, masked images storage unit 12, random colour Specifying part 13 and image data generate the various function parts of processing unit 14.In addition, as shown, image data generation is handled Portion 14 is constituted by representing color determining section 21, amount of translation calculation part 22, converter section 23 and shielding processing portion 24 etc., these are under Text is described, and the processing function for generating processing unit 14 to image data made of summarizing these parts at this is illustrated.
In this method, pre-generates a kind of at least associated component image of arbitrary project and store.It is referred to as base Quasi- image.Benchmark image is the component image of the associated arbitrary shape of above-mentioned arbitrary project, design, color.Reference map As arbitrarily being generated by developer etc. in advance, it is stored in said reference image storage portion 11.It can also also generate in advance another above-mentioned The associated component image of arbitrary project, is referred to as color Differential Detection image.Color Differential Detection image is pre- First it is stored in masked images storage unit 12.
These benchmark images, specific such as Fig. 2 (a) of color Differential Detection image are shown, are illustrated later.Color Differential Detection with image is that such as shape, design is identical as benchmark image, but the image that color is different.It is however not limited to all Color is different, can also there is the part homochromy with benchmark image.In addition, though color Differential Detection is not required with image, Only benchmark image can also, but in an example (Fig. 1, Fig. 2 etc.) used in this explanation, each project is stored in advance above two Component image, that is, benchmark image and color Differential Detection image.
Also, image data generates processing unit 14 to each project, is based on both component images, generates both components The component image of other colour systems other than the colour system of image.Image data generation processing unit 14 is automatically generated is specified by random colour The corresponding component image of the color that portion 13 is arbitrarily designated.Image data generates processing unit 14 and is based on the bulletin colour and said reference figure Picture generates the component image of each color of design of the colour system with the bulletin colour and reflection benchmark image etc..For example, generating tool There is the component image of each color of reflection light and dash area.
As Fig. 2 (a) shows an example of said reference image, color Differential Detection image.
In Fig. 2 (a), show project kind be button and shape be quadrangle as shown in the figure project it is associated Benchmark image and color Differential Detection image.On figure, left side is benchmark image, and right side is color Differential Detection image.
The shape of the button of diagram is further described, it is made of the button body part in outline border and the outline border. The outline border of the two is all same color (such as silver color), and the colour system of the button body part of the two is different.Here, for button sheet For body portion, benchmark image is violet, and shielding is blue series with image.
In the example, image data generates processing unit 14 and generates other than violet, blue series to the button body part The component image of any colour system.The corresponding component image of bulletin colour of random colour specifying part 13 is generated in this example.
Random colour specifying part 13 allows user to specify arbitrary desired color.
Image data generates processing unit 14 and is based on above two component image, that is, benchmark image and color Differential Detection figure As generating component image new corresponding to the specified color of random colour specifying part 13.It is however not limited to the example, such as color Differential Detection image or shielding image described below etc. are not required.That is, benchmark image can also be based only upon, generate specified The corresponding new component image of color.This is described hereinafter, here to also utilizing color Differential Detection image or hereafter The example of shielding image etc. is illustrated.
Here, not being the component image for merely generating the specified color of random colour specifying part 13 as described above. The color of button body part is violet as described above as shown in Fig. 2 (a), such as in benchmark image.Violet is incomplete Simple purple, the upside of button body part in order to show gloss etc. in brilliant violet color, the downside of button body part in order to Showing shade etc. is in mulberry.Not only for benchmark image and for color Differential Detection image, this is all identical.For example, In the case where above-mentioned blue series, substantially blue, in addition to this there is also the parts of sapphirine and lazuline part.
In the case where being assumed to be yellow by the color that random colour specifying part 13 is specified as a result, generated according to the bulletin colour Component drawings seem the component image of shape, design yellow class identical with said reference image.That is, at using image data generation The color that reason portion 14 generates above-mentioned button body part is substantially yellow, but its upside is the glassy yellow for showing gloss etc., Downside is the component image for showing the dark yellow of shade etc..
Generation processing for such a New Parent image, will be described below, such as by reference map As executing conversion process described below, New Parent image is generated.It at this moment, can also be by utilizing color Differential Detection image screen A part of benchmark image is covered, only using unscreened part as conversion process object.Particular content will illustrate below.
In addition, though being not particularly illustrated, image component generating means 10 have the computation processor such as CPU/MPU, storage Storage units such as storage etc..Also, application program as defined in being stored in advance in storage unit (not shown).At above-mentioned calculating (not shown) Device is managed by executing the application program, realizes that for example above-mentioned random colour specifying part 13, image data generate processing unit 14 and (represent color Determining section 21, amount of translation calculation part 22, converter section 23, shielding processing portion 24) etc. various functions.In addition, above-mentioned (not shown) A part of the storage area of storage unit can also regard benchmark image storage unit 11 or masked images storage unit 12 etc. as.
Fig. 3 indicates that image data generates the process flow diagram of processing unit 14.
In Fig. 3, such as arbitrary project specified by user, then reads the corresponding said reference image of the project and color Differential Detection is with image (step S11, S12).
Also, firstly, benchmark image and color Differential Detection image, the identical part of both detections color should Partly shielding effect.That is, the homochromy part of above two image is removed from process object, using part in addition to this as process object (step S13).For example, comparing the pixel (picture element) of same coordinate, judges whether color is identical, shield identical pixel.And And using unscreened part as " process object image ".
In the case where the processing of above-mentioned steps S13 example shown in above-mentioned Fig. 2, firstly, benchmark image and colour-difference Sorting, which is surveyed, uses image, and the identical part of both detections color is extracted out as shown in Fig. 2 (b) using the part as shielding with image.It should In example, the frame portion of diagram is extracted as shielding with image.Also, by carrying out shielding base with image using the shielding The processing of quasi- image, frame portion is shielded in the example, and thus part shown in substantive figure 2 above (c) (is above-mentioned in the example Button body part) become " process object image ".
In addition, being not limited to the example, the above-mentioned shielding image (side in the example of Fig. 2 (b) can also be for example pre-generated Frame portion point), above-mentioned masked images storage unit is had previously been stored in instead of above-mentioned color Differential Detection image.
After the processing of above-mentioned step S13, the color (bulletin colour) and above-mentioned specified by random colour specifying part 13 is utilized " process object image " executes processing.That is, firstly, by " representing color " is judged as the color represented in " process object image " (step S14).Such as color of whole pixels (picture element) of judgement " process object image ", most colors is made in the processing For " representing color ".In other words, using the maximum color of area in process object image as " representing color ".
In the example of above-mentioned Fig. 2 (a), generally speaking, the color of button body part by common purple, brilliant violet color, with And mulberry is constituted, as the color of button body part, most colors is common purple.Common purple is as a result, " representing color ".
Then, this is represented into color and is converted to HSV value (step S15) from rgb value.In addition, also bulletin colour is converted from rgb value For HSV value (step S16).As it is well known, generally, color is mostly indicated with rgb value.Said reference image and color Differential Detection is also indicated the color of each pixel with image by rgb value.HSV value is converted into the processing of step S15.The RGB- HSV conversion process itself is the prior art, is not elaborated especially herein.
Here, HSV value is illustrated referring to Fig. 4.
Hsv color model be with " form and aspect (H) ", " chroma (S) ", " lightness (V) " these three indexs are by number of colours value, Knowing has cylinder type HSV model etc. shown in pyramid type HSV model and Fig. 4 (b) shown in Fig. 4 (a).
" form and aspect (H) " is the index for indicating tone, as shown in Fig. 4 (a), (b), using 0 ° in circle~360 ° angle into Line number value.For example, 0 ° (36O °) is red, 120 ° are greens, and 240 ° are blues.
" chroma (S) " is the index for indicating the bright-coloured degree of color, turns to 0.0~1.0 (0%~100%) by numerical value. The bigger closer pure color of numerical value, smaller closer white, the black, grey of numerical value.
" lightness (V) " is the index for indicating the brightness of color, turns to 0.0~1.0 (0%~100%) by numerical value.
As described above in common purple, brilliant violet color and mulberry, " form and aspect (H) " is roughly the same, but " chroma (S) " " lightness (V) " is different.The color group of such relationship is referred to as violet.Using this point, make " brightness (S) " and " lightness (V) " benchmark image is kept, the processing for only changing " form and aspect (H) " is the processing of step S19 described below etc..Particular content will be Hereinafter illustrate.
This method can be described as the component image that the colour system of bulletin colour is generated from the benchmark image of any colour system.It is above-mentioned specific In the case where example, it may be said that be the component image for generating yellow class from the benchmark image of violet.
Return to the explanation of Fig. 3.
The HSV value obtained using above-mentioned steps S15, S16 is acquired from the change values (deviant) for representing color to bulletin colour (step S17).That is, calculating for the amount of translation that color is converted to bulletin colour will to be represented.
About the change values, in this example, the difference for representing color and bulletin colour is found out to " form and aspect (H) ", to " chroma (S) " " lightness (V) " finds out the ratio for representing color and bulletin colour.That is, utilizing following various each change values (deviant) of calculating.
" deviants of form and aspect (H) "=" form and aspect (H) of bulletin colour "-" form and aspect (H) for representing color "
" deviant of chroma (S) "=" chroma (S) of bulletin colour " ÷ " chroma (S) for representing color "
" deviant of lightness (V) "=" lightness (V) of bulletin colour " ÷ " lightness (V) for representing color "
It is however not limited to the example.The calculation processing of above-mentioned change values for example can also be in whole " form and aspect (H) ", " chroma (S) ", " in lightness (V), " acquires the difference for representing color and bulletin colour.But the applicant is confirmed by experiment etc., with the party Method is compared, and the method for above-mentioned " ratio for acquiring ' chroma (S) ' and ' lightness (V) ' " can obtain better result.
Then, it for above-mentioned " process object image " (such as button body part etc.), is represented other than color for above-mentioned Other colors are all converted to HSV value (step S18) from rgb value.Due to representing color i.e. " common purple " in above-mentioned an example HSV value has been acquired, therefore HSV value also is converted to by its rgb value respectively to other colors i.e. " brilliant violet color ", " mulberry ".
Also, for whole colors of above-mentioned " process object image ", be respectively adopted above-mentioned change values (deviant) for Above-mentioned HSV value carries out color conversion (step S19).Above-mentioned color conversion processing by each color of above-mentioned " process object image " according to It is secondary to be used as converting objects color, color conversion is carried out using following formula.
" form and aspect (H) after conversion "=" form and aspect (H) of converting objects color "+" deviants of form and aspect (H) "
" chroma (S) after conversion "=" chroma (S) of converting objects color " × " deviant of chroma (S) "
" lightness (V) after conversion "=" lightness (V) of converting objects color " × " deviant of lightness (V) "
In above-mentioned an example, the above-mentioned " color after conversion is acquired for " common purple ", " brilliant violet color ", " mulberry " respectively Phase (H) ", " chroma (S) after conversion " and " lightness (V) after conversion ".
And the HSV value after the conversion is reflected in each pixel (picture element) (step S19) of above-mentioned " process object image ". For example, the pixel color of " mulberry " is converted to above-mentioned " form and aspect (H) after conversion " acquired to " mulberry ", " after conversion Chroma (S) " and " lightness (V) after conversion ".
Finally, the HSV value after above-mentioned conversion is converted to rgb value (step S20) to whole pixels.As a result, with reference map As shape, design is identical and the new component image of corresponding with bulletin colour colour system is automatically generated.In above-mentioned an example, step is utilized The processing of rapid S19, " common purple " is converted into " common yellow " by color, and " brilliant violet color " is converted into " bright orange by color Color ", " mulberry " are converted into " dark yellow " by color.Also, utilize the processing of step S20, the pixel quilt of " common purple " Whole colors are converted into " common yellow ", and the pixel of " brilliant violet color " is converted into " glassy yellow " by whole colors, " mulberry " Pixel is converted into " dark yellow " by whole colors.Above-mentioned new component image is generated as a result,.
In addition, above-mentioned change values (deviant) can also be used to above-mentioned " process object figure in the processing of above-mentioned steps S18, S19 Its color is carried out color conversion processing by whole pixels (picture element) of picture ".
In addition, in the conversion process of above-mentioned steps S19, above-mentioned " form and aspect (H) after conversion " are super since H value is radian value In the case where crossing maximum value (360 °), restrained by subtracting 360 ° into range.In addition, refer in range 0 °~360 ° it Between.
That is, in the case where " form and aspect (H) after conversion " > 360,
" form and aspect (H) after conversion " (correction value)=" form and aspect (H) after conversion " -360.
Similarly, in the case that above-mentioned " form and aspect (H) after converting " are negative value into the situation of minimum value (0 °) below, lead to It crosses plus 360 ° and restrains into range.
That is, in the case where " form and aspect (H) after conversion " < 0,
" form and aspect (H) after conversion " (correction value)=" form and aspect (H) after conversion "+360.
Fig. 5 is the schematic diagram for indicating the corresponding above-mentioned conversion process of the example of Fig. 2.
In Fig. 5, left side indicates benchmark image, and right side indicates the corresponding component image of conversion image, that is, bulletin colour.As above Described, as an example, benchmark image is violet, converts image as yellow class.In benchmark image illumination to part converting Also for such as illumination color in image.That is, above-mentioned " glassy yellow ".Similarly, the part of shade is turning in benchmark image Changing in image is also color as shade.That is, above-mentioned " dark yellow ".
In addition, in the example, it is assumed that in the case that bulletin colour is " dark yellow ", the pixel of " common purple " is all converted For " dark yellow ", the pixel of " mulberry " is all converted to " darker yellow ", and the pixel of " brilliant violet color " is all for example converted to " common yellow ".Like this, it in this method, can be automatically generated while maintaining the design of original image (benchmark image) The corresponding component of arbitrary bulletin colour.Design refers to such as part and dash area that illumination is arrived, but is not limited to the example.
Such as described in above-mentioned an example, the conversion value (color for " common purple " to be converted to " common yellow " is calculated Phase (H)=- 240 °), the part of other same colour systems (being here violet) be " mulberry " part and " brilliant violet color " also with Identical conversion value only changes form and aspect.It as a result, can be in the part of reservation " common purple " and the part of performance gloss or shade Between opposite chroma, the difference of lightness while be changed into yellow class.That is, can be in the illumination sense and face for the design for retaining script While the gloomy sense of color, the component image of yellow class is automatically generated.That is, being able to achieve natural tone change.It in other words, can be with Colour brightness/vividness form of the design of original image is maintained to generate the component image with original image difference colour system.
In addition, in the case where changing the light and shade of image entirety or changing vividness, similarly, by utilizing identical turn It changes value to change the S value and V value of whole pixels, be carried out while the difference of opposite H, S, V value between each pixel can be retained Tone change, to generate new component image.
It in addition, being not limited to the example, such as can also be variation as described below.In variation, without using above-mentioned Color Differential Detection image.It replaces, pre-generate above-mentioned " process object image " and stores.In addition, process object figure The generation method of picture can also be the processing of above-mentioned steps S11~S13.That is, can not also successively execute above-mentioned S11 in the example The processing of~S13, but be considered as it is pre- first carry out, and in advance store processing result processing.Further, above-mentioned screen is pre-generated It covers with image (such as frame portion) and saves.
Also, the processing of above-mentioned steps S11, S12, S13 are replaced, executes and reads " the process object image " that stores in advance Processing.Further, after the processing for executing step S20, it is (above-mentioned with image that above-mentioned shielding is synthesized to the tool image of generation The image of frame in an example) processing, to complete tool image.
It is above the processing example of variation, but is not limited to the example, can also is other variations.In addition, above-mentioned an example It is middle that rgb value is converted into HSV value to execute processing, but it is not limited to the example.For example, rgb value can also be converted to HLS value to hold Row processing.
In addition, as described above, from rgb value to the conversion process of HSV value, being from HSV value to the conversion process of RGB value The prior art is simply illustrated below.
Such as in the case where Microsoft Foundation Class (MFC), prepare following two function.
CDrawing Manager::RGB to HSV (color, which is converted to HSV from RGB expression, to be indicated)
CDrawing Manager::HSV to RGB (color, which is converted to RGB from HSV expression, to be indicated)
If being able to achieve the conversion process from rgb value to HSV value as a result, using these functions, from HSV value to rgb value Conversion process.
In addition, from rgb value to the change type of HSV value, as follows.
If Imax=Max (R, G, B)
In the case where Imin=Min (R, G, B)
● work as R=Imax
H=60 × (G-B)/(Imax-Imin)
● work as G=Imax
H=60 × (B-R)/(Imax-Imin)+120
● work as B=Imax
H=60 × (R-G)/(Imax-Imin)+240
S=(Imax-Imin)/Imax
V=Imax
In addition, from HSV value to the change type of rgb value, as follows.
H=floor (H/60) floor () is the processing of number after the decimal point for casting out the calculated value in ()
P=V × (1-S)
Q=V × (1-S × (H/60-h))
T=V × (1-S × (1-H/60+h))
It is as follows according to the determination of the value of h.
● work as h=0
R=V, G=T, B=P
● work as h=1
R=Q, G=V, B=P
● work as h=2
R=P, G=V, B=T
● work as h=3
R=P, G=Q, B=V
● work as h=4
R=T, G=P, B=V
● work as h=5
R=V, G=P, B=Q
In above-mentioned explanation, the processing for generating processing unit 14 as image data is illustrated together, but can also be such as Fig. 1 Shown, image data generates processing unit 14 by representing color determining section 21, amount of translation calculation part 22, converter section 23, shielding processing portion The various function parts such as 24 are constituted.As a result, hereinafter, using these various processing function portions 21~24, illustrate that above-mentioned image component is raw At the processing of device 10.
Firstly, said reference image storage portion 11 store in advance the associated arbitrary shape of arbitrary project, design Component image, that is, benchmark image of any colour system.In this as an example, such as arbitrary shape, the violet of design are stored in advance Component image as benchmark image.In this case, the violet is for example by common purple, brilliant violet color and mulberry etc. It constitutes.
Random colour specifying part 13 as described above, allows user to specify arbitrary color.
It represents the determination from the colour system of said reference image of color determining section 21 and represents color.In above-mentioned an example, from common purple Color, brilliant violet color, mulberry three colors in determination represent color.Determine that method is for example most by the maximum color of area i.e. pixel number Color is used as and represents color, but is not limited to the example.
Amount of translation calculation part 22 is calculated for this to be represented turn that color is converted to the bulletin colour of above-mentioned random colour specifying part 13 The amount of changing (conversion value).Here, all rgb values, that is, above-mentioned are for example represented color and bulletin colour is respectively converted by form and aspect (H), chroma (S), after the HSV value that lightness (V) these three indexs are constituted, the calculating of above-mentioned amount of translation is carried out using the HSV value.The example In, it is the form and aspect for the form and aspect (H) for representing color to be converted to bulletin colour by the above-mentioned amount of translation that amount of translation calculation part 22 calculates (H) amount of translation, the amount of translation of the chroma (S) for the chroma (S) for representing color to be converted to bulletin colour, for color will to be represented Lightness (V) is converted to the amount of translation etc. of the lightness (V) of bulletin colour.It is however not limited to the example.
The calculating of amount of translation is form and aspect (H) to be found out with the difference for representing color and bulletin colour, but be not limited in above-mentioned an example The example.It similarly, is that the ratio for representing color and bulletin colour is found out to chroma (S) and lightness (V) in above-mentioned an example, but it is unlimited In the example.
The amount of translation (conversion value) that converter section 23 is calculated using above-mentioned amount of translation calculation part 22, conversion said reference image Each color.Such as in above-mentioned an example, it is each that common purple, brilliant violet color, mulberry etc. are converted using above-mentioned amount of translation (conversion value) Color.The component image of the colour system other than the colour system of said reference image is generated accordingly, for above-mentioned arbitrary project.That is, raw At the component image identical but different color with benchmark image shape, design.Especially, the shape of benchmark image, design correspond to Gloss and the part of shade can also be reflected in the component image of generation.
In addition, it can be seen from the above, as an example, each color of the colour system of said reference image can be considered as form and aspect (H) substantially It is identical, but the chroma (S) and the different color of lightness (V).In above-mentioned an example, it is clear that " common purple ", " brilliant violet color " and " mulberry " form and aspect (H) are roughly the same (purple), but chroma (S) and lightness (V) are different.
Also, the said modules image as a result, as an example, generated by converter section 23 is by colour system associated with bulletin colour Each color constitute, these each colors are identical with bulletin colour form and aspect (H), but chroma (S) and lightness (V) difference.
In addition, it is described above it is not necessary to, can also also have masked images storage unit 12 and shielding processing portion 24.? Masked images storage unit 12 stores the associated image, that is, associated images of said reference image in advance.The associated images can be such as For color Differential Detection shown in above-mentioned Fig. 2 (a), it is also possible to the shielding as shown in Fig. 2 (b) and uses image.The case where the latter Under, the processing of step S13 can be first carried out in advance, generated shielding image, stored.In addition, masked images store as a result, Portion 12 is alternatively referred to as associated images storage unit.
Shielding processing portion 24 utilizes above-mentioned associated images, shields a part of benchmark image.Such as shown in shielding Fig. 2 (b) Shielding with image (frame portion).Representing color determining section 21, amount of translation calculation part 22 and converter section 23 as a result, will be by shielding part Part other than point executes above-mentioned various processing as process object.In above-mentioned an example, scheme to being dealt with objects shown in Fig. 2 (c) Picture executes above-mentioned various processing.Certainly, after generating the corresponding component image of above-mentioned bulletin colour, shielding is finally released.
Label declaration
10 image component generating means
11 benchmark image storage units
12 masked images storage units
13 random colour specifying parts
14 image datas generate processing unit
21 represent color determining section
22 amount of translation calculation parts
23 converter sections
24 shielding processing portions.

Claims (7)

1. a kind of screen component generating means comprising:
Benchmark image storage element, the benchmark image storage element store the group of any colour system associated with any project in advance Part image, that is, benchmark image;
Color designating unit, the color designating unit specify arbitrary color;
Color determination unit is represented, this represents the determination from the colour system of the benchmark image of color determination unit and represents color;
Amount of translation computing unit, which, which calculates to be used to representing this into color to be converted to, specifies list using the color The amount of translation of the specified bulletin colour of member;And
Converting unit, the converting unit are turned respectively using each color of the amount of translation to the colour system of the benchmark image It changes,
The component drawings of the colour system other than the colour system of the benchmark image associated with the project are generated using the converting unit Picture.
2. screen component generating means as described in claim 1, which is characterized in that
The amount of translation computing unit represents color and the bulletin colour is respectively converted by form and aspect (H), chroma (S), bright for described It spends after the HSV value that (V) these three indexs are constituted, the calculating of the amount of translation is carried out using the HSV value.
3. screen component generating means as claimed in claim 2, which is characterized in that
It is for the form and aspect (H) for representing color to be converted to institute using the amount of translation that the amount of translation computing unit calculates The amount of translation of stating the form and aspect (H) of bulletin colour, the chroma (S) for the chroma (S) for representing color to be converted to the bulletin colour Amount of translation and the lightness (V) for the lightness (V) for representing color to be converted to the bulletin colour amount of translation.
4. screen component generating means as claimed in claim 2 or claim 3, which is characterized in that
In each color of the colour system of the benchmark image, the form and aspect (H) are roughly the same, but the chroma (S) and lightness (V) are no Together.
5. screen component generating means according to any one of claims 1 to 3, which is characterized in that
The component drawings seem the picture device for constituting the picture of programable display.
6. screen component generating means as claimed in claim 2 or claim 3, which is characterized in that
It is made of using the component image that the converting unit generates each color of colour system associated with the bulletin colour, The form and aspect (H) of each color are identical as the bulletin colour, but chroma (S) and lightness (V) are different.
7. screen component generating means according to any one of claims 1 to 3, which is characterized in that
Also there is associated images storage element, which stores figure associated with the benchmark image in advance Picture i.e. associated images,
Also there is shielding processing unit, which is shielded a part of the benchmark image using the associated images It covers,
Color determination unit, amount of translation computing unit and the converting unit of representing makees the part other than the shielded part For process object.
CN201510758468.1A 2014-11-27 2015-11-10 Screen component generating means Active CN105652779B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2014-240618 2014-11-27
JP2014240618A JP6347731B2 (en) 2014-11-27 2014-11-27 Screen parts generator

Publications (2)

Publication Number Publication Date
CN105652779A CN105652779A (en) 2016-06-08
CN105652779B true CN105652779B (en) 2019-06-28

Family

ID=56089488

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510758468.1A Active CN105652779B (en) 2014-11-27 2015-11-10 Screen component generating means

Country Status (3)

Country Link
JP (1) JP6347731B2 (en)
CN (1) CN105652779B (en)
TW (1) TWI671709B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04321182A (en) * 1991-04-22 1992-11-11 Fujitsu Ltd Method and device for hue adjustment
JP2003150212A (en) * 2001-11-12 2003-05-23 Digital Electronics Corp Picture editor device, picture editor program and recording medium with its program recorded thereon
CN1825974A (en) * 2005-02-22 2006-08-30 三星电子株式会社 Color conversion apparatus and method for selectively adjusting input image colors
CN101370148A (en) * 2007-08-13 2009-02-18 三星电子株式会社 RGB to RGBW color decomposition method and system
CN103137096A (en) * 2011-11-24 2013-06-05 林振慧 Color converter

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07154582A (en) * 1993-11-29 1995-06-16 Fuji Xerox Co Ltd Color image edit device
US5615320A (en) * 1994-04-25 1997-03-25 Canon Information Systems, Inc. Computer-aided color selection and colorizing system using objective-based coloring criteria
US6137903A (en) * 1997-06-03 2000-10-24 Linotype-Hell Ag Color transformation system based on target color image
JP4124084B2 (en) * 2003-10-02 2008-07-23 セイコーエプソン株式会社 Image processing apparatus, image processing method, and image processing program
JP4277890B2 (en) * 2006-09-28 2009-06-10 セイコーエプソン株式会社 Document editing apparatus, program, and storage medium
JP4971768B2 (en) * 2006-12-07 2012-07-11 キヤノン株式会社 Editing apparatus, editing method, and program
KR101977066B1 (en) * 2012-09-11 2019-05-13 삼성디스플레이 주식회사 Method for driving image and apparatus for driving image using the same
CA2890158C (en) * 2012-10-30 2022-05-17 Stylyze Llc Automated color processing and selection platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04321182A (en) * 1991-04-22 1992-11-11 Fujitsu Ltd Method and device for hue adjustment
JP2003150212A (en) * 2001-11-12 2003-05-23 Digital Electronics Corp Picture editor device, picture editor program and recording medium with its program recorded thereon
CN1825974A (en) * 2005-02-22 2006-08-30 三星电子株式会社 Color conversion apparatus and method for selectively adjusting input image colors
CN101370148A (en) * 2007-08-13 2009-02-18 三星电子株式会社 RGB to RGBW color decomposition method and system
CN103137096A (en) * 2011-11-24 2013-06-05 林振慧 Color converter

Also Published As

Publication number Publication date
CN105652779A (en) 2016-06-08
TWI671709B (en) 2019-09-11
TW201621878A (en) 2016-06-16
JP6347731B2 (en) 2018-06-27
JP2016103120A (en) 2016-06-02

Similar Documents

Publication Publication Date Title
CN106548455B (en) Apparatus and method for adjusting brightness of image
CN104113688B (en) A kind of image processing method and its electronic equipment
US10217244B2 (en) Method and data processing device for computer-assisted hair coloring guidance
JP3615563B2 (en) How to draw scalable 3D boundaries
CN105122306B (en) Region segmentation method and check device
JP5318587B2 (en) Gradation creating method, program and apparatus
CN106504264B (en) Video foreground image extraction method and device
JP2010152901A (en) Device and method for converting illumination chromaticity using recognized light source and highlight, and computer-readable recording medium with program therefor recorded thereon
CN108846869B (en) Automatic clothes color matching method based on natural image colors
CN111191424A (en) Page color matching method and device, storage medium and chip
US10871884B1 (en) Product image characteristic detection and manipulation
CN108875759B (en) Image processing method and device and server
CN108597474A (en) Image processing equipment, image processing method and computer-readable medium
CN106384375A (en) Coloring fusion method and device for vegetation bottom in electronic game scene
CN111383320A (en) Virtual model processing method, device, equipment and storage medium
CN105652779B (en) Screen component generating means
CN104639924B (en) It is a kind of to reduce the method that color value precision is improved to device pixel degree of dependence
Kovac et al. Illumination independent color-based face detection
Forte Image processing applications in archaeology: classification systems of archaeological sites in the landscape
CN109073452B (en) Determining illumination direction using three-dimensional illumination map
Lindsay et al. Automatic multi-light white balance using illumination gradients and color space projection
CN105453137B (en) Graphic processing method and device based on tile
JP2003331318A (en) Object data production device
US7590283B2 (en) Representing colors in stored images using color tinting
CN114332306A (en) Method and device for processing map, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 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