A Color Image-Gray Image-Color Image Conversion Method

A conversion method and color image technology, applied in the field of image processing, can solve the problems of large color image distortion, etc., and achieve the effect of good visual quality and high quality

Active Publication Date: 2021-07-27
JINAN UNIVERSITY
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When reconstructing a color image, a luminance plane with little distortion or even a luminance plane without distortion can be obtained, thus effectively solving the problem of large distortion of the color image reconstructed by the previous method

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A Color Image-Gray Image-Color Image Conversion Method
  • A Color Image-Gray Image-Color Image Conversion Method
  • A Color Image-Gray Image-Color Image Conversion Method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0082] This embodiment provides a color image-grayscale image-color image conversion method based on image compression technology and digital watermarking technology. The digital watermarking technology adopts large-capacity LSB digital watermarking technology, including the following steps:

[0083] Such as figure 1 As shown, the color image conversion grayscale image encoding process:

[0084] a) Read the original color image I ,calculate I the size of M*N*C ; Compute the value in binary M*N*C*8 Minimum number of digits required w ,in, M*N*C Represents the total number of pixels in the image, and each pixel is represented by an 8-bit binary number. M*N*C*8 is the amount of data to calculate the color image, w for subsequent w Bit binary code stream records the size of the compressed chroma plane;

[0085] b) Convert the original color image to I Perform RGB to Ycbcr color space conversion, luminance plane Y and chroma planes cb, cr can be processed separately; ...

Embodiment 2

[0114] This embodiment provides a color image-grayscale image-color image conversion method based on image compression technology and reversible watermarking technology, using Vasiliy's large-capacity reversible watermarking technology based on prediction error expansion, specifically including the following steps:

[0115] a) Read the original color image I ,calculate I the size of M*N*C ; Compute the value in binary M*N*C*8 Minimum number of digits requiredw , w for subsequent w Bit binary code stream records the size of the compressed chroma plane;

[0116] b) Convert the original color image to I Perform RGB to Ycbcr color space conversion, luminance plane Y and chroma planes cb, cr can be processed separately;

[0117] The color space conversion from RGB to Ycbcr is as follows:

[0118]

[0119] Among them, R, G, B are the original color image RGB three channels, Y, cb, cr The luminance plane Y and chromaticity plane obtained after color space conversion c...

Embodiment 3

[0149] A color image-grayscale image-color image conversion system, comprising: a color image conversion grayscale image encoding module and a grayscale image reconstruction color image decoding module;

[0150] In this embodiment, the color image conversion grayscale image encoding module includes: an original color image data volume calculation module, a color space conversion module, a chroma plane compression module, an image size calculation module, and an information embedding module;

[0151] In this embodiment, the grayscale image reconstruction color image decoding module includes: a chroma plane image size extraction module, a color information extraction module and a reconstruction module;

[0152] In this embodiment, the original color image data volume calculation module is used to read the original color image, and calculate the data volume of the original color image to obtain M*N*C*8 , the calculation uses the binary representation value M*N*C*8 Minimum number...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for converting a color image-grayscale image-color image. The steps of the method include the process of converting a color image into a grayscale image: converting the original color image from RGB to Ycbcr to obtain a brightness plane and two Chroma plane, two chroma planes are compressed to obtain a compressed chroma plane, and its binary code stream is embedded in the luma plane as watermark information to obtain a watermarked grayscale image; The binary code stream of the compressed chroma plane is extracted from the chroma image, and the two chroma planes are restored according to the binary code stream, and the luminance plane and the two chroma planes are converted from Ycbcr to RGB color space to reconstruct a color image. The invention saves more color information, can obtain a luminance plane with little or no distortion during reconstruction, can obtain not only high-quality grayscale images, but also high-quality reconstructed color images.

Description

technical field [0001] The invention relates to the technical field of image processing, in particular to a conversion method for converting a color image into a grayscale image and then effectively restoring a color image from the grayscale image. Background technique [0002] Traditional color image-grayscale image-color image conversion methods can be divided into two categories, the first one is based on edge information embedding algorithm, and the second one is based on vector quantization algorithm. [0003] The algorithm based on side information embedding uses wavelet transform, discrete cosine transform or wavelet packet transform to transform the luminance plane of the color image in frequency domain, downsamples the chroma plane and embeds it into the high frequency band of the luminance plane, and then transforms the luminance plane Do frequency domain transformation to get a grayscale image. When reconstructing, the frequency domain transformation is performed...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06T5/00G06T1/00G06T9/00G06T3/00
CPCG06T1/0021G06T3/0012G06T5/007G06T9/00G06T2207/10024
Inventor 项世军梁巧仪
Owner JINAN UNIVERSITY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products