CN111127569A - Image conversion display method - Google Patents

Image conversion display method Download PDF

Info

Publication number
CN111127569A
CN111127569A CN201911069835.1A CN201911069835A CN111127569A CN 111127569 A CN111127569 A CN 111127569A CN 201911069835 A CN201911069835 A CN 201911069835A CN 111127569 A CN111127569 A CN 111127569A
Authority
CN
China
Prior art keywords
image
gray
color
color data
cmyk
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
CN201911069835.1A
Other languages
Chinese (zh)
Other versions
CN111127569B (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201911069835.1A priority Critical patent/CN111127569B/en
Publication of CN111127569A publication Critical patent/CN111127569A/en
Application granted granted Critical
Publication of CN111127569B publication Critical patent/CN111127569B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10024Color image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20021Dividing image into blocks, subimages or windows

Abstract

The invention discloses an image conversion display method, wherein the presetting of a pigment color card comprises the following steps: a plurality of sets of CMYK color data, each set of CMYK color data comprising a plurality of CMYK color data corresponding to RGB gray scale values for a single color, the plurality of CMYK color data comprising a first CMYK color data; obtaining a first gray image according to corresponding RGB gray values of a preset pigment color card, and dividing the first gray image into pixel blocks; corresponding pixel blocks with the same gray value in the first gray image in a preset pigment color card; and filling first CMYK color data according to the position where the first gray image and a preset pigment color card have the same gray value to draw a first color image, namely obtaining an image of which the RGB gray image of the first color image is the same as the first gray image. The invention can realize that the same image can display different patterns under the conditions of CMYK color data and corresponding RGB gray scale data.

Description

Image conversion display method
Technical Field
The invention relates to the technical field of artistic creation and application, in particular to an image conversion display method.
Background
At present, the artistic creation form is single, and the works created by artists according to color data have the same RGB gray level images as the images of the works, so that the artists lack more interestingness.
In addition, with the development of society, the consumer goods in people's daily life, the lin lang is full of the mesh, satisfies people's life needs. Most consumer products will have a pattern of identifying lines, such as a registered trademark, to indicate the origin, quality, culture and value of the product. The consumer goods with good quality are often welcomed and pursued by people, but some goods with poor quality are inevitable to falsify the mark patterns to deceive consumers.
For example, ceramic artworks are sought after by people in recent years as objects of collection and investment, and due to the fact that the famous works are small in quantity and high in price and are driven by benefits, a plurality of famous porcelain cups are fraudulently imitated; typically the ceramic itself has an identifying pattern, such as a trade mark pattern, to indicate authenticity.
In addition, although many consumer goods have been innovated in anti-counterfeiting technology, people are often required to have professional identification technology, even detection of some identification departments is required, and the method is complex and not practical for the public.
Therefore, how to make the anti-counterfeiting detection steps simpler and more practical still does not have a good solution at present.
Disclosure of Invention
In view of the above, the present invention has been made to provide an image conversion display method that overcomes or at least partially solves the above problems.
In a first aspect, an embodiment of the present invention provides an image conversion display method, including:
a preset pigment color chip, the preset pigment color chip comprising: a plurality of sets of CMYK color data, each set of CMYK color data comprising a plurality of CMYK color data corresponding to a single RGB gray scale value, the plurality of CMYK color data comprising a first CMYK color data;
drawing a first gray image in an RGB format according to RGB gray values corresponding to a preset pigment color card, and dividing the first gray image into pixel blocks;
corresponding a preset pigment color card to a pixel block with the same gray value in the first gray image;
filling first CMYK color data according to the position where the first gray image and a preset pigment color card have the same gray value to draw a first color image which displays different patterns with the first gray image, wherein the conversion rule of converting the preset pigment color card into the RGB gray image is the same as the conversion rule of converting the first color image into the RGB gray image, and thus the image with the same RGB gray image and first gray image of the first color image is obtained.
The invention provides a new artistic creation form, enriches the variety of artistic creation forms, and realizes the effect that the same color image displays different patterns under the conditions of CMYK color data and RGB gray scale data; the first color image can also be printed on a product package for detecting the authenticity of the product or identifying the authenticity of famous paintings of famous painters.
Further, the plurality of CMYK color data further includes a second CMYK color data,
and drawing a second color image by utilizing a first CMYK color data and a second CMYK color data in the plurality of groups of CMYK color data, wherein the conversion rule of the second color image into the RGB gray image is the same as that of the first color image into the RGB gray image, namely the RGB format gray image of the second color image is the first gray image.
Further, the second color image is correspondingly drawn by adopting second CMYK color data corresponding to odd pixel blocks, even pixel blocks or pixel blocks with the size of a preset area in the first gray scale image.
Further, the first gray image is a gray image in an RGB format, and the second color image is acquired by a gray image acquisition device; the gray value of the preset pigment color card is the gray value collected by the gray image collecting device.
Further, the first gray image corresponding to the first color image is checked to be the gray image in the RGB format acquired by the gray image acquisition device.
According to the method, a first gray level image in an RGB format is drawn according to RGB gray levels of a plurality of CMYK color data corresponding to a single color in each group of CMYK color data in a preset pigment color card, a first color image is filled by the first CMYK color data in the CMYK color data and drawn according to the gray level image, at the moment, the rule for converting the first color image into the RGB gray level image is the same as the rule for converting the RGB gray levels of the plurality of CMYK color data corresponding to the single color, and therefore different effects of the color image displayed by the first color image and the image displayed by the corresponding RGB gray level image can be obtained.
The purpose that the first color image hides the pattern in the first gray level image in the corresponding RGB format can be achieved, the first color image can be printed on a product to serve as an anti-counterfeiting mark, when a consumer adopts a special RGB gray level image shooting device or is preset, the pattern different from the pattern displayed in the first color image can be obtained, and the whole anti-counterfeiting image generation and identification process is simple and convenient.
The RGB grayscale image capturing device may be a camera, a mobile phone, or a flat panel having a grayscale image capturing function, and only the rule of converting grayscale data in RGB grayscale values of a plurality of CMYK color data corresponding to a single color is the same as the rule of converting grayscale images of the first color image, if the front and rear grayscale conversion rules are different, that is, the first color image is converted into a grayscale image and a pattern displayed by the first grayscale image cannot be obtained; the process of obtaining the gray level image can be any one of the existing obtaining rules of the existing mobile phone tablet and the like.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a flowchart of an image conversion display method according to an embodiment of the present invention.
Detailed Description
The technical solution of the present invention will be described in more detail with reference to examples. According to exemplary embodiments of the present invention, however, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example 1:
the image conversion display method provided by the embodiment of the invention provides a new artistic creation form, can be used as an anti-counterfeiting design of the work, can also be used as an anti-counterfeiting mark of the product in various product fields, and is realized based on the corresponding conversion between CMYK printing colors and RGB gray level images. CMYK is the basic color of the printing pigment, the value distribution is 0-100, and all colors capable of being printed can be combined. Referring to FIG. 1, according to an embodiment of the present invention;
s101, presetting a pigment color card, wherein the pigment color card comprises: a plurality of sets of CMYK color data, each set of CMYK color data comprising a plurality of CMYK color data corresponding to a single RGB gray scale value, the plurality of CMYK color data comprising a first CMYK color data;
s102, drawing according to RGB gray value data corresponding to a preset pigment color card to obtain a first gray image, and dividing the first gray image into pixel blocks; the first gray image may be an RGB gray image drawn by the same RGB gray value data; or a color image in CMYK format obtained by RGB gradation value conversion rules corresponding to a preset pigment color chart.
S103, enabling a preset pigment color card to correspond to a pixel block with the same gray value in the first gray image;
and S104, filling the first CMYK color data according to the position where the first gray image and a preset pigment color card have the same gray value to draw a first color image, namely obtaining an image of which the RGB gray image of the first color image is the same as the first gray image.
The art creator can draw a first gray image according to the gray value data corresponding to the preset pigment color card, and the first gray image displays a first gray pattern; and filling first CMYK color data according to the position, which has the same gray value as the preset pigment color card, in the first gray image, and additionally drawing a first color image, wherein the display pattern of the first color image is different from the display pattern of the first gray image, but the first color image is converted into the pattern of the gray image by the rule which is corresponding to the pigment color card and has the same gray value data, and the pattern of the gray image is displayed as the first gray pattern.
For example, a gray image work, i.e., a first gray image, is created on a computer or other electronic equipment by using RGB gray data corresponding to a preset pigment color card, and then the first gray image work is divided into pixel blocks. The artistic creator corresponds a single gray value in a pixel block of the gray image work with a plurality of CMYK color data, selects the first CMYK color data of the plurality of CMYK color data to fill the pixel block and additionally draws a first color pattern, the pattern displayed by the color image is different from the pattern displayed in the gray image, a new artistic creation form is realized, and the pattern displayed in the first gray image can be obtained when the first color pattern is converted into the gray image through the same rule of converting the RGB gray data corresponding to the pigment color card, so that the work is prevented from being imitated.
According to the image conversion display method of the embodiment, in step S101, a plurality of groups of pigment color cards are obtained according to a preset color numerical value, each group of pigment color cards includes a plurality of pigment color cards corresponding to pigment data, a second gray level picture with a single gray level corresponding to each of the plurality of pigment color cards in the plurality of groups of pigment color cards is obtained through a gray level image obtaining device, and the second gray level pictures with the same gray level corresponding to the pigment color cards with more than two colors are set as a group; the color data is represented by CMYK, where C represents blue, M represents red, Y represents yellow, and K represents black;
if the gray value is 70%, the gray values correspond to M87/Y0/C57/K0 and M100/Y100/C48/K25. The color target can be specifically referred to table 1. The single gray value may correspond to a plurality of CMYK color data, and the corresponding rule is not limited in the present invention. The data in table 1 are exemplary illustrations and are not to be construed as limiting the invention.
Grey scale value CMYK color data CMYK color data CMYK color data
70% M87/Y0/C57/K0 M100/Y100/C48/K25 ...
60% M95/Y49/C2/K0 M43/Y53/C72/K0 ...
... ... ... ...
56% M51/Y74/C88/K12 M75/Y65/C56/K15 ...
... ... ... ...
TABLE 1
Drawing a first gray image in the RGB format according to gray value data corresponding to the first pigment data in each group of pigment color cards in the second gray value data in the multiple groups of RGB formats, dividing the first gray image into pixel blocks, filling or replacing the pixel blocks by the first pigment data, and drawing a first color image with a color pattern in the CMYK format. Namely: plotted through the first CMYK color data in the preset color palette (such as the first column of CMYK color data from left to right in table 1). The rule for converting the multiple groups of pigment color cards into the RGB gray data of the second gray image is consistent with the conversion rule for converting the first color image into the RGB gray data, and the conversion mode can be a mobile phone or other scanning terminals provided with gray image processing software.
In steps S102 to S104, according to the preset pigment color card, the first CMYK color data corresponding to the first gray image can be searched with reference to table 1; then, according to the preset selection rule of color image pattern display, the first CMYK color data is selected. And filling pixel blocks with the same gray value as the gray value in the first gray image into the first CMYK color data according to a preset filling rule displayed by the color image pattern, and drawing a first color image in a CMYK format, wherein the first color image is displayed as an artistic work.
According to the embodiment, the first color image and the first gray image display different patterns, the copying of the artwork can be effectively prevented, and because the first gray image is converted into the first color image, the first color image obtained after copying without the preset rule can be judged as the counterfeit and can also be printed or drawn in the artistic ceramic product as the anti-counterfeiting mark after being converted into the gray image and the pattern of the first gray image cannot be displayed. Due to the existence of the pigment color card (the present invention presets the pigment color according to the percentage) and the gray scale conversion rule (the present invention adopts any one of the existing gray scale conversion rules), the present invention must be that the RGB gray scale data conversion rule corresponding to the preset pigment color card is the same as the gray scale image conversion rule corresponding to the first color pattern, i.e. the process of converting the pigment color card and the first color image into the gray scale image is the same as that of adopting the same gray scale shooting device, e.g. the same type of camera with the same gray scale image acquisition rule.
Example 2:
the image conversion display method provided by the embodiment of the invention is based on the embodiment 1,
the plurality of CMYK color data also includes second CMYK color data,
the first gray scale image is obtained through a second color image, the second color image is drawn through first CMYK color data and second color data, and the second color image is drawn through second CMYK color data corresponding to odd pixel blocks, even pixel blocks or pixel blocks with the size of a preset area in the first gray scale image.
The second color image is drawn to be different from the first color image, the patterns are converted into the first gray image through the same gray image obtaining device to be the same, namely the first color image is provided with the second color pattern for verifying the authenticity of the first color image, the artist can prevent the copy of excellent works according to the second color pattern, the first color image can be used as an anti-counterfeiting mark, the gray image of the first color image is obtained through a gray image shooting device appointed by a merchant, the image or the pattern described by the product description can be obtained and can be regarded as a genuine product, and the image or the pattern described by the product description cannot be obtained and is a copied product.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (6)

1. An image conversion display method, comprising:
a preset pigment color chip, the preset pigment color chip comprising: a plurality of sets of CMYK color data, each set of CMYK color data comprising a plurality of CMYK color data corresponding to a single RGB gray scale value, the plurality of CMYK color data comprising a first CMYK color data;
drawing a first gray image in an RGB format according to RGB gray values corresponding to a preset pigment color card, and dividing the first gray image into pixel blocks;
corresponding a preset pigment color card to a pixel block with the same gray value in the first gray image;
filling first CMYK color data according to the position where the first gray image and a preset pigment color card have the same gray value to draw a first color image which displays different patterns from the first gray image, wherein the conversion rule of converting the preset pigment color card into the RGB gray image is the same as the conversion rule of converting the first color image into the RGB gray image.
2. The image conversion display method according to claim 1, wherein the plurality of CMYK color data further includes second CMYK color data,
and drawing a second color image by utilizing a first CMYK color data and a second CMYK color data in the plurality of groups of CMYK color data, wherein the conversion rule of the second color image into the RGB gray image is the same as that of the first color image into the RGB gray image, namely the RGB format gray image of the second color image is the first gray image.
3. The image conversion display method according to claim 2, wherein the second color image is rendered using second CMYK color data corresponding to odd-numbered pixel blocks, even-numbered pixel blocks or pixel blocks of a predetermined area size in the first gray scale image.
4. The image conversion display method according to claim 2, wherein the first grayscale image is a grayscale image in RGB format obtained by acquiring the second color image by a grayscale image acquisition device.
5. The image conversion display method according to claim 4, wherein the first gray scale image corresponding to the first color image is viewed as a gray scale image in RGB format acquired by the gray scale image acquisition device.
6. The image conversion display method according to claim 5, wherein the grayscale image capture device is a camera, a mobile phone or a tablet having a grayscale shooting mode.
CN201911069835.1A 2019-11-05 2019-11-05 Image conversion display method Active CN111127569B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911069835.1A CN111127569B (en) 2019-11-05 2019-11-05 Image conversion display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911069835.1A CN111127569B (en) 2019-11-05 2019-11-05 Image conversion display method

Publications (2)

Publication Number Publication Date
CN111127569A true CN111127569A (en) 2020-05-08
CN111127569B CN111127569B (en) 2023-11-14

Family

ID=70495531

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911069835.1A Active CN111127569B (en) 2019-11-05 2019-11-05 Image conversion display method

Country Status (1)

Country Link
CN (1) CN111127569B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6477270B1 (en) * 1999-10-21 2002-11-05 Yecheng Wu Method for converting a high resolution image to true color using a low resolution color image
US20030188659A1 (en) * 2002-04-05 2003-10-09 Canadian Bank Note Company Limited Method and apparatus for reproducing a color image based on monochrome images derived therefrom
CN101197914A (en) * 2007-12-14 2008-06-11 北京圣彩虹制版印刷技术有限公司 Digital high simulation art work duplicating method
CN103778454A (en) * 2014-02-27 2014-05-07 深圳市法兰文化产业有限公司 Anti-fake identification method of color images
CN103985082A (en) * 2014-05-29 2014-08-13 中国工商银行股份有限公司 Verification method and device for electronic certificate information
CN109948766A (en) * 2019-03-29 2019-06-28 北京印刷学院 The composite coloured anti-fake two-dimension code of multi-code and its generation and reading method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6477270B1 (en) * 1999-10-21 2002-11-05 Yecheng Wu Method for converting a high resolution image to true color using a low resolution color image
US20030188659A1 (en) * 2002-04-05 2003-10-09 Canadian Bank Note Company Limited Method and apparatus for reproducing a color image based on monochrome images derived therefrom
CN101197914A (en) * 2007-12-14 2008-06-11 北京圣彩虹制版印刷技术有限公司 Digital high simulation art work duplicating method
CN103778454A (en) * 2014-02-27 2014-05-07 深圳市法兰文化产业有限公司 Anti-fake identification method of color images
CN103985082A (en) * 2014-05-29 2014-08-13 中国工商银行股份有限公司 Verification method and device for electronic certificate information
CN109948766A (en) * 2019-03-29 2019-06-28 北京印刷学院 The composite coloured anti-fake two-dimension code of multi-code and its generation and reading method

Also Published As

Publication number Publication date
CN111127569B (en) 2023-11-14

Similar Documents

Publication Publication Date Title
CN111242905B (en) Method and equipment for generating X-ray sample image and storage device
CN103955694B (en) Image recognition meter reading system and method
CN107924555B (en) System and method for customizing digital indicia of a product
CN105740931B (en) Multidimensional security code label, its production method and recognition methods
JP2019109562A (en) Form type learning system and image processing apparatus
CN103530594A (en) Method, system and terminal for providing augmented reality
CN102763117A (en) Data-generating device, data-generating method, data-generating program, and recording medium
CN106033544A (en) Test content area extraction method based on template matching
CN109903302A (en) A kind of altering detecting method for stitching image
CN106874818B (en) A kind of Digital Object Unique Identifier DOI recognition methods and device
CN108804057A (en) Print color matching method, device, terminal and computer readable storage medium
CN109948549A (en) OCR data creation method, device, computer equipment and storage medium
CN104268615A (en) Encoding method and decoding method for color two-dimensional code
CN106507130A (en) Method and the watermark stacking apparatus of watermark superpose on yuv frame
CN112419214A (en) Method and device for generating labeled image, readable storage medium and terminal equipment
Qu et al. Richness-preserving manga screening
CN110363837B (en) Method and device for processing texture image in game, electronic equipment and storage medium
CN105160378B (en) A kind of color invisible image code generating method
CN104933386B (en) The recognition methods of many GTG invisible two-dimensional codes
CN114296660A (en) Label printing method based on Vue framework
CN111127569B (en) Image conversion display method
CN108596223A (en) A method of automatically generating object data set
CN105095938B (en) A kind of generation method of the multistage latent image code of colour
CN111798525A (en) Image data processing method, device, equipment and storage medium, and color chart recommendation method, device and equipment
CN108921262A (en) A kind of three primary colours bar code and its generation and reading method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant