[go: up one dir, main page]

CN101729884B - Image acquiring device and image preprocessing method - Google Patents

Image acquiring device and image preprocessing method Download PDF

Info

Publication number
CN101729884B
CN101729884B CN 200810201288 CN200810201288A CN101729884B CN 101729884 B CN101729884 B CN 101729884B CN 200810201288 CN200810201288 CN 200810201288 CN 200810201288 A CN200810201288 A CN 200810201288A CN 101729884 B CN101729884 B CN 101729884B
Authority
CN
China
Prior art keywords
data
image
mentioned
chroma
colourity
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.)
Active
Application number
CN 200810201288
Other languages
Chinese (zh)
Other versions
CN101729884A (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.)
Huiguo (Shanghai) Software Technology Co Ltd
Silicon Motion Inc
Original Assignee
Huiguo (Shanghai) Software Technology Co Ltd
Silicon Motion Inc
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 Huiguo (Shanghai) Software Technology Co Ltd, Silicon Motion Inc filed Critical Huiguo (Shanghai) Software Technology Co Ltd
Priority to CN 200810201288 priority Critical patent/CN101729884B/en
Publication of CN101729884A publication Critical patent/CN101729884A/en
Application granted granted Critical
Publication of CN101729884B publication Critical patent/CN101729884B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Color Television Systems (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

本发明揭示一种影像撷取装置以及所应用的影像前处理方法。此技术包括:接收影像数据,其中包括亮度数据与色度数据;合并相邻行的色度数据以产生色度合并数据;以一缓冲器群组暂存上述亮度数据与色度合并数据;以及自缓冲器群组取得上述色度合并数据,并且令相邻的行共享所对应的色度合并数据以得处理后色度数据。上述处理后色度数据与缓冲器群组所输出的亮度数据用于显示一影像于一屏幕。

Figure 200810201288

The invention discloses an image capture device and an applied image pre-processing method. The technique includes: receiving image data, including luminance data and chrominance data; combining chrominance data of adjacent lines to generate chrominance combined data; using a buffer group to temporarily store the above-mentioned luminance data and chrominance combined data; and The chroma combined data is obtained from the buffer group, and the corresponding chroma combined data is shared by adjacent rows to obtain processed chroma data. The processed chrominance data and luminance data output by the buffer group are used to display an image on a screen.

Figure 200810201288

Description

影像撷取装置与影像前处理方法Image capture device and image preprocessing method

技术领域technical field

本发明是有关于影像撷取装置与影像前处理方法及装置,特别是关于一种YUV影像的前置处理方法及装置。The present invention relates to an image capture device and an image pre-processing method and device, in particular to a YUV image pre-processing method and device.

背景技术Background technique

在数字图像处理领域中,常见的一种编码方法为YUV编码。YUV编码技术所得的影像数据包括:亮度数据Y(Luminance、Luma)、以及色度数据U与V(Chrominance、Chroma)。U为偏蓝色度数据(另一常见标示为Cb)。V为偏红色度数据(另一常见标示为Cr)。YUV编码遵循下列公式,以含括红、绿与蓝三原色(RGB)的资料:In the field of digital image processing, a common encoding method is YUV encoding. The image data obtained by the YUV encoding technology includes: luminance data Y (Luminance, Luma), and chrominance data U and V (Chrominance, Chroma). U is bluishness data (another common notation is C b ). V is reddish color data (another common label is C r ). YUV encoding follows the following formula to include data for the three primary colors of red, green and blue (RGB):

Y=0.299*R+0.587*G+0.114*B;Y=0.299*R+0.587*G+0.114*B;

U=0.436*(B-Y)/(1-0.114);以及U=0.436*(B-Y)/(1-0.114); and

V=0.615*(R-Y)/(1-0.299)。V=0.615*(R-Y)/(1-0.299).

由于人眼对色度(U与V)的敏感度不如亮度(Y),故对于色度(U与V)可采用较低抽样频率。常见的一种方法为4:2:2色度抽样。Since human eyes are less sensitive to chroma (U and V) than luminance (Y), a lower sampling frequency can be used for chroma (U and V). A common method is 4:2:2 chroma sampling.

图1以一画面100的影像数据说明4:2:2色度抽样。不同于亮度数据必须对每一个像素抽样,4:2:2色度抽样将色度数据(U与V)的抽样频率减半,令每两个像素共享一组色度数据(U与V)。参阅图1,第0行(row)第0列(column)的像素102仅有亮度数据Y00与偏蓝色度数据U00的抽样,而无偏红色度数据(V)的抽样;第0行第1列的像素104则仅有亮度数据Y01与偏红色度数据V01的抽样,而无偏蓝色度数据(U)的抽样。像素102与104共享色度数据U00与V01FIG. 1 illustrates 4:2:2 chroma sampling with a frame 100 of image data. Unlike luminance data, which must be sampled for each pixel, 4:2:2 chroma sampling halves the sampling frequency of chroma data (U and V), so that every two pixels share a set of chroma data (U and V) . Referring to Fig. 1, the pixel 102 of the 0th row (row) and the 0th column (column) only has sampling of luminance data Y 00 and bluishness data U 00 , but no sampling of reddishness data (V); The pixel 104 in the row and column 1 only has samples of luminance data Y 01 and reddish chroma data V 01 , but no sample of bluish chroma data (U). Pixels 102 and 104 share chrominance data U 00 and V 01 .

上述影像数据(YUV)可经过一影像压缩运算转换为数据串流(streaming)。影像压缩运算通常需要将一画面分割为多个子画面(sub-image),对各子画面进行运算。传统技术通常以缓冲储存器,如缓冲器(line buffer),收集子画面的影像数据,供影像压缩运算时使用。The above-mentioned image data (YUV) can be converted into a data stream (streaming) through an image compression operation. Image compression operations usually need to divide a frame into multiple sub-images, and perform operations on each sub-image. Conventional technology usually uses a buffer memory, such as a line buffer, to collect the image data of the sub-picture for use in image compression operations.

此外,上述影像数据(YUV)于播放于屏幕前,亦须先暂存于缓冲器(linebuffer)方输出。In addition, the above image data (YUV) must be temporarily stored in a buffer (linebuffer) before being played on the screen before being output.

如何降低缓冲器(line buffer)的数量为本技术领域一项重要的课题。How to reduce the number of buffers (line buffer) is an important subject in this technical field.

发明内容Contents of the invention

本发明揭露一种影像撷取装置以及所应用的影像前处理方法。The invention discloses an image capture device and an applied image pre-processing method.

本发明的影像撷取装置包括一感测单元、一影像数据产生单元、一第一影像前处理单元、一缓冲器群组、一第二影像前处理单元、以及一影像压缩单元。上述感测单元以及影像数据产生单元负责感测影像并且产生影像数据,其中,影像数据包括亮度数据以及色度数据。亮度数据暂存至缓冲器群组。色度数据则经第一影像前处理单元转换为色度合并数据后暂存于缓冲器群组;其中,第一影像前处理单元所执行的动作为:合并相邻行的色度数据,借以降低色度数据的数据量。第二影像前处理单元位于缓冲器群组之后,用以取得上述色度合并数据、并且令相邻的行共享所对应的色度合并数据,以输出处理后色度数据。上述第二影像前处理单元与缓冲器群组所提供的处理后色度数据与亮度数据用于显示一影像于一屏幕。The image capturing device of the present invention includes a sensing unit, an image data generating unit, a first image pre-processing unit, a buffer group, a second image pre-processing unit, and an image compression unit. The sensing unit and the image data generating unit are responsible for sensing images and generating image data, wherein the image data includes luminance data and chrominance data. Luminance data is temporarily stored in the buffer group. The chrominance data is converted into chroma merged data by the first image pre-processing unit and temporarily stored in the buffer group; wherein, the action performed by the first image pre-processing unit is: merge the chrominance data of adjacent rows, so as to Reduce the data volume of chroma data. The second image pre-processing unit is located after the buffer group, and is used to obtain the above-mentioned chroma combined data, and make adjacent lines share the corresponding chroma combined data, so as to output the processed chrominance data. The processed chrominance data and brightness data provided by the second image pre-processing unit and the buffer group are used to display an image on a screen.

本发明更可用于影像压缩运算等影像处理运算的前置处理。除了播放于一屏幕上,任何需要收集子画面的影像处理运算,如影像压缩运算,亦可使用此影像前处理方法。此方法包括:接收影像数据,其中包括亮度数据与色度数据;合并相邻行的色度数据以产生色度合并数据;以一缓冲器群组暂存上述亮度数据与上述色度合并数据;以及自上述缓冲器群组取得上述色度合并数据,并且令相邻的行共享所对应的色度合并数据,以得到处理后色度数据。上述处理后色度数据与上述缓冲器群组所暂存的亮度数据供影像播放、或后续影像处理运算使用。The present invention can be used for preprocessing of image processing operations such as image compression operations. In addition to playing on a screen, any image processing operations that need to collect sub-pictures, such as image compression operations, can also use this image pre-processing method. The method includes: receiving image data, including luminance data and chrominance data; merging chrominance data of adjacent lines to generate chrominance combined data; using a buffer group to temporarily store the luminance data and the chrominance combined data; and obtaining the chroma combined data from the buffer group, and making adjacent lines share the corresponding chroma combined data, so as to obtain processed chrominance data. The processed chrominance data and the brightness data temporarily stored in the buffer group are used for image playback or subsequent image processing operations.

附图说明Description of drawings

为让本发明的上述目的、特征和优点能更明显易懂,以下结合附图对本发明的具体实施方式作详细说明,其中:In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and understandable, the specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, wherein:

图1以一画面100的影像数据说明4:2:2色度抽样;以及FIG. 1 illustrates 4:2:2 chroma sampling with image data of a frame 100; and

图2为本发明影像撷取装置的一种实施方式。FIG. 2 is an embodiment of the image capture device of the present invention.

主要组件符号说明:Description of main component symbols:

100~一画面;100~one picture;

102~对应画面100第0行第0列的像素;102~corresponds to the pixels in the 0th row and 0th column of the screen 100;

104~对应画面100第0行第1列的像素;104~corresponds to the pixels in the 0th row and 1st column of the screen 100;

200~影像撷取装置;200~image capture device;

202~感测组件;         204~影像数据产生组件;202~sensing component; 204~image data generating component;

206~第一影像前处理单元;206~the first image pre-processing unit;

208~缓冲器群组;208~buffer group;

210~第二影像前处理单元;210 - the second image pre-processing unit;

212~影像压缩单元;     214~储存媒体;212~image compression unit; 214~storage medium;

216~亮度数据;         218~色度数据;216~brightness data; 218~chromaticity data;

220~色度合并数据;     222~处理后色度数据;220~chromaticity combined data; 222~processed chromaticity data;

224~压缩的影像;       226~屏幕;224~compressed image; 226~screen;

Y00-Y73~亮度数据;Y 00 -Y 73 ~Brightness data;

U00-U72~偏蓝色度数据;以及U 00 -U 72 ~ bluishness data; and

V01-V73~偏红色度数据。V 01 -V 73 ~ reddish color data.

具体实施方式Detailed ways

图2为本发明影像撷取装置的一种实施方式。影像撷取装置200可为网络摄影机(web-cam)、数字相机…等数字摄影装置,其中包括感测单元202、影像数据产生单元204、第一影像前处理单元206、缓冲器群组208、以及第二影像前处理单元210。FIG. 2 is an embodiment of the image capture device of the present invention. The image capturing device 200 can be a digital photographing device such as a web-cam, a digital camera, etc., and includes a sensing unit 202, an image data generating unit 204, a first image pre-processing unit 206, a buffer group 208, And a second image pre-processing unit 210 .

感测单元202可为感光装置,如CCD或CMOS传感器,用来感测影像。感测单元202所感测影像模拟信号由影像数据产生单元204放大并转换为数字的影像数据(包括数据216与218)。影像数据可为YUV编码,其中包括亮度数据216(Y)以及色度数据218(U与V)。如图所示,亮度数据216(Y)暂存于缓冲器群组208;而色度数据218则更经第一影像前处理单元206转换成色度合并数据220后,方暂存至缓冲器群组208。第一影像前处理单元206所执行的动作为:合并相邻行的色度数据。因而,色度合并数据220的数据量远低于色度数据218的资料量。The sensing unit 202 can be a photosensitive device, such as a CCD or a CMOS sensor, for sensing images. The image analog signal sensed by the sensing unit 202 is amplified by the image data generating unit 204 and converted into digital image data (including data 216 and 218 ). The image data may be YUV encoded, including luma data 216 (Y) and chrominance data 218 (U and V). As shown in the figure, the luma data 216 (Y) is temporarily stored in the buffer group 208; and the chrominance data 218 is converted into the chrominance combined data 220 by the first image pre-processing unit 206 before being temporarily stored in the buffer group Group 208. The action performed by the first image pre-processing unit 206 is: merge the chrominance data of adjacent lines. Therefore, the data volume of the chroma combined data 220 is much lower than the data volume of the chroma data 218 .

缓冲器群组208于储存满溢时,会将其内容输出,并且开始新的储存动作。第二影像前处理单元210位于缓冲器群组208与影像压缩单元212之间,用以接收色度合并数据220、并且令相邻的行共享色度合并数据,以得到处理后色度数据222。缓冲器群组208所提供的亮度数据216与处理后色度数据222用于拨放影像于屏幕226上。When the buffer group 208 is full, it will output its content and start a new storage operation. The second image pre-processing unit 210 is located between the buffer group 208 and the image compression unit 212 to receive the chroma combined data 220 and share the chroma combined data with adjacent lines to obtain the processed chrominance data 222 . The luma data 216 and processed chrominance data 222 provided by the buffer group 208 are used to play the image on the screen 226 .

此外,缓冲器群组208所提供的亮度数据216与处理后色度数据222亦可用来作影像压缩。如图2所示,影像压缩单元212耦接上述第二影像前处理单元210与缓冲器群组208,且对上述组件(210与208)所提供的处理后色度数据222与亮度数据216进行一影像压缩运算。压缩后的影像224可储存于一储存媒体214。In addition, the luma data 216 and processed chrominance data 222 provided by the buffer group 208 can also be used for image compression. As shown in FIG. 2 , the image compression unit 212 is coupled to the second image pre-processing unit 210 and the buffer group 208, and performs processing on the processed chrominance data 222 and luminance data 216 provided by the above-mentioned components (210 and 208). An image compression operation. The compressed image 224 can be stored in a storage medium 214 .

在某些实施方式中,影像数据(216与218)可为4:2:2色度抽样;色度数据218包括偏蓝色度数据(通常标示为U或Cb)与偏红色度数据(通常标示为V或Cr)。参阅图1所标示的画面100的Y、U与V抽样,第一影像前处理单元206可借下列运算(表达式1)合并相邻行的色度数据:In some embodiments, the image data (216 and 218) may be 4:2:2 chroma sampling; the chroma data 218 includes bluishness data (usually denoted as U or C b ) and reddishness data ( Usually marked as V or Cr). Referring to the Y, U and V samples of the picture 100 marked in FIG. 1, the first image pre-processing unit 206 can combine the chrominance data of adjacent lines by the following operation (Expression 1):

My,2x=(U2y,2x+U2y+1,2x)/2;以及M y,2x = (U 2y,2x +U 2y+1,2x )/2; and

Ny,2x+1=(V2y,2x+1+V2y+1,2x+1)/2;         (表达式1)N y,2x+1 =(V 2y,2x+1 +V 2y+1,2x+1 )/2; (Expression 1)

其中,y与x为变量;My,2x与Ny,2x+1组成图2的色度合并数据220;U2y,2x为一画面第2y行(row)、第2x列(column)像素的偏蓝色度数据;U2y+1,2x为该画面第2y+1行、第2x列像素的偏蓝色度数据;V2y,2x+1为该画面第2y行、第2x+1列像素的偏红色度数据;且V2y+1,2x+1为该画面第2y+1行、第2x+1列像素的偏红色度数据。Wherein, y and x are variables; M y, 2x and N y, 2x+1 form the chromaticity combined data 220 of FIG. U 2y+1, 2x is the bluishness data of the pixels in row 2y+1 and column 2x of the picture; V 2y, 2x+1 is row 2y and row 2x+1 of the picture The reddish chromaticity data of the column pixel; and V 2y+1, 2x+1 is the reddish chromaticity data of the 2y+1 row and 2x+1 column pixel of the picture.

以第0与1行两个相邻行为例,位于第0行的色度数据U00与位于第1行的色度数据U10合并为色度合并数据M00,其中M00=(U00+U10)/2;位于第0行的色度数据V01与位于第1行的色度数据V11合并为色度合并数据N01,其中N01=(V01+V11)/2;位于第0行的色度数据U02与位于第1行的色度数据U12合并为色度合并数据M02,其中M02=(U02+U12)/2;位于第0行的色度数据V03与位于第1行的色度数据V13合并为色度合并数据N03,其中N03=(V03+V13)/2,以此类推。Taking two adjacent rows of row 0 and row 1 as an example, the chrominance data U 00 in row 0 and the chrominance data U 10 in row 1 are combined into chrominance combined data M 00 , where M 00 =(U 00 +U 10 )/2; the chrominance data V 01 in row 0 and the chrominance data V 11 in row 1 are combined into chroma combined data N 01 , where N 01 =(V 01 +V 11 )/2 ;The colorimetric data U 02 in the 0th row and the chrominance data U 12 in the 1st row are merged into the chrominance combined data M 02 , where M 02 =(U 02 +U 12 )/2; the chrominance data in the 0th row The chrominance data V 03 and the chrominance data V 13 in the first row are combined into chrominance combined data N 03 , where N 03 =(V 03 +V 13 )/2, and so on.

缓冲器群组208的容量可依影像处理运算的一子画面的数据量设计。假设一子画面包括8x16像素,则以第0-7行、第0-15列的子画面为例,缓冲器群组208所储存的数据包括:The capacity of the buffer group 208 can be designed according to the data amount of a sub-picture for image processing operation. Assuming that a sub-picture includes 8x16 pixels, then taking the sub-picture of rows 0-7 and columns 0-15 as an example, the data stored in the buffer group 208 includes:

Y00、Y01、Y02、Y03、…、Y0,15 Y 00 , Y 01 , Y 02 , Y 03 ,..., Y 0, 15

Y10、Y11、Y12、Y13、…、Y1,15 Y 10 , Y 11 , Y 12 , Y 13 ,..., Y 1, 15

Y70、Y71、Y72、Y3、…、Y7,15 Y 70 , Y 71 , Y 72 , Y 3 , ..., Y 7, 15

M00、N01、M02、N03、…、N0,15 M 00 , N 01 , M 02 , N 03 ,…, N 0, 15

M10、N11、M12、N13、…、N1,15 M 10 , N 11 , M 12 , N 13 ,..., N 1, 15

M20、N21、M22、N23、…、N2,15 M 20 , N 21 , M 22 , N 23 ,..., N 2,15

M30、N31、M32、N33、…、N3,15 M 30 , N 31 , M 32 , N 33 ,..., N 3, 15

参见未采用第一与第二影像前处理单元206与210的传统技术,传统缓冲器群组所需储存的数据包括:Referring to the traditional technology that does not use the first and second image pre-processing units 206 and 210, the data required to be stored in the traditional buffer group includes:

Y00、Y01、Y02、Y03、…、Y0,15 Y 00 , Y 01 , Y 02 , Y 03 ,..., Y 0, 15

Y10、Y11、Y12、Y13、…、Y1,15 Y 10 , Y 11 , Y 12 , Y 13 ,..., Y 1, 15

Y70、Y71、Y72、Y3、…、Y7,15 Y 70 , Y 71 , Y 72 , Y 3 , ..., Y 7, 15

U00、V01、U02、V03、…、V0,15 U 00 , V 01 , U 02 , V 03 ,…, V 0, 15

U10、V11、U12、V13、…、V1,15 U 10 , V 11 , U 12 , V 13 ,..., V 1, 15

U70、V71、U72、V3、…、V7,15 U 70 , V 71 , U 72 , V 3 ,..., V 7, 15

本发明的缓冲器群组208可减少25%的容量,大幅节省电路的面积与成本。The capacity of the buffer group 208 of the present invention can be reduced by 25%, greatly saving circuit area and cost.

在某些实施方式中,第二影像前处理单元210可借表达式2令相邻的行共享色度合并数据:In some implementations, the second image pre-processing unit 210 can use Expression 2 to make adjacent lines share the chroma-combined data:

U’2y,2x=U’2y+1,2x=My,2x;以及U' 2y, 2x = U' 2y+1, 2x = M y, 2x ; and

V’2y,2x+1=V’2y+1,2x+1=Ny,2x+1;         (表达式1)V' 2y, 2x+1 = V' 2y+1, 2x+1 = N y, 2x+1 ; (Expression 1)

其中,U’2y,2x、U’2y+1,2x、V’2y,2x+1与V’2y+1,2x+1组成图2的处理后色度数据222。Wherein, U' 2y, 2x , U' 2y+1 , 2x , V' 2y, 2x+1 and V' 2y+1, 2x+1 constitute the processed chromaticity data 222 in FIG. 2 .

以第0与1行两个相邻行为例,色度合并数据M00复制给第0与1行的第0列像素,作为处理后色度数据U’00与U’10使用,其中U’00=U’10=M00;色度合并数据N01复制给第0与1行的第1列像素,作为处理后色度数据V’01与V’11使用,其中V’01=V’11=N01;色度合并数据M02复制给第0与1行的第2列像素,作为处理后色度数据U’02与U’12使用,其中U’02=U’12=M02;色度合并数据N03复制给第0与1行的第3列像素,作为处理后色度数据V’03与V’13使用,其中V’03=V’13=N03;…。Taking the two adjacent rows of row 0 and row 1 as an example, the chromaticity combined data M 00 is copied to the pixel in column 0 of row 0 and row 1, and used as the processed chromaticity data U' 00 and U' 10 , where U' 00 =U' 10 =M 00 ; the chromaticity combined data N 01 is copied to the pixels in the first column of the 0th and 1st rows, and used as processed chromaticity data V' 01 and V' 11 , wherein V' 01 =V' 11 = N 01 ; the chromaticity combined data M 02 is copied to the pixels in the second column of the 0th and 1st rows, and used as the processed chromaticity data U' 02 and U' 12 , where U' 02 = U' 12 = M 02 ; The combined chroma data N 03 is copied to the pixels in the third column of the 0th and 1st rows, and used as the processed chrominance data V' 03 and V' 13 , wherein V' 03 =V' 13 =N 03 ; . . .

借由表达式2,各像素的影像数据(关于亮度数据与色度数据)可被完整收集,借以进行播放或影像压缩运算。By means of expression 2, the image data of each pixel (relating to luminance data and chrominance data) can be collected completely, so as to perform playback or image compression operation.

本发明缩减色度数据数据量的方法更可用于其它影像处理运算的前置处理中,统称影像前处理方法。除了图2实施例所提及的影像压缩运算,任何需要先收集子画面的数据数据的影像处理运算,皆可使用此影像前处理方法。此方法包括:接收影像数据,其中包括亮度数据(如Y)与色度数据(如U与V),此影像数据可为4:2:2色度抽样;执行上述表达式1,合并相邻行的色度数据以产生色度合并数据(表达式1的M与N);以一缓冲器群组暂存上述亮度数据Y与上述色度合并数据(M与N);以及自上述缓冲器群组取得上述色度合并数据(M与N),并且执行上述表达式2令相邻的行共享色度合并数据(M与N)以得处理后色度数据(表达式2的U’与V’)。上述处理后色度数据(U’与V’)与上述缓冲器群组所暂存的亮度数据(Y)将供影像播放、或影像处理运算使用。透过第一影像前处理单元206合并相邻行的色度数据以产生色度合并数据可节省缓冲器群组的硬件空间,进而降低影像撷取系统的成本。The method for reducing the amount of chrominance data in the present invention can be used in pre-processing of other image processing operations, and is collectively referred to as an image pre-processing method. In addition to the image compression operation mentioned in the embodiment of FIG. 2 , any image processing operation that needs to collect sub-picture data first can use this image pre-processing method. This method includes: receiving image data, including luminance data (such as Y) and chrominance data (such as U and V), and this image data can be 4:2:2 chroma sampling; execute the above expression 1, and merge adjacent The chrominance data of row is to produce chroma combined data (M and N of expression 1); Temporarily store above-mentioned luma data Y and above-mentioned chrominance combined data (M and N) with a buffer group; And from above-mentioned buffer The group obtains the above-mentioned chroma combined data (M and N), and executes the above expression 2 to make adjacent rows share the chroma combined data (M and N) to obtain the processed chroma data (U' and V'). The processed chrominance data (U' and V') and the temporarily stored luminance data (Y) in the buffer group will be used for image playback or image processing operations. The first image pre-processing unit 206 combines the chrominance data of adjacent lines to generate chrominance combined data, which can save the hardware space of the buffer group, thereby reducing the cost of the image capture system.

Claims (6)

1. image capture unit, comprising:
One sensing cell receives light source to produce an image simulation signal;
One image data generation unit receives above-mentioned image simulation signal and produces image data, and above-mentioned image data comprises brightness data and chroma data;
One first image pretreatment unit, the chroma data that merges adjacent lines is to produce the colourity merging data;
One buffer group is in order to temporary above-mentioned brightness data and above-mentioned colourity merging data; And
One second image pretreatment unit couples above-mentioned buffer group obtaining above-mentioned colourity merging data, and makes adjacent row share pairing colourity merging data must handle the back chroma data;
Wherein, chroma data is used to show that an image is in a screen after the brightness data that provided of this buffer group, the processing that provided with this second image pretreatment unit;
Wherein the following column operations of this first image pretreatment unit merges the chroma data of adjacent lines:
M Y, 2x=(U 2y, 2x+ U 2y+1,2x)/2; And
N y,2x+1=(V 2y,2x+1+V 2y+1,2x+1)/2;
Wherein, y and x are variable;
M Y, 2xWith N Y, 2x+1Form above-mentioned colourity merging data;
U 2y, 2xBe that a picture 2y is capable, the blue partially degrees of data of 2x row pixel;
U 2y+1,2xThe blue partially degrees of data of, 2x row pixel capable for this picture 2y+1;
V 2y, 2x+1The red partially degrees of data of, 2x+1 row pixel capable for this picture 2y; And
V 2y+1,2x+1The red partially degrees of data of, 2x+1 row pixel capable for this picture 2y+1;
Wherein the following column operations of this second image pretreatment unit makes adjacent row share pairing colourity merging data:
U ' 2y, 2x=U ' 2y+1,2x=M Y, 2xAnd
V’ 2y,2x+1=V’ 2y+1,2x+1=N y,2x+1
Wherein, U ' 2y, 2x, U ' 2y+1,2x, V ' 2y, 2x+1With V ' 2y+1,2x+1Form chroma data after the above-mentioned processing.
2. image capture unit as claimed in claim 1, it is characterized in that, more comprise an image compression unit, couple above-mentioned buffer group to obtain above-mentioned brightness data, couple this second image pretreatment unit obtaining chroma data after the above-mentioned processing, and to above-mentioned brightness data, with handle the back chroma data and carry out an image compaction algorithms.
3. image capture unit as claimed in claim 1 is characterized in that, above-mentioned image data is the sampling of 4:2:2 colourity, and above-mentioned chroma data comprises blue partially degrees of data and red partially degrees of data.
4. image preprocessing method, comprising:
Receive image data, comprising brightness data and chroma data;
The chroma data that merges adjacent lines is to produce the colourity merging data; And
Make adjacent row share pairing colourity merging data must handle the back chroma data;
Wherein, chroma data and above-mentioned brightness data are used to show that an image is in a screen after the above-mentioned processing;
Wherein following column operations merges the chroma data of adjacent lines:
M Y, 2x=(U 2y, 2x+ U 2y+1,2x)/2; And
N y,2x+1=(V 2y,2x+1+V 2y+1,2x+1)/2;
Wherein, y and x are variable;
M Y, 2xWith N Y, 2x+1Form above-mentioned colourity merging data;
U 2y, 2xBe that a picture 2y is capable, the blue partially degrees of data of 2x row pixel;
U 2y+1,2xThe blue partially degrees of data of, 2x row pixel capable for this picture 2y+1;
V 2y, 2x+1The red partially degrees of data of, 2x+1 row pixel capable for this picture 2y; And
V 2y+1,2x+1The red partially degrees of data of, 2x+1 row pixel capable for this picture 2y+1;
Wherein following column operations makes adjacent row share pairing colourity merging data:
U ' 2y, 2x=U ' 2y+1,2x=M Y, 2xAnd
V’ 2y,2x+1=V’ 2y+1,2x+1=N y,2x+1
Wherein, U ' 2y, 2x, U ' 2y+1,2x, V ' 2y, 2x+1With V ' 2y+1,2x+1Form chroma data after the above-mentioned processing.
5. image preprocessing method as claimed in claim 4 is characterized in that, above-mentioned image data is the sampling of 4:2:2 colourity, and above-mentioned chroma data comprises blue partially degrees of data and red partially degrees of data.
6. image preprocessing method as claimed in claim 4 is characterized in that, more comprises above-mentioned brightness data, carries out an image compaction algorithms with processing back chroma data, to be stored in a Storage Media.
CN 200810201288 2008-10-16 2008-10-16 Image acquiring device and image preprocessing method Active CN101729884B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810201288 CN101729884B (en) 2008-10-16 2008-10-16 Image acquiring device and image preprocessing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810201288 CN101729884B (en) 2008-10-16 2008-10-16 Image acquiring device and image preprocessing method

Publications (2)

Publication Number Publication Date
CN101729884A CN101729884A (en) 2010-06-09
CN101729884B true CN101729884B (en) 2011-08-17

Family

ID=42449957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810201288 Active CN101729884B (en) 2008-10-16 2008-10-16 Image acquiring device and image preprocessing method

Country Status (1)

Country Link
CN (1) CN101729884B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI451751B (en) * 2010-10-29 2014-09-01 Silicon Motion Inc 3d-image capturing device and controller chip thereof
CN109389627A (en) * 2017-08-08 2019-02-26 宝成工业股份有限公司 Non-contact glue amount judging device
CN107948652B (en) * 2017-11-21 2021-04-13 海信视像科技股份有限公司 Method and equipment for image conversion

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1810045A (en) * 2003-06-20 2006-07-26 皇家飞利浦电子股份有限公司 Luminance and color separation
US7259796B2 (en) * 2004-05-07 2007-08-21 Micronas Usa, Inc. System and method for rapidly scaling and filtering video data

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1810045A (en) * 2003-06-20 2006-07-26 皇家飞利浦电子股份有限公司 Luminance and color separation
US7259796B2 (en) * 2004-05-07 2007-08-21 Micronas Usa, Inc. System and method for rapidly scaling and filtering video data

Also Published As

Publication number Publication date
CN101729884A (en) 2010-06-09

Similar Documents

Publication Publication Date Title
US7787026B1 (en) Continuous burst mode digital camera
CN103327342B (en) There is the imaging system of opaque filter pixel
CN103563359B (en) Image processing device, image processing method, and digital camera
JPH06276526A (en) Color arrival order and time discrimination device
CN113132696B (en) Image tone mapping method, device, electronic device and storage medium
US8130317B2 (en) Method and system for performing interleaved to planar transformation operations in a mobile terminal having a video display
TWI387325B (en) Image capturing device and image pre-processing method thereof
CN101923455B (en) A Digital Image Display and Analysis Method in YUV Format
US7688334B2 (en) Method and system for video format transformation in a mobile terminal having a video display
CN106027886A (en) Method and system for implementing synchronous frames of panoramic video
KR100843195B1 (en) Image pickup signal processing device and method for simultaneously performing display processing and data compression
CN101729884B (en) Image acquiring device and image preprocessing method
US7212214B2 (en) Apparatuses and methods for interpolating missing colors
JP2008199403A (en) Imaging apparatus, imaging method, and integrated circuit
KR100532021B1 (en) Method and system for single-chip integration of 3D Y/C comb filter and interlace-to-progressive converter
CN114449131B (en) A moving target detection system based on ZYNQ acceleration
CN101287057A (en) Buffer saving image decompressing storing method and module thereof
US20060001747A1 (en) Image processing device
Luo A novel color filter array with 75% transparent elements
CN1319387C (en) Image memory card data processing system and displaying device thereof
JP3954204B2 (en) Signal processing apparatus and signal processing method thereof
JP2013055459A (en) Imaging device, image processing device, and program
JP2002209224A (en) Image processing unit, image processing method and recording medium
JP2003244714A (en) Image processing apparatus and digital still camera
JP2002171531A (en) Method for processing pixel signal of single board color camera

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant