CN106127213A - A kind of portable suction coloured pencil - Google Patents

A kind of portable suction coloured pencil Download PDF

Info

Publication number
CN106127213A
CN106127213A CN201610490640.4A CN201610490640A CN106127213A CN 106127213 A CN106127213 A CN 106127213A CN 201610490640 A CN201610490640 A CN 201610490640A CN 106127213 A CN106127213 A CN 106127213A
Authority
CN
China
Prior art keywords
color value
value
color
region
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.)
Pending
Application number
CN201610490640.4A
Other languages
Chinese (zh)
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.)
Chongqing University of Arts and Sciences
Original Assignee
Chongqing University of Arts and Sciences
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 Chongqing University of Arts and Sciences filed Critical Chongqing University of Arts and Sciences
Priority to CN201610490640.4A priority Critical patent/CN106127213A/en
Publication of CN106127213A publication Critical patent/CN106127213A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/56Extraction of image or video features relating to colour

Abstract

The invention discloses a kind of portable suction coloured pencil, including: image capture module: gather the image needing to identify color value object;Calculate and memory module: calculate color value and view data storage;Display and user interface: display image and color value, user interface;Image capture device gathers target object image data and stores, the target area gathered in image is selected by user, equipment calculates the color value of identification object region, the rgb value of target area is shown, including to monochromatic object block and the color value identification of polychrome object block and the identification of strong reflective object color value;The present invention starts with from the method identifying color value and solves single and the identification problem of multiple color, and is identified the color of strong reflective object, provides the portable equipment of a kind of color value identification for artistic design type student and design practitioner.

Description

A kind of portable suction coloured pencil
Technical field
The present invention relates to a kind of Portable acquiring subject image and obtain the method and apparatus of its color value.
Background technology
At present, also not for design practitioner, artistic design type student, or need to learn other people of color value Group and the portable suction coloured pencil that designs.Traditional method is (such as Adobe Photoshop, CorelDraw, Adobe at design software Illustrator etc.) in built-in suction color device instrument, color value can be checked;In the past if desired for learning one from reality scene The numerical value of color, has following method: 1, buy colour atla, then go the color in comparison reality with colour atla, find close color Obtain this numerical value;2, by taking pictures or the mode such as scanning, this color is converted to picture to be imported on above software, then Obtain color data by suction color device instrument in software, existing method and apparatus can not realize in reality to all things with Time draw color instant playback numerical value, thus improve designer's work efficiency.
Summary of the invention
It is an object of the invention to provide a kind of Portable acquiring subject image the method obtaining its color value.
It is a further object of the present invention to provide a kind of portable suction coloured pencil.
To achieve these goals, by the following technical solutions: a kind of Portable acquiring subject image also obtains its color The method of value specifically includes that user's selection to target area, the identification of target area color value, the knowledge to monochromatic block color value Not, or to the differentiation of polychrome region unit color value, identification, or the color in the case of strong reflective object and shooting light inequality is known Not;
Above-mentioned monochromatic block color value is identified as: user selects monochromatic areas, and selected areas is a*b pixel coverage, then should Region contains ab pixel, the RGB color value of ab pixel in statistical regions, and R, G, B value carries out statistics summation respectively, point Do not obtain R, G, the summation of B component and maximin, finally try to achieve average and the scope of color component R, G, B, R, G, B is equal It is worth the color value as this region;
The above-mentioned differentiation to polychrome region unit color value, it is identified as: user selects polychrome region, and selected areas is a*b pixel model Enclose, then this region contains ab pixel, and in statistical regions, R, G, B color value of ab pixel, is carried out R, G, B value respectively Statistics, carries out zoning section to R, G, B value respectively, regards same similar color as in K threshold range, statistics R, G, B value All pixels in same threshold range are divided into same color value, and calculate each district according to above-mentioned monochromatic recognition methods The color value of territory section and value range;
Above-mentioned to the colour recognition in the case of strong reflective object and shooting light inequality: to gather more than two not for target object It is designated as Image1, Image2, Image3 with the image of angle shot ..., import image, select district corresponding in each image Territory ab, carries out the division of R, G, B color value area segments, according to above-mentioned polychrome region unit color value respectively to the corresponding region of image Distinguish, recognition methods calculates each color value, final gets rid of the color value that single image exists, retain Image1, Image2, The color value in Image3 all there being corresponding region is as the color value of region ab.
A kind of portable suction coloured pencil specifically includes that
Image acquisition and memory module: using sensors such as ccd as image acquisition element, gather the numeral of pre-acquiring color object Image, and be stored in memory element;
Computing module: read the view data of memory element, obtains image slices vegetarian refreshments according to the selection region of user interface user Color value, color value is carried out statistical analysis, is calculated the RGB expression value of color value;If selected region is monochromatic Region can obtain average and the value range of a color, if selected area comprises the visibly different color of two or more, and can root Calculate according to algorithm and identify color value and color value scope;
Display and subscriber interface module: the image of display screen display collection and color value;User interface is grasping of writing on arm Making interface, show collection image in interface, image carries out user pixel selection or custom size region unit selects, quilt The color value in the pixel region chosen can be computed, and shows RGB expression value and the scope of its color value;
Above-mentioned computing module is that the identification of target area color value, to monochromatic block color by user's selection to target area The identification of value, or to the differentiation of polychrome region unit color value, identification, or to strong reflective object and shooting light inequality in the case of Colour recognition;
Above-mentioned monochromatic block color value is identified as: user selects monochromatic areas, and selected areas is a*b pixel coverage, then should Region contains ab pixel, the RGB color value of ab pixel in statistical regions, and R, G, B value carries out statistics summation respectively, point Do not obtain R, G, the summation of B component and maximin, finally try to achieve average and the scope of color component R, G, B, R, G, B is equal It is worth the color value as this region;
The above-mentioned differentiation to polychrome region unit color value, it is identified as: user selects polychrome region, and selected areas is a*b pixel model Enclose, then this region contains ab pixel, and in statistical regions, R, G, B color value of ab pixel, is carried out R, G, B value respectively Statistics, carries out zoning section to R, G, B value respectively, regards same similar color as in K threshold range, statistics R, G, B value All pixels in same threshold range are divided into same color value, and calculate each district according to above-mentioned monochromatic recognition methods The color value of territory section and value range;
Above-mentioned to the colour recognition in the case of strong reflective object and shooting light inequality: to gather more than two not for target object It is designated as Image1, Image2, Image3 with the image of angle shot ..., import image, select district corresponding in each image Territory ab, carries out the division of R, G, B color value area segments, according to above-mentioned polychrome region unit color value respectively to the corresponding region of image Distinguish, recognition methods calculates each color value, final gets rid of the color value that single image exists, retain Image1, Image2, The color value in Image3 all there being corresponding region is as the color value of region ab.
There is advantages that
Color is refined as the representation of numerical value by color value, and degree of refinement is far longer than the degree that human eye can be differentiated, and in this world The color of all things on earth is the polymerization of the shades of colour of change, eye-observation to the color value of object area block be a change Scope;For artistic design person and practitioner, it is sometimes desirable to know color value accurately, it is sometimes desirable to know a certain district The color gamut value in territory;The present invention can carry out accurate description and also can enter the color value of region unit the color value of a pixel Line description, utilizes the color of change in same K threshold value to be considered as a kind of color region section, represents this color region section by average Color value, represents the variation effect of this cluster areas section by color value scope;Simultaneously in order to solve strong reflective object and pickup light Colour recognition in the case of line inequality, utilizes color value computational methods of the present invention can solve strong reflective object and shooting light is uneven The error that color value identification is brought, it is ensured that the accuracy of color value identification in the case of strong reflective object and shooting light inequality.
Accompanying drawing explanation
Fig. 1: for the structural representation of the present invention.
Detailed description of the invention
The invention will be further described with specific embodiment below in conjunction with the accompanying drawings.
As it is shown in figure 1, a kind of Portable acquiring subject image obtain the method and apparatus of its color value, including:
Image acquisition and memory module: the sensor such as ccd is as image acquisition element according to this, gathers the number of pre-acquiring color object Word image;Using arm system as the hardware device of storage, and preserve the view data that ccd gathers;
Computing module: using arm system as the hardware device calculated, read the view data of memory element, according to user interface The region that selects of user obtains the color value of image slices vegetarian refreshments, color value is carried out statistical analysis, is calculated the RGB of color value Expression value;If selected region monochromatic areas can obtain average and the value range of a color, if selected area comprises two Plant or multiple visibly different color, can calculate, according to algorithm, color value and the color value scope of automatically identifying;
Display and subscriber interface module: the image of display screen display collection and color value;User interface is grasping of writing on arm Making interface, show collection image in interface, image carries out user pixel selection or custom size region unit selects, quilt The color value in the pixel region chosen can be computed, and shows RGB expression value and the scope of its color value.
User chooses the block of pixels of a*b size according to demand, and user-selected area is monochromatic areas, identifies monochromatic areas face Colour, this region contains ab pixel, and in statistical regions, R, G, B color value of ab pixel, unites to R, G, B value respectively Meter summation, respectively obtains R, G, the summation of B component and maximin, finally tries to achieve average and the scope of color component R, G, B, Using R, G, B average as the color value in this region;Show Color value and scope.
User chooses the block of pixels of a*b size according to demand, and user-selected area is polychrome region, distinguishes, identifies polychrome Field color value, region contains ab pixel, and in statistical regions, R, G, B color value of ab pixel, enters R, G, B value respectively Row statistics, carries out zoning section to R, G, B value respectively, regards same similar color as in K threshold range, statistics R, G, B Value all pixels in same threshold range are divided into same color value, and calculate each according to above-mentioned monochromatic recognition methods The color value of area segments and value range;Show Color value and scope.
User is to strong reflective object or the object color identification in the case of shooting light inequality;For target object collection The image of more than two different angles shootings is designated as Image1, Image2, Image3 ..., import image, select phase in each figure Corresponding region ab, carries out the division of R, G, B color value area segments, according to polychrome region unit color respectively to the corresponding region of image The differentiation of value, recognition methods calculate each color value, final get rid of the color value that single image exists, retain Image1, Image2, The color value in Image3 all there being corresponding region is as the color value of region ab;Show Color value and scope.

Claims (2)

1. a Portable acquiring subject image the method that obtains its color value, it is characterised in that: include that user is to target area The selection in territory, the identification of target area color value, the identification to monochromatic block color value, or the differentiation of polychrome region unit color value, Identify, or to the colour recognition in the case of strong reflective object and shooting light inequality;
Being identified as of described monochromatic block color value: user selects monochromatic areas, and selected areas is a*b pixel coverage, then this district Territory contains ab pixel, the RGB color value of ab pixel in statistical regions, R, G, B value carries out statistics summation respectively, respectively Obtain R, G, the summation of B component and maximin, finally try to achieve average and the scope of color component R, G, B, by R, G, B average Color value as this region;
The described differentiation to polychrome region unit color value, it is identified as: user selects polychrome region, and selected areas is a*b pixel model Enclose, then this region contains ab pixel, and in statistical regions, R, G, B color value of ab pixel, is carried out R, G, B value respectively Statistics, carries out zoning section to R, G, B value respectively, regards same similar color as in K threshold range, statistics R, G, B value All pixels in same threshold range are divided into same color value, and calculate each district according to described monochromatic recognition methods The color value of territory section and value range;
Described to the colour recognition in the case of strong reflective object and shooting light inequality: to gather more than two not for target object It is designated as Image1, Image2, Image3 with the image of angle shot ..., import image, select district corresponding in each image Territory ab, carries out the division of R, G, B color value area segments, according to described polychrome region unit color value respectively to the corresponding region of image Distinguish, recognition methods calculates each color value, final gets rid of the color value that single image exists, retain Image1, Image2, The color value in Image3 all there being corresponding region is as the color value of region ab.
2. a portable suction coloured pencil, including: image acquisition and memory module, computing module, display and subscriber interface module, its It is characterised by: described computing module is that the color value of identification object region, to monochromatic block by user's selection to target area The identification of color value and the Division identification of polychrome region unit color value, to the face in the case of strong reflective object and shooting light inequality Colour discrimination;
Being identified as of described monochromatic block color value: user selects monochromatic areas, and selected areas is a*b pixel coverage, then this district Territory contains ab pixel, the RGB color value of ab pixel in statistical regions, R, G, B value carries out statistics summation respectively, respectively Obtain R, G, the summation of B component and maximin, finally try to achieve average and the scope of color component R, G, B, by R, G, B average Color value as this region;
The described differentiation to polychrome region unit color value, it is identified as: user selects polychrome region, and selected areas is a*b pixel model Enclose, then this region contains ab pixel, and in statistical regions, R, G, B color value of ab pixel, is carried out R, G, B value respectively Statistics, carries out zoning section to R, G, B value respectively, regards same similar color as in K threshold range, statistics R, G, B value All pixels in same threshold range are divided into same color value, and calculate each district according to described monochromatic recognition methods The color value of territory section and value range;
Described to the colour recognition in the case of strong reflective object and shooting light inequality: to gather more than two not for target object It is designated as Image1, Image2, Image3 with the image of angle shot ..., import image, select district corresponding in each image Territory ab, carries out the division of R, G, B color value area segments, according to described polychrome region unit color value respectively to the corresponding region of image Distinguish, recognition methods calculates each color value, final gets rid of the color value that single image exists, retain Image1, Image2, The color value in Image3 all there being corresponding region is as the color value of region ab.
CN201610490640.4A 2016-06-29 2016-06-29 A kind of portable suction coloured pencil Pending CN106127213A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610490640.4A CN106127213A (en) 2016-06-29 2016-06-29 A kind of portable suction coloured pencil

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610490640.4A CN106127213A (en) 2016-06-29 2016-06-29 A kind of portable suction coloured pencil

Publications (1)

Publication Number Publication Date
CN106127213A true CN106127213A (en) 2016-11-16

Family

ID=57285474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610490640.4A Pending CN106127213A (en) 2016-06-29 2016-06-29 A kind of portable suction coloured pencil

Country Status (1)

Country Link
CN (1) CN106127213A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108124140A (en) * 2017-12-05 2018-06-05 广东小天才科技有限公司 A kind of Color Picker method, apparatus, electronic brush and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101334835A (en) * 2008-07-28 2008-12-31 上海高德威智能交通系统有限公司 Color recognition method
CN201233604Y (en) * 2008-06-12 2009-05-06 常熟久腾光电科技有限公司 Wireless intelligent recognition pen
CN101998063A (en) * 2009-08-20 2011-03-30 财团法人工业技术研究院 Foreground image separation method
CN102324100A (en) * 2011-09-30 2012-01-18 优视科技有限公司 Real-time color acquiring method and device based on camera of mobile terminal
CN102568010A (en) * 2010-12-14 2012-07-11 上海三旗通信科技股份有限公司 Method for extracting color and changing theme coloring by utilizing traditional camera
CN104832875A (en) * 2015-05-18 2015-08-12 俞金慧 Lamp capable of absorbing colors
CN104992162A (en) * 2015-07-17 2015-10-21 高红菊 Intelligent electronic color recognition unit and application method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201233604Y (en) * 2008-06-12 2009-05-06 常熟久腾光电科技有限公司 Wireless intelligent recognition pen
CN101334835A (en) * 2008-07-28 2008-12-31 上海高德威智能交通系统有限公司 Color recognition method
CN101998063A (en) * 2009-08-20 2011-03-30 财团法人工业技术研究院 Foreground image separation method
CN102568010A (en) * 2010-12-14 2012-07-11 上海三旗通信科技股份有限公司 Method for extracting color and changing theme coloring by utilizing traditional camera
CN102324100A (en) * 2011-09-30 2012-01-18 优视科技有限公司 Real-time color acquiring method and device based on camera of mobile terminal
CN104832875A (en) * 2015-05-18 2015-08-12 俞金慧 Lamp capable of absorbing colors
CN104992162A (en) * 2015-07-17 2015-10-21 高红菊 Intelligent electronic color recognition unit and application method thereof

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
(美)JERRY SEDGEWICK等: "《PHOTOSHOP科学图像处理:方法、测量与输出》", 31 May 2009 *
宋秀芬等: "《印染CAD/CAM》", 31 March 2015 *
王巧伶等: "《PHOTOSHOP完美调色宝典》", 31 March 2013 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108124140A (en) * 2017-12-05 2018-06-05 广东小天才科技有限公司 A kind of Color Picker method, apparatus, electronic brush and storage medium

Similar Documents

Publication Publication Date Title
CN106705837B (en) Object measuring method and device based on gestures
CN106355153A (en) Virtual object display method, device and system based on augmented reality
CN101576771B (en) Scaling method for eye tracker based on nonuniform sample interpolation
CN110378945A (en) Depth map processing method, device and electronic equipment
CN107516319A (en) A kind of high accuracy simple interactive stingy drawing method, storage device and terminal
JP5778967B2 (en) Information processing program, information processing method, information processing apparatus, and information processing system
CN103024281A (en) Infrared and visible video integration system
CN106780618A (en) 3 D information obtaining method and its device based on isomery depth camera
CN109559349A (en) A kind of method and apparatus for calibration
CN105865326A (en) Object size measurement method and image database data acquisition method
CN105222717B (en) A kind of subject matter length measurement method and device
CN103356163A (en) Fixation point measurement device and method based on video images and artificial neural network
CN104361574B (en) No-reference color image quality assessment method on basis of sparse representation
CN103598870A (en) Optometry method based on depth-image gesture recognition
WO2015197019A1 (en) Method and system for measuring lens distortion
JP5756322B2 (en) Information processing program, information processing method, information processing apparatus, and information processing system
CN108154551A (en) The method and system of real-time dynamic reconstruction three-dimensional (3 D) manikin
CN106705849A (en) Calibration method of linear-structure optical sensor
CN110378946A (en) Depth map processing method, device and electronic equipment
CN110163898A (en) A kind of depth information method for registering and device
CN106650628B (en) Fingertip detection method based on three-dimensional K curvature
CN103399629B (en) The method and apparatus for obtaining gesture screen display coordinate
CN107507230A (en) Method for tracking target and panorama camera applied to panoramic picture
CN109035307B (en) Set area target tracking method and system based on natural light binocular vision
CN104408395A (en) A gesture identifying method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161116

RJ01 Rejection of invention patent application after publication