[go: up one dir, main page]

CN105652779A - A picture component generating device - Google Patents

A picture component generating device Download PDF

Info

Publication number
CN105652779A
CN105652779A CN201510758468.1A CN201510758468A CN105652779A CN 105652779 A CN105652779 A CN 105652779A CN 201510758468 A CN201510758468 A CN 201510758468A CN 105652779 A CN105652779 A CN 105652779A
Authority
CN
China
Prior art keywords
color
image
translation
amount
benchmark image
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
CN201510758468.1A
Other languages
Chinese (zh)
Other versions
CN105652779B (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

A picture component generating device is provided to reduce operation load of generating component images with different colors. A reference image storage part (11) stores in advance any project-related component images with any shape and any color system, namely reference images. An any-color assigning part (13) allows a user to assign any color. An image data generating and processing part (14) generates component images with the assigned color and reflecting designs and the like (bright parts and shade parts) of the reference images of each color based on the assigned color and the reference images.

Description

Screen component generating apparatus
Technical field
The present invention relates to the instrument generating and being used to generate the component drawings picture of the picture of programable display.
Background technology
Such as, the invention of patent documentation 1 provides a kind of Images uniting treatment unit, can improve grade arbitrary compound display region in graphic image data can Show Color. This invention has following each structure.
There is the colouring information exterior portion 13 of multiple colouring information tables of energy extended bit width;
The spectral filter portion 14 of the image data transformation multiplying power exported from colouring information table can be made;
The view data exported from spectral filter portion 14 and the 2nd view data are carried out the Images uniting portion 18 synthesized;
At least can generate the Area generation portion 17 in a compound display region; And
Colouring information table control portion 20, this colouring information table control portion 20 is transfused to graphic image data and the regional signal in compound display region, and distinct colors information table can be made mutually corresponding respectively with the view data being displayed in the display area beyond compound display region with the view data being displayed in compound display region;
In addition, in the invention of patent documentation 2, coordinate conversion process is executed factually for the frame numbers kept, generates the new picture data after rotating. Thus, it may also be useful to person does not need the new picture data generated after data, the i.e. such as rotation of display horizontal, vertical.
Prior art literature
Patent documentation
Patent documentation 1: Japanese Patent Laid-Open 2002-23733 publication
Patent documentation 2: Japanese Patent Laid-Open 2011-164475 publication
Summary of the invention
Invent technical problem to be solved
In the past, the mapping editor's device generating arbitrarily display frame (operating display frame) by user in programable display is set sometimes.
At mapping editor's device, store the various component drawings pictures (picture device, such as switch, button, lamp, meter etc.) generated in advance accordingly with various project in advance. User, when generating aforesaid operations display frame, operates, and selects the component drawings picture expected, be arranged on the position of expectation by this component drawings picture from above-mentioned various component drawings picture.
Above-mentioned various assembly, such as, for button, such as, according to the difference of the difference of the shape such as tetragon or circle, design, the equal of color, generates arbitrarily the button of different shape, design, color, and logs in. User operates, therefrom select expect shape, design, color button, this button is arranged on the position of expectation.
Fig. 6 is the figure of the component selection for illustration of conventional, setting operation.
Example at this, using the button of illustrated tetragon as arbitrary project. For this tetragon button, wait the component drawings picture generating illustrated eight looks in advance by developer, it is stored in mapping editor's device. Mapping editor's device has color specifying part. Above-mentioned eight looks are alternatively pointed out, are selected arbitrary color by user by color specifying part. Thus, the component drawings picture of the color that user selects from the image sets of above-mentioned eight looks is removed, and is arranged at the position of expectation by user. Specifying yellow in illustrated example, therefore the component drawings picture of the yellow of the button of above-mentioned tetragon is removed, and is arranged on arbitrary position.
In above-mentioned conventional technology, it may also be useful to person can only select from above-mentioned pre-prepd eight looks.Although the component drawings picture of more colors can be prepared, but cumbersome, also must increase storage volume to preserve component drawings picture.
At this, in recent years, as above-mentioned design, also add the design of three-dimensional/3D, and the design of outstanding gloss and shade. In addition, to often kind of shape, design, the assembly of different colours how can be generated. Especially when described solid/design of 3D, even such as " red button ", " blue buttons " etc., redness that neither be simple or blueness, such as when " red button ", there is common red part, also have the part of garnet, also have the part of shiny red. The part of shiny red is such as the part that illumination is arrived, and the part of garnet is such as the part of shade.
From this kind of situation it will be seen that simple appointment random color does not terminate, the color settings operation correspondingly carried out with design becomes comparatively complicated. Therefore, even if hope prepares the component drawings picture of shades of colour, but in fact operating quantitative change and obtain huge, therefore current has been the limit to the color of often kind of shape, design generation about eight kinds.
It is an object of the invention to provide a kind of mapping editor's device etc., the generation operation burden of the various component drawings pictures that the operating display frame generation operation that can alleviate programable display in mapping editor's device uses, especially generates the operation burden of the different component drawings picture of color.
The technical scheme that technical solution problem adopts
The screen component generating apparatus of the present invention has following each unit.
Benchmark image storage element, this benchmark image storage element stores component drawings picture and the benchmark image of any look system being associated with any project in advance;
Color designating unit, this color designating unit specifies arbitrary color;
Representative color determining unit, this representative color determining unit determines representative color from the look system of described benchmark image;
Amount of translation calculates unit, and this amount of translation calculates unit and calculates the amount of translation being used for this representative color is converted to the bulletin colour utilizing described color designating unit to specify; And
Conversion unit, this conversion unit utilizes described amount of translation each color of the look system of described benchmark image to be changed respectively.
Further, this conversion unit is utilized to generate the component drawings picture of the look system beyond the look system of the described benchmark image being associated with described project.
Invention effect
Mapping editor's device etc. according to the present invention, the generation operation burden of the various component drawings pictures that the operating display frame generation operation that can alleviate programable display in mapping editor's device uses, especially generates the operation burden of the different component drawings picture of color. , thus, further often kind of shape, design can easily be generated the different component drawings picture of multiple color.
Accompanying drawing explanation
Fig. 1 is the function block diagram of the image component generating apparatus of this example.
Fig. 2 (a)��(c) is an example of benchmark image, shielding image etc.
Fig. 3 is the processing flow chart in view data generating process portion.
Fig. 4 is hsv color model.
Fig. 5 is the schematic diagram of the image representing the conversion process that the example of Fig. 2 is corresponding.
Fig. 6 is the figure for illustration of conventional assembly designation method.
Embodiment
Below, with reference to accompanying drawing, embodiments of the present invention are described.
Fig. 1 is the function block diagram of the image component generating apparatus 10 of this example.
The device of the image (component drawings picture) being associated with various project that image component generating apparatus 10 uses when being the operating display frame making it possible to be created on arbitrarily generation programable display.Various component drawings picture, according to projects, generates the image of different shape, design, sometimes also can generate shape further, design identical but that color is different multiple component drawings pictures.
The image component generating apparatus 10 of this example can alleviate shape like this, it is identical to design but the generation operation burden of component drawings picture that color is different. For this reason, developer etc. generate the item image of arbitrary shape, design in advance, it can be used as benchmark image to log in.
The color of this benchmark image can be the color that developer etc. determines arbitrarily, but based on above-mentioned situation, design etc. sometimes also can affect color. Such as, due to the impact of 3D design etc., have illumination to part represent by light tone, the situation that the part of shade is represented by colors such as dead colors. Such as an example, for the item image of arbitrary shape, design, it is possible to have the component drawings picture with common red part, the part of garnet and the part of shiny red. In addition, such a image is called as the component drawings picture of red system. Certainly, it is not limited to red system, also has the component drawings picture of the various look systems such as blue system, yellow system, violet.
Image component generating apparatus 10, by the component drawings picture of arbitrary shape, design is prepared in advance the benchmark image etc. of arbitrary look system, can easily generate (other look system) component drawings picture that color is different.
In image component generating apparatus 10, it may also be useful to person specifies arbitrary color, then based on benchmark image, generate component drawings picture corresponding to this bulletin colour and make the design etc. of this benchmark image be reflected as bulletin colour. Like this, the component drawings picture different from benchmark image color can automatically be generated. , it may also be useful to person carries out specifying the operation of random color, namely operation burden is alleviated.
Image component generating apparatus 10 is such as included in mapping editor's device. But, it is not limited to this example. Mapping editor's device is as described above, it is possible to be the computer device etc. of the function with the operating display frame etc. allowing user generate arbitrarily programable display.
Illustrated image component generating apparatus 10 has the various function parts of benchmark image reservoir 11, masked images reservoir 12, arbitrarily look specifying part 13 and view data generating process portion 14. In addition, as shown in the figure, view data generating process portion 14 is made up of representative color determination portion 21, amount of translation calculating part 22, conversion portion 23 and shielding processing portion 24 etc., the processing capacity in the view data generating process portion 14 these parts gathered, hereafter carrying out describing, is described by these at this.
In present method, generate component drawings picture that minimum a kind of arbitrary project is associated in advance and store. It is referred to as benchmark image. Benchmark image be above-mentioned arbitrary project be associated arbitrary shape, design, color component drawings picture. Benchmark image is generated arbitrarily by developer etc. in advance, is stored in said reference image storage portion 11. Also can also generate the component drawings picture that another kind of above-mentioned arbitrary project is associated in advance, be referred to as color Differential Detection image. Color Differential Detection image is stored in masked images reservoir 12 in advance.
The concrete example of these benchmark images, color Differential Detection image, as shown in Fig. 2 (a), is described afterwards. Color Differential Detection image is that such as shape, design are identical with benchmark image, but the image that color is different. But, it is not limited to whole color different, it is possibility to have the part homochromy with benchmark image.In addition, although color Differential Detection with image not necessarily, only benchmark image also can, but in the example (Fig. 1, Fig. 2 etc.) adopted in this explanation, each project is stored in advance above-mentioned two kinds of component drawings pictures and benchmark image and color Differential Detection image.
Further, view data generating process portion 14, to each project, based on these two kinds of component drawings pictures, generates the component drawings picture of other look system beyond the look system of these two kinds of component drawings pictures. View data generating process portion 14 generates the component drawings picture that the Color pair specified arbitrarily by any look specifying part 13 is answered automatically. View data generating process portion 14, based on this bulletin colour and said reference image, generates the component drawings picture of each color of the design etc. of the look system with this bulletin colour and reflection benchmark image. Such as, the component drawings picture of each color with the bright part of reflection and dash area is generated.
As Fig. 2 (a) shows an example of said reference image, color Differential Detection image.
In Fig. 2 (a), to show project kind be button and shape is the benchmark image that is associated of the project of tetragon as shown in the figure and color Differential Detection image. On figure, left side is benchmark image, and right side is color Differential Detection image.
Further describing the shape of illustrated button, it is made up of the button body part in housing and this housing. Both housings are all same color (such as silver color), and the look system of both button body parts is different. Here, for button body part, benchmark image is violet, and shielding image is blue system.
In this example, this button body part is generated the component drawings picture of any look system beyond violet, blue system by view data generating process portion 14. This example generates the component drawings picture that the bulletin colour of any look specifying part 13 is corresponding.
Any look specifying part 13 allows user specify the color of arbitrary expectation.
View data generating process portion 14 generates the new component drawings picture corresponding to the color that any look specifying part 13 specifies based on above-mentioned two kinds of component drawings pictures and benchmark image and color Differential Detection image. But, it is not limited to this example, such as color Differential Detection image or hereafter described shielding image etc. is not necessarily. , it is possible to only based on benchmark image, namely new component drawings picture corresponding to bulletin colour is generated. This is described hereinafter, here the example also utilizing color Differential Detection image or hereafter described shielding image etc. is described.
At this, as described above, it not the component drawings picture merely generating the color that any look specifying part 13 is specified. As shown in Fig. 2 (a), such as, in benchmark image, the color of button body part is violet as described above. Violet is not exclusively simple purple, and the upside of button body part is bright purple to show gloss etc., and the downside of button body part is mulberry to show shade etc. Not only for benchmark image but also for color Differential Detection image, this is all identical. Such as, when above-mentioned blueness system, it is blue substantially, in addition also there is the part of sapphirine and the part of faint blue.
Thus, when the color specified by any look specifying part 13 it is assumed to be yellow, it similarly is shape, the component drawings picture designing the yellow system identical with said reference image according to the component drawings that this bulletin colour generates. That is, utilize view data generating process portion 14 to generate the color yellow substantially of above-mentioned button body part, but it is the glassy yellow of performance gloss etc. on the upside of it, be the component drawings picture of the dark yellow of performance shade etc. on the downside of it.
For the generating process of such a new component drawings picture, will be described in more detail below, such as, by benchmark image is performed hereafter described conversion process, generate new component drawings picture.At this moment, it is possible to by utilizing a part for color Differential Detection image shielding benchmark image, only using unscreened part as conversion process object. Particular content will be set forth below.
In addition, although being not particularly illustrated, image component generating apparatus 10 has the reservoir such as computation processor, holder etc. such as such as CPU/MPU. Further, the application program of regulation is stored in advance in not shown reservoir. Above-mentioned not shown computation processor is by performing this application program, it is achieved the such as various functions in above-mentioned any look specifying part 13, view data generating process portion 14 (representative color determination portion 21, amount of translation calculating part 22, conversion portion 23, shielding processing portion 24) etc. In addition, a part for the storage area of above-mentioned not shown reservoir also can regard benchmark image reservoir 11 or masked images reservoir 12 etc. as.
Fig. 3 represents the processing flow chart in view data generating process portion 14.
In Fig. 3, such as, specify arbitrary project by user, then read said reference image corresponding to this project and color Differential Detection image (step S11, S12).
, first, further benchmark image and color Differential Detection image, detect the identical part of both colors by this partly shielding effect. That is, the homochromy part of above-mentioned two kinds of images is removed from handling object, using part in addition as handling object (step S13). Such as, compare the pixel (drawing element) of same coordinate, judge that whether color is identical, shield identical pixel. Further, using unscreened part as " handling object image ".
The process of above-mentioned steps S13 is when shown in above-mentioned Fig. 2 when example, first, benchmark image and color Differential Detection image, the part that both colors of detection are identical, extracts out this part as shielding image as Suo Shi Fig. 2 (b). In this example, illustrated frame portion is drawn out of as shielding image. And, carry out shielding the process of benchmark image by utilizing this shielding image, in this example, frame portion is shielded, and thus substantially the part (being above-mentioned button body part in this example) shown in Fig. 2 (c) becomes " handling object image ".
In addition, it is not limited to this example, it is possible to such as generate above-mentioned shielding image (frame portion in the example of Fig. 2 (b)) in advance, it is stored in advance above-mentioned masked images reservoir and replaces above-mentioned color Differential Detection image.
After the process of above-mentioned step S13, utilize the color (bulletin colour) specified by any look specifying part 13, and above-mentioned " handling object image " performs process. First, that is, color representatively in " handling object image " is judged as " representative color " (step S14). This process such as judges the color of whole pixels (drawing element) of " handling object image ", using maximum colors as " representative color ". In other words, using color maximum for area in handling object image as " representative color ".
In the example of above-mentioned Fig. 2 (a), generally speaking, the color of button body part is made up of common purple, bright purple and mulberry, and as the color of button body part, maximum colors is common purple. Thus, common purple is " representative color ".
Then, this representative color is converted to HSV value (step S15) from rgb value. In addition, also bulletin colour is converted to HSV value (step S16) from rgb value. As is well known, generally, color represents mainly with rgb value.Said reference image and color Differential Detection are also represented the color of each pixel with image by rgb value. The process of step S15 is converted into HSV value. This RGB-HSV conversion process itself is prior art, does not elaborate especially at this.
Here, with reference to Fig. 4, HSV value is described.
Hsv color model is by number of colours value by " form and aspect (H) ", " chroma (S) ", " lightness (V) " these three indexs, there will be a known the pyramid type HSV model shown in Fig. 4 (a), and the round tube type HSV model etc. shown in Fig. 4 (b).
" form and aspect (H) " is the index representing tone, as shown in Fig. 4 (a), (b), utilizes the angle of 0 �㡫360 �� in circle to carry out numerical value. Such as, 0 �� (36O ��) is red, and 120 �� is green, and 240 �� is blue.
" chroma (S) " is the index of the bright-coloured degree representing color, is turned to 0.0��1.0 (0%��100%) by numerical value. Numerical value is more big more close to pure color, and numerical value is more little more close to white, black, grey.
" lightness (V) " is the index of the brightness representing color, is turned to 0.0��1.0 (0%��100%) by numerical value.
In purple common as described above, bright purple and mulberry, " form and aspect (H) " is roughly the same, but " chroma (S) " and " lightness (V) " is different. The color-set of relation like this is called as violet. Utilizing this point, make " brightness (S) " and " lightness (V) " keep benchmark image, the process only changing " form and aspect (H) " is the process of hereafter described step S19 etc. Particular content will be set forth below.
Present method is it may be said that be the component drawings picture of the look system generating bulletin colour from the benchmark image of any look system. When above-mentioned concrete example, it can be said that generate the component drawings picture of yellow system from the benchmark image of violet.
Return the explanation of Fig. 3.
The HSV value utilizing above-mentioned steps S15, S16 to obtain, tries to achieve change value (off-set value) (the step S17) from representative color to bulletin colour. That is, the amount of translation being used for representative color is converted to bulletin colour is calculated.
It is worth about this change, in this example, " form and aspect (H) " is obtained the difference of representative color and bulletin colour, " chroma (S) " and " lightness (V) " is obtained the ratio of representative color and bulletin colour. That is, the following each change value (off-set value) of various calculating is utilized.
" off-set values of form and aspect (H) "=" form and aspect (H) of bulletin colour "-" form and aspect (H) of representative color "
" off-set value of chroma (S) "=" chroma (S) of bulletin colour " �� " chroma (S) of representative color "
" off-set value of lightness (V) "=" lightness (V) of bulletin colour " �� " lightness (V) of representative color "
But, it is not limited to this example. The computing of above-mentioned change value such as also can try to achieve the difference of representative color and bulletin colour in all " form and aspect (H) ", " chroma (S) ", " in lightness (V), ". But, the applicant waits by experiment and confirms, compared with the method, the method for above-mentioned " trying to achieve ' chroma (S) ' and ' ratio of lightness (V) ' " can obtain better result.
Then, for above-mentioned " handling object image " (such as button body grades), for other color beyond above-mentioned representative color, all HSV value (step S18) is converted to from rgb value. Owing to being that " common purple " has tried to achieve HSV value to representative color in an above-mentioned example, therefore its rgb value is also converted to HSV value by other color i.e. " bright purple ", " mulberry " respectively.
Further, for whole colors of above-mentioned " handling object image ", above-mentioned change value (off-set value) is adopted to carry out color conversion (step S19) for above-mentioned HSV value respectively.Each color of above-mentioned " handling object image " successively as conversion object look, is utilized following formula to carry out color conversion by above-mentioned color conversion processing.
" form and aspect (H) after conversion "=" form and aspect (H) of conversion object look "+" off-set values of form and aspect (H) "
" chroma (S) after conversion "=" chroma (S) of conversion object look " �� " off-set value of chroma (S) "
" lightness (V) after conversion "=" lightness (V) of conversion object look " �� " off-set value of lightness (V) "
In an above-mentioned example, try to achieve above-mentioned " form and aspect (H) after conversion ", " chroma (S) after conversion " and " lightness (V) after conversion " for " common purple ", " bright purple ", " mulberry " respectively.
And the HSV value after this conversion is reflected each pixel (drawing element) (step S19) at above-mentioned " handling object image ". Such as, the pixel color of " mulberry " is converted to above-mentioned " form and aspect (H) after conversion ", " chroma (S) after conversion " and " lightness (V) after conversion " " mulberry " tried to achieve.
Finally, the HSV value after above-mentioned conversion is converted to by whole pixel rgb value (step S20). Thus, it is automatically generated with benchmark image shape, the new component drawings picture that designs identical and corresponding with bulletin colour look system. In an above-mentioned example, utilizing the process of step S19, " common purple " is become " common yellow " by color conversion, and " bright purple " is become " glassy yellow " by color conversion, and " mulberry " is become " dark yellow " by color conversion. And, utilize the process of step S20, the pixel of " common purple " is become " common yellow " by whole color conversion, and the pixel of " bright purple " is become " glassy yellow " by whole color conversion, and the pixel of " mulberry " is become " dark yellow " by whole color conversion. Thus, above-mentioned new component drawings picture is generated.
In addition, the process of above-mentioned steps S18, S19 also can utilize above-mentioned change value (off-set value) that by its color, whole pixels (drawing element) of above-mentioned " handling object image " are carried out color conversion processing.
In addition, owing to H value is radian value, in the conversion process of above-mentioned steps S19, when above-mentioned " form and aspect (H) after conversion " exceed maximum value (360 ��), restrain in scope by subtracting 360 ��. In addition, refer in scope between 0 �㡫360 ��.
That is, " form and aspect (H) after conversion " > 360 when,
" form and aspect (H) after conversion " (modified value)=" form and aspect (H) after conversion "-360.
Equally, when above-mentioned " form and aspect (H) after changing " are negative value into the following situation of minimum value (0 ��), by adding that 360 �� are restrained in scope.
That is, " form and aspect (H) after conversion " < when 0,
" form and aspect (H) after conversion " (modified value)=" form and aspect (H) after conversion "+360.
Fig. 5 is the schematic diagram representing the above-mentioned conversion process that the example of Fig. 2 is corresponding.
In Fig. 5, left side represents benchmark image, and right side represents converted image and component drawings picture corresponding to bulletin colour. As described above, as an example, benchmark image is violet, and converted image is yellow system. In benchmark image illumination to part in converted image be also as illumination to color. That is, above-mentioned " glassy yellow ". Equally, the part of shade also color as shade in converted image in benchmark image. That is, above-mentioned " dark yellow ".
In addition, in this example, it is assumed that when bulletin colour is " dark yellow ", the pixel of " common purple " is all converted to " dark yellow ", the pixel of " mulberry " is all converted to " darker yellow ", and the pixel of " bright purple " is all such as converted to " common yellow ".Like this, in present method, while maintaining the designability of original image (benchmark image), can automatically generate assembly corresponding to arbitrary bulletin colour. Designability refer to such as illumination to part and shadow part grade, but be not limited to this example.
Such as described in an above-mentioned example, calculating the conversion value (form and aspect (H)=-240 ��) being used for " common purple " is converted to " common yellow ", the part i.e. part of " mulberry " of other homochromy system (being violet here) also only changes form and aspect with identical conversion value with " bright purple ". It is thus possible to retain " common purple " part and performance gloss or shade part between relative chroma, lightness difference be changed into yellow system simultaneously. That is, while retaining the illumination sense of design originally and the gloomy sense of color, the component drawings picture of yellow system can automatically be generated. That is, natural tone can be realized change. In other words, can with the component drawings picture of the not homochromy system of Form generation and original image that maintains the colour brightness/vividness of the design of original image.
In addition, when changing the light and shade of image entirety or change vividness, equally, by utilizing identical conversion value the S value of whole pixels and V value to be changed, can retain H, S, V value relative between each pixel difference carry out tone change simultaneously, thus generate new component drawings picture.
In addition, it is not limited to described example, such as, also can be the variation of following explanation. In variation, do not use above-mentioned color Differential Detection image. Replace, generate above-mentioned " handling object image " in advance and store. In addition, the generation method of handling object image also can be the process of above-mentioned steps S11��S13. That is, in this example, it is also possible to do not perform the process of above-mentioned S11��S13 successively, but it is considered as performing in advance, and stores the process of result in advance. Further, generate above-mentioned shielding image (such as frame portion) in advance and preserve.
Further, replace the process of above-mentioned steps S11, S12, S13, perform the process reading this " handling object image " stored in advance. Further, after performing the process of step S20, to the process of the instrument Images uniting above-mentioned shielding image (in an above-mentioned example image of frame) generated, thus complete instrument image.
It is more than the processing example of variation, but it is not limited to this example, it is possible to be other variation. In addition, rgb value is converted to HSV value by an above-mentioned example and performs process, but be not limited to this example. Such as, it is possible to rgb value is converted to HLS value and performs process.
In addition, as described above, from rgb value to the conversion process of HSV value, it is prior art from HSV value to the conversion process of rgb value, simply it is described below.
Such as when MicrosoftFoundationClass (MFC), prepare following two functions.
Color (is represented from RGB that being converted to HSV represents) by CDrawingManager::RGBtoHSV
Color (is represented from HSV that being converted to RGB represents) by CDrawingManager::HSVtoRGB
Thus, if using these functions, can realize from rgb value to the conversion process of HSV value, from HSV value to the conversion process of rgb value.
In addition, from rgb value to the change type of HSV value, as follows.
If Imax=Max (R, G, B)
When Imin=Min (R, G, B)
�� works as R=Imax
H=60 �� (G-B)/(Imax-Imin)
�� works as G=Imax
H=60 �� (B-R)/(Imax-Imin)+120
�� works 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 process digital after the radix point of the calculated value casting out in ()
P=V �� (1-S)
Q=V �� (1-S �� (H/60-h))
T=V �� (1-S �� (1-H/60+h))
Value according to h is determined as follows.
�� works as h=0
R=V, G=T, B=P
�� works as h=1
R=Q, G=V, B=P
�� works as h=2
R=P, G=V, B=T
�� works as h=3
R=P, G=Q, B=V
�� works as h=4
R=T, G=P, B=V
�� works as h=5
R=V, G=P, B=Q
In above-mentioned explanation, process as view data generating process portion 14 is illustrated in the lump, but also can as shown in Figure 1, view data generating process portion 14 is made up of various function parts such as representative color determination portion 21, amount of translation calculating part 22, conversion portion 23, shielding processing portions 24. Thus, below, utilize these various processing capacity portions 21��24, the process of above-mentioned image component generating apparatus 10 is described.
First, said reference image storage portion 11 stores component drawings picture and the benchmark image of any look system of arbitrary shape that arbitrary project is associated, design in advance. In this as an example, the component drawings picture of violet such as storing arbitrary shape, design in advance is as benchmark image. In this situation, this violet is such as made up of common purple, bright purple and mulberry etc.
Any look specifying part 13 as described above, allows user specify arbitrary color.
Representative color determination portion 21 determines representative color from the look system of said reference image. In an above-mentioned example, from three looks of common purple, bright purple, mulberry, determine representative color. Defining method is such as by colors maximum to color maximum for area and pixel count representatively look, but is not limited to this example.
Amount of translation calculating part 22 calculates the amount of translation (conversion value) being used for this representative color is converted to the bulletin colour of above-mentioned any look specifying part 13. At this, such as, after all rgb values and above-mentioned representative color and bulletin colour being converted to HSV value respectively that be made up of form and aspect (H), chroma (S), these three indexs of lightness (V), this HSV value is utilized to carry out the calculating of above-mentioned amount of translation. In this example, the above-mentioned amount of translation calculated by amount of translation calculating part 22 be the form and aspect (H) for the form and aspect of representative color (H) being converted to bulletin colour amount of translation, for the chroma of representative color (S) is converted to the chroma (S) of bulletin colour amount of translation, for the lightness of representative color (V) being converted to the amount of translation etc. of the lightness (V) of bulletin colour. But, it is not limited to this example.
The calculating of amount of translation, in an above-mentioned example, is the difference that form and aspect (H) are obtained representative color and bulletin colour, but is not limited to this example. Equally, in an above-mentioned example, it is the ratio that chroma (S) and lightness (V) are obtained representative color and bulletin colour, but it is not limited to this example.
Conversion portion 23 utilizes the amount of translation (conversion value) that above-mentioned amount of translation calculating part 22 calculates, each color of conversion said reference image. Such as, in an above-mentioned example, above-mentioned amount of translation (conversion value) is utilized to change each colors such as common purple, bright purple, mulberry. Thus, above-mentioned arbitrary project is generated to the component drawings picture of the look system beyond the look system of said reference image. That is, generate from benchmark image shape, design identical but that color is different component drawings picture. Especially, the shape of benchmark image, the gloss of design correspondence and the part of shade also can reflect in the component drawings picture generated.
In addition, from the above, as an example, each color of the look system of said reference image, can be considered as form and aspect (H) roughly the same, but described chroma (S) and lightness (V) distinct colors.In an above-mentioned example, it is clear that " common purple ", " bright purple " roughly the same with " mulberry " form and aspect (H) (purple), but chroma (S) and lightness (V) are different.
And, thus, as an example, the said modules image generated by conversion portion 23 is made up of each color of the look system being associated with bulletin colour, these each colors are identical with bulletin colour form and aspect (H), but chroma (S) and lightness (V) are different.
In addition, mentioned above it is not necessary to, it is possible to also there is masked images reservoir 12 and shielding processing portion 24. Image and the associated images that said reference image is associated is stored in advance in masked images reservoir 12. This associated images can such as the color Differential Detection shown in above-mentioned Fig. 2 (a), it is also possible to be the shielding image as shown in Fig. 2 (b). When the latter, it is possible to perform the process of step S13 in advance, generate shielding image, stored. In addition, thus, masked images reservoir 12 also can be called associated images reservoir.
Shielding processing portion 24 utilizes above-mentioned associated images, a part for shielding benchmark image. Such as shield the shielding image (frame portion) shown in Fig. 2 (b). Thus, representative color determination portion 21, amount of translation calculating part 22 and conversion portion 23, using being shielded the part beyond part as handling object, perform above-mentioned various process. In an above-mentioned example, to the handling object image shown in Fig. 2 (c), perform above-mentioned various process. Certainly, after generating component drawings picture corresponding to above-mentioned bulletin colour, finally release shielding.
Label explanation
10 image component generating apparatus
11 benchmark image reservoir
12 masked images reservoir
13 any look specifying part
14 view data generating process portions
21 representative color determination portions
22 amount of translation calculating parts
23 conversion portions
24 shielding processing portions

Claims (7)

1. a screen component generating apparatus, it is characterised in that, have:
Benchmark image storage element, this benchmark image storage element stores component drawings picture and the benchmark image of any look system being associated with any project in advance;
Color designating unit, this color designating unit specifies arbitrary color;
Representative color determining unit, this representative color determining unit determines representative color from the look system of described benchmark image;
Amount of translation calculates unit, and this amount of translation calculates unit and calculates the amount of translation being used for this representative color is converted to the bulletin colour utilizing described color designating unit to specify; And
Conversion unit, this conversion unit utilizes described amount of translation each color of the look system of described benchmark image to be changed respectively,
This conversion unit is utilized to generate the component drawings picture of the look system beyond the look system of the described benchmark image being associated with described project.
2. screen component generating apparatus as claimed in claim 1, it is characterised in that,
Described amount of translation calculating unit utilizes this HSV value to carry out the calculating of described amount of translation after described representative color and described bulletin colour are converted to HSV value respectively that be made up of form and aspect (H), chroma (S), these three indexs of lightness (V).
3. screen component generating apparatus as claimed in claim 2, it is characterised in that,
Utilize described amount of translation to calculate described amount of translation that unit calculates be the amount of translation of the form and aspect (H) for the form and aspect of described representative color (H) being converted to described bulletin colour, for the chroma of described representative color (S) is converted to the chroma (S) of described bulletin colour amount of translation and for the amount of translation of the lightness of described representative color (V) is converted to described bulletin colour lightness (V).
4. screen component generating apparatus as according to any one of claims 1 to 3, it is characterised in that,
In each color of the look system of described benchmark image, described form and aspect (H) are roughly the same, but described chroma (S) and lightness (V) are different.
5. screen component generating apparatus as according to any one of claims 1 to 3, it is characterised in that,
Described component drawings similarly is the picture device of the picture forming programable display.
6. screen component generating apparatus as according to any one of claims 1 to 3, it is characterised in that,
The described component drawings picture utilizing described conversion unit to generate is made up of each color of the look system being associated with described bulletin colour, the described form and aspect (H) of this each color are identical with this bulletin colour, but chroma (S) and lightness (V) are different.
7. screen component generating apparatus as according to any one of claims 1 to 3, it is characterised in that,
Also having associated images storage element, this associated images storage element stores the image and associated images that are associated with described benchmark image in advance,
Also having shielding processing unit, this shielding processing unit utilizes this associated images by the part shielding of described benchmark image,
Described representative color determining unit, amount of translation calculate unit and conversion unit using the part beyond part that this is shielded as handling 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 true CN105652779A (en) 2016-06-08
CN105652779B 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 (7)

* 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 Color adjustment method and color adjustment device
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
US20050141771A1 (en) * 2003-10-02 2005-06-30 Hitoshi Yamakado Generation of decorative picture suitable for input picture
CN1825974A (en) * 2005-02-22 2006-08-30 三星电子株式会社 Color conversion apparatus and method for selectively adjusting the color of an input image
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
US20140071174A1 (en) * 2012-09-11 2014-03-13 Samsung Display Co., Ltd. Color-compensating image driving

Family Cites Families (6)

* 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
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
CA2890158C (en) * 2012-10-30 2022-05-17 Stylyze Llc Automated color processing and selection platform

Patent Citations (7)

* 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 Color adjustment method and color adjustment device
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
US20050141771A1 (en) * 2003-10-02 2005-06-30 Hitoshi Yamakado Generation of decorative picture suitable for input picture
CN1825974A (en) * 2005-02-22 2006-08-30 三星电子株式会社 Color conversion apparatus and method for selectively adjusting the color of an input image
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
US20140071174A1 (en) * 2012-09-11 2014-03-13 Samsung Display Co., Ltd. Color-compensating image driving

Also Published As

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

Similar Documents

Publication Publication Date Title
US10217244B2 (en) Method and data processing device for computer-assisted hair coloring guidance
CN108476292B (en) Unified multi-image fusion method
RU2450476C2 (en) Device and method to determine optimal backlighting
CN111191424A (en) Page color matching method and device, storage medium and chip
CN105578063B (en) A kind of image processing method and terminal
JP5318587B2 (en) Gradation creating method, program and apparatus
JP2015507414A (en) Spectral image processing
CN113436284B (en) Image processing method, device, computer equipment and storage medium
CN110377860A (en) A kind of page color method of adjustment, device and electronic equipment
CN113238692B (en) Region selection method, map division method, device and computer equipment
CN113132696B (en) Image tone mapping method, image tone mapping device, electronic equipment and storage medium
CN102768625B (en) Resurfacing method and device of Windows user interface
CN108597474A (en) Image processing equipment, image processing method and computer-readable medium
CN109165058A (en) A kind of image processing method and device
CN109447931B (en) Image processing method and device
CN104639924B (en) It is a kind of to reduce the method that color value precision is improved to device pixel degree of dependence
CN105652779A (en) A picture component generating device
US20230147596A1 (en) Method and apparatus for filtering image colors, electronic device and storage medium
CN111415367A (en) Method and device for removing image background
CN110298783A (en) One kind is scratched as method and system
CN118537276B (en) Color adjustment method and device based on hardware implementation and storage medium
JP2013114076A (en) Image adjustment method, image adjustment device and image adjustment program
Gabrijelčič Tomc et al. Colorimetric accuracy of color reproductions in the 3D scenes
CN118212251A (en) Image processing method, apparatus, medium, and program product
US20040257377A1 (en) Representing colors in stored images using color tinting

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