CN107864366A - A kind of data transfer device - Google Patents
A kind of data transfer device Download PDFInfo
- Publication number
- CN107864366A CN107864366A CN201711451358.6A CN201711451358A CN107864366A CN 107864366 A CN107864366 A CN 107864366A CN 201711451358 A CN201711451358 A CN 201711451358A CN 107864366 A CN107864366 A CN 107864366A
- Authority
- CN
- China
- Prior art keywords
- data
- baeyer
- formatted
- component
- yrcrcbyb
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/10—Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths
Abstract
A kind of conversion method the invention discloses Baeyer formatted data and equivalent with structure luminance color component component, including Baeyer formatted data the mutual conversion formula and implementation with equivalent with structure luminance color component component.Calculation process can be participated in, to reduce hardware spending and power dissipation overhead to greatest extent with the operand of minimum when carrying out image-processing operations with brightness, color difference components using method disclosed by the invention.
Description
It is on 05 08th, 2013 the applying date that the application, which is, and Application No. 201310175265.0 is entitled " a kind of
The divisional application of the patent of conversion method of the Baeyer formatted data with equivalent with structure luminance color component component data ".
Technical field
The present invention relates to a kind of colorful digital video recorder.
Background technology
Data of sensor output Baeyer (BAYER) form used by usual colorful digital video camera, by thereafter
Link is managed by the data conversion of Baeyer form into RGB data, and RGB data is converted into brightness-color again in certain link
Difference component data (hereinafter referred to as YCbCr data), because YCbCr data have one in the processing of many image procossings and video compress
A little unique conveniences.The conversion of RGB data and YCbCr data has formula to follow, and is generally adopted in computer vision utilization
With luminance component value [0,255], the calculation formula of color difference components value [- 128,127].
In some occasions, Cb, Cr component are also referred to as U, V component.Without loss of generality, herein with Cb, Cr unified representation.
The conversion of RGB data and YCbCr data is typically laggard in the link that 24 RGB datas are converted into by Baeyer formatted data
Capable, and after the computing by this link, data volume increases to original three times.Although some image procossings, video compress
Processing needs use YCbCr data, but still needs to use RGB data in the link such as showing, thus there is a need to by
YCbCr data are re-transformed into RGB data.
The operation of such multiple conversions brings increase, the sharp increase of computing overhead of data volume, cause resource overhead increase so as to
Manufacturing cost is caused to increase;And power consumption increases so as to cause the deterioration of product facility stability factor.
The content of the invention
The purpose of this patent is the data structure for optimizing colorful digital video recorder so that video recorder is being kept with Baeyer lattice
While formula data volume carries out computing, more easily data mode can be used.
If the conversion of RGB data and YCbCr data is advanced in the link that 24 RGB datas are converted into by Baeyer formatted data
OK, then can be in the case where keeping and the data volume of Baeyer formatted data being constant so that subsequent treatment link can use
YCbCr component datas carry out computing.
Baeyer formatted data shares four components, and GrRBGb, its arrangement mode is as shown in figure 1, therefore YCbCr data are using equal
Data volume and same structure, YrCrCbYb is should be, as shown in Figure 2.
Because Baeyer formatted data and YrCrCbYb data have four components, therefore common RGB data and YCbCr data
Conversion formula is not suitable for the conversion of Baeyer formatted data and YrCrCbYb data.This method is according to the data of Baeyer formatted data
Architectural characteristic, on the premise of luminance color component component characteristics are kept, derive by Baeyer formatted data to YrCrCbYb data
Change calculation formula:
Yr=0.587Gr+0.299R+0.114B
Cr=-0.2093Gr+0.500R-0.0814B-0.2093Gb
Cb=-0.1656Gr-0.1688R+0.500B-0.1656Gb
Yb=0.299R+0.114B+0.587Gb
And the conversion calculation formula by YrCrCbYb data to Baeyer formatted data:
Gr=1.3518Yr-0.7142Cr-0.3443Cb-0.3518Yb
R=0.500Yr+1.4021Cr+0.500Yb
B=0.500Yr+1.7720Cb+0.500Yb
Yb=1.3518Yr-0.7142Cr-0.3443Cb-0.3518Yb
If representing in the matrix form, as shown in Figure 3.
When Gr, R, B, Gb interval are [0,255], Yr, Yb interval is [0,255], Cr, Cb value area
Between be [- 128,127];When Gr, R, B, Gb interval are [0,4095], Yr, Yb interval are [0,4095],
Cr, Cb interval are [- 2048,2047].
Realize the technical scheme of above-mentioned purpose:
A kind of conversion method of Baeyer formatted data to equivalent with structure luminance color component component data, including input Baeyer form number
According to, conversion core and output luminance color component component data.The input Baeyer formatted data is the one group of number arranged as shown in Figure 1
According to being provided after being exported by sensor after data receiver circuit receives;The conversion core is matrix as described in Figure 4;The output
Luminance color component component data be arrangement mode data as shown in Figure 2.The Baeyer formatted data of input is by vector as shown in Figure 3
Form arranges and conversion core is carried out into dot-product operation therewith by row, produces luminance color component component data as shown in Figure 2, its quantity
It is identical with Baeyer formatted data with structure.
A kind of luminance color component component data to the isostructural Baeyer formatted data conversion method of equivalent, including input luminance color component is divided
Measure data, reverse conversion core and output Baeyer formatted data.The input luminance color component component data is row as shown in Figure 2
Row mode data, provided by the module that need to be changed;The reverse conversion core is matrix as described in Figure 5;The output Baeyer
Formatted data is arrangement data as shown in Figure 1.The luminance color component component data vector form as shown in Figure 3 of input is arranged and incited somebody to action
Reverse conversion core carries out dot-product operation therewith by row, produces Baeyer formatted data as shown in Figure 1.
Using above-mentioned technical proposal, the present invention is beneficial to be had technical effect that:
(1) colorful digital video recorder carries out Digital Image Processing computing with minimum data volume so that colorful digital video recorder knot
Structure is simple, lower power consumption, cost reduce;
(2) Yr, Yb component in YrCrCbYb data are the luminance component of view data, video data compression computing and other numbers
Word image-processing operations can separate on the premise of Baeyer format data structure and data volume is kept with the chromatism data of brightness one
Computational methods processing color digital image;
(3) the YrCrCbYb data conversions after handling can will be computed when needed into Baeyer formatted data.
Brief description of the drawings
Fig. 1 is Baeyer formatted data GrRBGb arrangement mode.
Fig. 2 is the arrangement mode of YrCrCbYb data.
Fig. 3 is the calculation formula that Baeyer formatted data is changed mutually with YrCrCbYb data.
Fig. 4 is conversion core of the Baeyer formatted data to YrCrCbYb data.
Fig. 5 is conversion core of the YrCrCbYb data to Baeyer formatted data.
Fig. 6 is implementation block diagram of the Baeyer formatted data to YrCrCbYb data conversions.
Fig. 7 is that block diagram is implemented in the conversion of YrCrCbYb data to Baeyer formatted data.
Embodiment
Conversion method and embodiment of a kind of Baeyer formatted data with equivalent with structure luminance color component component data, such as scheme
Shown in 6, including conversion core coefficient module 1, multiplication module 2, adder Module 3, control module 4.Baeyer formatted data inputs
To multiplication module 1, under the control of control module 4, coefficient is transported to multiplication module 1 by conversion core coefficient module 2 successively,
And itself and input data are carried out by computing by multiplication module 1 successively, operation result conveys successively under the control of control module 4
Accumulating operation is carried out to adder Module 3 and wherein, operation result output is YrCrCbYb data.
A kind of YrCrCbYb data are to Baeyer formatted data conversion method and embodiment, as shown in fig. 7, comprises reverse conversion core
Coefficient module 1, multiplication module 2, adder Module 3, control module 4.YrCrCbYb data inputs to multiplication module 1,
Under the control of control module 4, coefficient is transported to multiplication module 1 by reverse conversion core coefficient module 2 successively, and by multiplier mould
Itself and input data are carried out computing by block 1 successively, and operation result is fed sequentially into adder Module under the control of control module 4
3 and accumulating operation is carried out wherein, operation result output is Baeyer formatted data.
Claims (4)
1. a kind of data transfer device, it is characterised in that YrCrCbYb formatted datas are converted into Baeyer formatted data, such as changed
Preceding data are YrCrCbYb formatted datas, and translated data is Baeyer formatted data, then conversion formula is:
Gr=1.3518Yr-0.7142Cr-0.3443Cb-0.3518Yb
R=0.500Yr+1.4021Cr+0.500Yb
B=0.500Yr+1.7720Cb+0.500Yb
Yb=1.3518Yr-0.7142Cr-0.3443Cb-0.3518Yb.
2. a kind of data transfer device as claimed in claim 2, it is characterised in that it is identical to change front and rear data structure.
3. a kind of data transfer device as claimed in claim 1, it is characterised in that it is identical to change front and rear data volume.
4. a kind of data transfer device as claimed in claim 1, it is characterised in that have a kind of data before and after changing into Baeyer lattice
Formula data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711451358.6A CN107864366A (en) | 2013-05-08 | 2013-05-08 | A kind of data transfer device |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310175265.0A CN104144291B (en) | 2013-05-08 | 2013-05-08 | A kind of conversion method of Baeyer formatted data with equivalent with structure luminance color component component data |
CN201711451358.6A CN107864366A (en) | 2013-05-08 | 2013-05-08 | A kind of data transfer device |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310175265.0A Division CN104144291B (en) | 2013-05-08 | 2013-05-08 | A kind of conversion method of Baeyer formatted data with equivalent with structure luminance color component component data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107864366A true CN107864366A (en) | 2018-03-30 |
Family
ID=51853354
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310175265.0A Active CN104144291B (en) | 2013-05-08 | 2013-05-08 | A kind of conversion method of Baeyer formatted data with equivalent with structure luminance color component component data |
CN201711451358.6A Pending CN107864366A (en) | 2013-05-08 | 2013-05-08 | A kind of data transfer device |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310175265.0A Active CN104144291B (en) | 2013-05-08 | 2013-05-08 | A kind of conversion method of Baeyer formatted data with equivalent with structure luminance color component component data |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN104144291B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110891138A (en) * | 2018-09-10 | 2020-03-17 | 杭州萤石软件有限公司 | Black light full-color realization method and black light full-color camera |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004004361A1 (en) * | 2002-06-28 | 2004-01-08 | Nokia Corporation | Information terminal |
US20050219660A1 (en) * | 2002-06-18 | 2005-10-06 | Nokia Corporation | Image processing apparatus and method, image output unit, as well as digital camera and portable terminal using the image processing apparatus and output unit |
US20060245008A1 (en) * | 2005-04-28 | 2006-11-02 | Olympus Corporation | Image processing apparatus, image processing method, electronic camera, and scanner |
CN101977330A (en) * | 2010-11-12 | 2011-02-16 | 北京空间机电研究所 | Bayer image compression method based on YUV conversion |
CN102158714A (en) * | 2010-02-11 | 2011-08-17 | 昆山锐芯微电子有限公司 | Method and device for enhancing image edge based on RGB (Red, Green and Blue) format of Bayer domain |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7142251B2 (en) * | 2001-07-31 | 2006-11-28 | Micronas Usa, Inc. | Video input processor in multi-format video compression system |
JP4893154B2 (en) * | 2006-08-21 | 2012-03-07 | 富士通セミコンダクター株式会社 | Image processing apparatus and image processing method |
CN101193314B (en) * | 2006-11-30 | 2012-06-27 | 北京思比科微电子技术有限公司 | Image processing device and method for image sensor |
KR20080092624A (en) * | 2007-04-12 | 2008-10-16 | 삼성전자주식회사 | Apparatus and method for generating wide color gamut signal in image capturing device |
-
2013
- 2013-05-08 CN CN201310175265.0A patent/CN104144291B/en active Active
- 2013-05-08 CN CN201711451358.6A patent/CN107864366A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050219660A1 (en) * | 2002-06-18 | 2005-10-06 | Nokia Corporation | Image processing apparatus and method, image output unit, as well as digital camera and portable terminal using the image processing apparatus and output unit |
WO2004004361A1 (en) * | 2002-06-28 | 2004-01-08 | Nokia Corporation | Information terminal |
US20060245008A1 (en) * | 2005-04-28 | 2006-11-02 | Olympus Corporation | Image processing apparatus, image processing method, electronic camera, and scanner |
CN102158714A (en) * | 2010-02-11 | 2011-08-17 | 昆山锐芯微电子有限公司 | Method and device for enhancing image edge based on RGB (Red, Green and Blue) format of Bayer domain |
CN101977330A (en) * | 2010-11-12 | 2011-02-16 | 北京空间机电研究所 | Bayer image compression method based on YUV conversion |
Also Published As
Publication number | Publication date |
---|---|
CN104144291A (en) | 2014-11-12 |
CN104144291B (en) | 2018-04-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11429852B2 (en) | Convolution acceleration and computing processing method and apparatus, electronic device, and storage medium | |
RU2008134468A (en) | PREPARATION OF IMAGE DATA FOR IMPROVED COMPRESSION | |
CN116416561A (en) | Video image processing method and device | |
CN105681775A (en) | White balance method and device | |
JP2022518636A (en) | Data processing methods, equipment, equipment, systems, storage media and program products | |
CN102280096A (en) | Method for combining image scaling and color space switching | |
CN107547904B (en) | FPGA-based YUV data 8x8block conversion method and device in video compression | |
WO2015176631A1 (en) | Method for de-hazing image data on the basis of histogram equalization | |
CN104144291B (en) | A kind of conversion method of Baeyer formatted data with equivalent with structure luminance color component component data | |
CN109687875A (en) | A kind of time series data processing method | |
TWI523500B (en) | Dynamic range compression method for image and image processing device | |
WO2024027287A1 (en) | Image processing system and method, and computer-readable medium and electronic device | |
CN116405692A (en) | Transmission method based on cloud matting and related equipment | |
CN107872657A (en) | The method of color gamut space conversion based on FPGA | |
CN109614064A (en) | A kind of image display method, image display apparatus and terminal device | |
CN205959185U (en) | Arithmetic circuit | |
CN101859429A (en) | Embedded image processing method and device for machine vision | |
CN101247474B (en) | Image processing device and method | |
CN201044472Y (en) | Image processing device | |
CN106447594A (en) | Image processing device and method | |
CN104394416A (en) | Method for achieving MIPI CSI-2 multichannel low frequency transmission | |
CN107197287A (en) | A kind of video recorded broadcast method and apparatus based on arm processors | |
CN113259666B (en) | Electronic device, image processing method thereof, system on chip, and medium | |
CN210776651U (en) | FPGA parallel fast multiplier module for vector and matrix | |
CN101909145B (en) | Image noise filtering system and 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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 250101 Shandong Ji'nan hi tech Zone wave road 1036 wave group Applicant after: Yang Lifa Address before: 226600 Haian County, Nantong, Jiangsu, the Millennium Garden West villa district 21 3 Applicant before: Yang Lifa |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180330 |