WO2014134890A1 - Image processing device and image data correction method - Google Patents
Image processing device and image data correction method Download PDFInfo
- Publication number
- WO2014134890A1 WO2014134890A1 PCT/CN2013/078642 CN2013078642W WO2014134890A1 WO 2014134890 A1 WO2014134890 A1 WO 2014134890A1 CN 2013078642 W CN2013078642 W CN 2013078642W WO 2014134890 A1 WO2014134890 A1 WO 2014134890A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image
- sensing unit
- medium
- image sensing
- processed
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 15
- 230000000694 effects Effects 0.000 abstract description 2
- 230000009286 beneficial effect Effects 0.000 abstract 1
- 230000003287 optical effect Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000010365 information processing Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 238000004886 process control Methods 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 235000012431 wafers Nutrition 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/00002—Diagnosis, testing or measuring; Detecting, analysing or monitoring not otherwise provided for
- H04N1/00071—Diagnosis, testing or measuring; Detecting, analysing or monitoring not otherwise provided for characterised by the action taken
- H04N1/00082—Adjusting or controlling
- H04N1/00087—Setting or calibrating
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/00002—Diagnosis, testing or measuring; Detecting, analysing or monitoring not otherwise provided for
- H04N1/00005—Diagnosis, testing or measuring; Detecting, analysing or monitoring not otherwise provided for relating to image data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/00002—Diagnosis, testing or measuring; Detecting, analysing or monitoring not otherwise provided for
- H04N1/00026—Methods therefor
- H04N1/00034—Measuring, i.e. determining a quantity by comparison with a standard
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/00002—Diagnosis, testing or measuring; Detecting, analysing or monitoring not otherwise provided for
- H04N1/00026—Methods therefor
- H04N1/00045—Methods therefor using a reference pattern designed for the purpose, e.g. a test chart
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/00002—Diagnosis, testing or measuring; Detecting, analysing or monitoring not otherwise provided for
- H04N1/00026—Methods therefor
- H04N1/0005—Methods therefor in service, i.e. during normal operation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/00002—Diagnosis, testing or measuring; Detecting, analysing or monitoring not otherwise provided for
- H04N1/00026—Methods therefor
- H04N1/00068—Calculating or estimating
Definitions
- the present invention relates to an image processing apparatus and an image data correction method for generating document medium image data by scanning an image medium such as paper, a form, or the like by an optical image sensor reading device. Background technique
- a scanner device such as an optical image sensor is used to scan a document medium such as a paper or a form to generate image data of a document medium
- the information processing device such as a CPU performs high-speed recognition and processing of the machine, thereby realizing The information processing of the document processing business such as the form is efficient.
- the image sensor is an array of more than 1000 CMOS photosensitive elements made of Si wafers, one photosensitive element is one pixel.
- the voltages outputted by the respective photosensitive devices and the amplifying circuits are different in size, so that the image brightness data formed in the image processing device is also different, causing the image to produce an uneven brightness region, which seriously affects the image quality, thereby affecting image recognition. result.
- the technical problem to be solved by the present invention is to provide an image processing apparatus having a function of correcting the gradation value of image data, ensuring that the brightness of the output image is uniform, thereby ensuring image quality and avoiding affecting the image recognition result.
- Another technical problem to be solved by the present invention is to provide an image data correction method for ensuring that image data collected by the image processing apparatus has a uniform gradation.
- the image processing device includes: an image sensing unit for collecting image information of a reference white paper, a reference black paper, and a medium to be processed; and a storage unit for storing image information collected by the image sensing unit and a control parameter and an image processing parameter of the image sensing unit; a control processing unit for automatically controlling the image sensing unit and the storage unit, and scanning a reference blank paper according to the image sensing unit Calculating a deviation compensation coefficient with the gray scale data outputted at a bright level and a dark level formed by a reference black paper, and using the offset compensation coefficient to correct the gray scale data output by the image sensing unit after acquiring image information of the medium to be processed .
- the image sensing unit comprises a row of illuminators and an array of a plurality of photosensitive elements
- the control processing unit comprising an AD data converter
- Any photosensitive element of the image sensing unit for receiving a reflective signal of the reference white paper and receiving a reflective signal of the reference black paper, and reflecting the reflective signal of the reference white paper and the reference black paper
- the reflective signal is converted into a voltage signal
- the color information is any one or any combination of a red component, a blue component, a green component, a brightness, a chroma, and a hue.
- the image processing apparatus can control the processing unit according to the image data of the reference white paper and the reference black paper, the offset compensation coefficient of each pixel can be calculated, and the deviation compensation coefficient can be used to correct the image sensor unit to collect and output each The data of the image pixels, so the image sensing unit output data is calibrated, eliminating the influence of the inconsistency of each photosensitive element of the image sensing unit on the image gradation, thereby ensuring the authenticity of the document medium image and facilitating identification. The effect is improved.
- FIG. 1 is a schematic structural view of a module of an image processing apparatus according to a preferred embodiment of the present invention
- FIG. 2 is a block diagram of a structure of a banknote discriminating apparatus using the image processing apparatus shown in FIG. 1;
- FIG. 3 is a flowchart of a method for correcting image data according to a preferred embodiment of the present invention.
- the image processing apparatus includes an image sensing unit, a storage unit, and a control processing unit, wherein the image sensing unit includes a row of illuminators and a plurality of photosensitive elements (photosensitive) An array of components 1, a photosensitive element 2, a photosensitive element X), the image sensing unit is configured to collect image information of the medium; the storage unit is configured to store the image information and control parameters and image processing of the image sensing unit a parameter; the control processing unit is configured to automatically control the image sensing unit and the storage unit, and output gray according to the image sensing unit scanning a bright level and a dark level formed by a reference white paper and a reference black paper
- the degree data calculates a deviation compensation coefficient, and uses the deviation compensation coefficient to correct data of each image pixel collected and output by the image sensing unit.
- the light level output gray scale data of any photosensitive element of the image sensing unit scanning the reference white paper is expressed as SWi, and any photosensitive element of the image sensing unit scan
- the pixel deviation compensation coefficient Ki 255 / (SWi - SBi) of the photosensitive element.
- the image information collected by the image sensing unit mainly refers to color information or brightness information of the image, wherein the color information is at least one of a red component, a blue component, a green component, a brightness, a chroma, and a hue.
- control processing unit further includes a data converter for converting the analog signal input by the image sensing unit into a digital gray signal.
- the image processing apparatus provided in this embodiment can be applied to a banknote discriminating device, as shown in FIG. 2,
- the bill discriminating module comprises an image processing device provided by the present invention, a CPU and a communication module of an external main control module, wherein the image processing device is configured to collect images, magnetic and electric signals of the paper document medium, and process the collected signals. Signal, generate image, and correct image, output real document media image for identification; communication module is used to complete communication between image processing device and main control module; CPU is used to assist in processing control and communication of the image processing device Process and various other process controls.
- the image data correction method provided in this embodiment includes:
- Step 1 the image sensing unit collects image information of a reference white paper, and outputs its gray scale data SWi;
- the illuminator in the image sensing unit is caused to emit light
- the photosensitive element in the image sensing unit receives the reflective signal of the reference white paper, and converts the optical signal into a voltage signal
- the AD data converter in the control processing unit converts the voltage signal A digital signal is used, and the data in the digital signal is stored as gradation data SWi of the reference white paper in the storage unit.
- Step 2 The image sensing unit collects image information of a reference black paper and outputs gray scale data thereof
- the illuminator in the image sensing unit is caused to emit light
- the photosensitive element in the image sensing unit receives the reflective signal of the reference black paper, and converts the optical signal into a voltage signal
- the AD data converter in the control processing unit converts the voltage signal A digital signal is used, and the data in the digital signal is stored as gradation data SBi of the reference black paper in the storage unit.
- step 1 and step 2 can interchange the execution order.
- Step 4 collecting image information of the medium to be processed, and acquiring gray scale data Xi;
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Image Processing (AREA)
Abstract
An image processing device and an image data correction method. The method comprises: step 1, an image sensing unit collecting image information about a piece of benchmark white paper, and outputting the greyscale data SWi thereof; step 2, the image sensing unit collecting image information about a piece of benchmark black paper, and outputting the greyscale data SBi thereof; step 3, calculating a pixel deviation compensation coefficient Ki of the image sensing unit point by point, and storing same in a storage unit, where Ki = 255 / (SWi - SBi); step 4, collecting image information about a medium to be processed, and outputting the greyscale data Xi thereof; and step 5, correcting the greyscale data of the medium to be processed according to the formula Xi' = Ki * (Xi - SBi). After the image data is calibrated, the influence of the inconsistency of each photosensitive element of the image sensing unit on the image greyscale is eliminated, thereby guaranteeing the authenticity of document medium images, and being beneficial to improve the identification effect.
Description
图像处理装置及图像数据校正方法 Image processing device and image data correction method
本申请要求于 2013 年 3 月 5 日提交中国专利局、 申请号为 201310069890.7、 发明名称为 "图像处理装置及其图像数据校正方法"的中国 专利申请的优先权, 其全部内容通过引用结合在本申请中。 The present application claims priority to Chinese Patent Application No. 201310069890.7, entitled "Image Processing Apparatus and Image Data Correction Method", filed on March 5, 2013, the entire contents of which are incorporated herein by reference. In the application.
技术领域 Technical field
本发明涉及一种利用光学图像传感器读取装置扫描例如纸张,帐票等文档 介质, 从而生成文档介质图像数据的图像处理装置及其图像数据校正方法。 背景技术 The present invention relates to an image processing apparatus and an image data correction method for generating document medium image data by scanning an image medium such as paper, a form, or the like by an optical image sensor reading device. Background technique
在金融机关或企业团体中,使用光学图像传感器等扫描仪装置,扫描例如 纸张, 帐票等文档介质, 生成文档介质的图像数据, 并由 CPU等信息处理设 备进行机器高速识别和处理,从而实现帐票等文档处理业务的信息化,高效化。 In a financial institution or a corporate group, a scanner device such as an optical image sensor is used to scan a document medium such as a paper or a form to generate image data of a document medium, and the information processing device such as a CPU performs high-speed recognition and processing of the machine, thereby realizing The information processing of the document processing business such as the form is efficient.
使用光学图像传感器等扫描仪装置扫描例如纸张,帐票等文档介质, 由于 图像传感器是由 1000多个以 Si晶片制成的 CMOS感光元件多段拼接而成的 阵列, 一个感光元件就是一个像素, 在每一个像素位置都有一个放大器, 这 1000多个感光器件和放大电路的电气特性相互之间存在较大的不一致性, 因 此造成图像传感器在扫描颜色亮度均一的纸张时(即在同一均匀辐射输入下), 各个感光器件和放大电路输出的电压有大小的不同,从而在图像处理装置中形 成的图像亮度数据也不同,使图像产生亮度明暗不均的区域,严重影响图像质 量, 从而影响图像识别结果。 Scanning a document medium such as paper or a form by using a scanner device such as an optical image sensor. Since the image sensor is an array of more than 1000 CMOS photosensitive elements made of Si wafers, one photosensitive element is one pixel. There is an amplifier at each pixel position, and the electrical characteristics of the 1000 photosensitive devices and the amplifying circuit have a large inconsistency with each other, thus causing the image sensor to scan the paper of uniform color brightness (ie, at the same uniform radiation input). B), the voltages outputted by the respective photosensitive devices and the amplifying circuits are different in size, so that the image brightness data formed in the image processing device is also different, causing the image to produce an uneven brightness region, which seriously affects the image quality, thereby affecting image recognition. result.
发明内容
本发明要解决的技术问题是提供一种图像处理装置,该图像处理装置具有 校正图像数据灰度值的功能,确保其输出的图像亮度均匀,从而保证图像质量, 避免影响图像识别结果。 Summary of the invention The technical problem to be solved by the present invention is to provide an image processing apparatus having a function of correcting the gradation value of image data, ensuring that the brightness of the output image is uniform, thereby ensuring image quality and avoiding affecting the image recognition result.
本发明要解决的另一技术问题是提供一种图像数据校正方法,确保上述图 像处理装置采集的图像数据具有一致性的灰度。 Another technical problem to be solved by the present invention is to provide an image data correction method for ensuring that image data collected by the image processing apparatus has a uniform gradation.
该图像处理装置包括: 一图像传感单元, 用以采集一基准白纸、一基准黑 纸和待处理介质的图像信息;一存储单元,用以存储所述图像传感单元采集的 图像信息以及所述图像传感单元的控制参数和图像处理参数; 一控制处理单 元,用以自动控制所述图像传感单元和所述存储单元,且根据所述图像传感单 元在扫描由一基准白纸和一基准黑纸形成的亮电平和暗电平时输出的灰度数 据计算偏差补偿系数,并用该偏差补偿系数去校正所述图像传感单元在采集待 处理介质的图像信息后输出的灰度数据。 The image processing device includes: an image sensing unit for collecting image information of a reference white paper, a reference black paper, and a medium to be processed; and a storage unit for storing image information collected by the image sensing unit and a control parameter and an image processing parameter of the image sensing unit; a control processing unit for automatically controlling the image sensing unit and the storage unit, and scanning a reference blank paper according to the image sensing unit Calculating a deviation compensation coefficient with the gray scale data outputted at a bright level and a dark level formed by a reference black paper, and using the offset compensation coefficient to correct the gray scale data output by the image sensing unit after acquiring image information of the medium to be processed .
优选的,所述图像传感单元包括一排发光器和一个由多个感光元件组成的 阵列, 所述控制处理单元包括 AD数据转换器, 其中, Preferably, the image sensing unit comprises a row of illuminators and an array of a plurality of photosensitive elements, the control processing unit comprising an AD data converter, wherein
所述图像传感单元任一感光元件,用以接收所述基准白纸的反光信号以及 接收所述基准黑纸的反光信号,并将所述基准白纸的反光信号和所述基准黑纸 的反光信号转换成电压信号; Any photosensitive element of the image sensing unit for receiving a reflective signal of the reference white paper and receiving a reflective signal of the reference black paper, and reflecting the reflective signal of the reference white paper and the reference black paper The reflective signal is converted into a voltage signal;
所述 AD数据转换器,用以将基准白纸的电压信号和基准黑纸的电压信号 转换成数字信号,基准白纸的数字信号作为基准白纸的灰度数据 SWi,基准黑 纸的数字信号作为基准黑纸的灰度数据 SBi,所述图像传感单元的任一感光元 件的像素偏差补偿系数 Ki=255/(SWi-SBi)。 The AD data converter is configured to convert the voltage signal of the reference white paper and the voltage signal of the reference black paper into a digital signal, the digital signal of the reference white paper as the gray scale data SWi of the reference white paper, and the digital signal of the reference black paper As the gradation data SBi of the reference black paper, the pixel deviation compensation coefficient Ki = 255 / (SWi - SBi) of any one of the photosensitive elements of the image sensing unit.
优选的,所述图像传感单元任一感光元件,还用以接收所述待处理介质的
反光信号, 并将所述待处理介质的反光信号转换成电压信号; 所述 AD数据转换器, 还用以将待处理介质的电压信号转换成数字信号, 待处理介质的数字信号作为待处理介质的灰度数据 , 经校正后所述待处理 介质的灰度数据 Xi'=Ki X (Xi-SBi 优选的: 所述图像信息是图像的颜色信息或亮度信息。 Preferably, any photosensitive element of the image sensing unit is further configured to receive the medium to be processed a reflective signal, and converting the reflective signal of the medium to be processed into a voltage signal; the AD data converter is further configured to convert a voltage signal of the medium to be processed into a digital signal, and the digital signal of the medium to be processed is used as a medium to be processed Gray scale data, corrected gray scale data of the medium to be processed Xi'=Ki X (Xi-SBi preferred: the image information is color information or brightness information of the image.
优选的, 所述颜色信息是红色分量、 蓝色分量、 绿色分量、 明度、 彩度和 色相中的任意一个或任意多个组合。 Preferably, the color information is any one or any combination of a red component, a blue component, a green component, a brightness, a chroma, and a hue.
该图像数据校正方法, 包括: 步骤 1, 图像传感单元采集一基准白纸的图 像信息, 且输出所述基准白纸的灰度数据 SWi; 步骤 2, 图像传感单元采集一 基准黑纸的图像信息, 且输出所述基准黑纸的灰度数据 SBi; 步骤 3, 逐点计 算所述图像传感单元的像素偏差补偿系数 Ki, 并将其存入一存储单元中, 其 中 Ki=255/(SWi-SBi) ; 步骤 4, 采集待处理介质的图像信息, 且输出所述待处 理介质的灰度数据 ; 以及步骤 5, 按照公式 Xi' =Ki*(Xi-SBi)校正所述待处 理介质的灰度数据, 其中, Xi,是校正后的灰度数据。 由于本发明提供的图像 处理装置其控制处理单元能够根据基准白纸和基准黑纸的图像数据计算每一 像素的偏差补偿系数,且能用该偏差补偿系数去校正图像传感单元采集输出的 每个图像像素的数据, 因此图像传感单元输出数据经过校准以后,消除了图像 传感单元每个感光元件不一致性对图像灰度造成的影响,从而保证了文档介质 图像的真实性, 有利于识别效果的提高。 The image data correction method includes: Step 1, the image sensing unit collects image information of a reference white paper, and outputs grayscale data SWi of the reference white paper; Step 2, the image sensing unit collects a reference black paper Image information, and outputting the gray scale data SBi of the reference black paper; Step 3, calculating the pixel offset compensation coefficient Ki of the image sensing unit point by point, and storing it in a storage unit, where Ki=255/ (SWi-SBi); Step 4, acquiring image information of the medium to be processed, and outputting gray scale data of the medium to be processed; and step 5, correcting the to-be-processed according to the formula Xi' = Ki* (Xi-SBi) The gray scale data of the medium, where Xi is the corrected gray scale data. Since the image processing apparatus provided by the present invention can control the processing unit according to the image data of the reference white paper and the reference black paper, the offset compensation coefficient of each pixel can be calculated, and the deviation compensation coefficient can be used to correct the image sensor unit to collect and output each The data of the image pixels, so the image sensing unit output data is calibrated, eliminating the influence of the inconsistency of each photosensitive element of the image sensing unit on the image gradation, thereby ensuring the authenticity of the document medium image and facilitating identification. The effect is improved.
附图说明 DRAWINGS
图 1是本发明一较佳实施例提供的图像处理装置模块结构示意图; 图 2是一种纸币鉴别装置的模块结构示意图,该纸币鉴别装置采用了图 1 中所示图像处理装置; 以及 1 is a schematic structural view of a module of an image processing apparatus according to a preferred embodiment of the present invention; FIG. 2 is a block diagram of a structure of a banknote discriminating apparatus using the image processing apparatus shown in FIG. 1;
图 3是本发明一较佳实施例提供的图像数据校正方法流程图。
具体实施方式 下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然,所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。 FIG. 3 is a flowchart of a method for correcting image data according to a preferred embodiment of the present invention. The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. example. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without departing from the inventive scope are the scope of the present invention.
如图 1所示,本实施例提供的图像处理装置包括一图像传感单元、一存储 单元以及一控制处理单元,其中该图像传感单元包括一排发光器和一个由多个 感光元件 (感光元件 1, 感光元件 2……感光元件 X) 组成的阵列, 该图像传 感单元用以采集介质的图像信息;该存储单元用以存储该图像信息以及该图像 传感单元的控制参数和图像处理参数;该控制处理单元用以自动控制该图像传 感单元和该存储单元,且根据该图像传感单元在扫描由一基准白纸和一基准黑 纸形成的亮电平和暗电平时输出的灰度数据计算偏差补偿系数,并用该偏差补 偿系数去校正图像传感单元采集输出的每个图像像素的数据。举例来说,该图 像传感单元任一感光元件扫描该基准白纸的亮电平输出灰度数据表达为 SWi, 该图像传感单元任一感光元件扫描该基准黑纸的暗电平输出灰度数据表达为 As shown in FIG. 1 , the image processing apparatus provided in this embodiment includes an image sensing unit, a storage unit, and a control processing unit, wherein the image sensing unit includes a row of illuminators and a plurality of photosensitive elements (photosensitive) An array of components 1, a photosensitive element 2, a photosensitive element X), the image sensing unit is configured to collect image information of the medium; the storage unit is configured to store the image information and control parameters and image processing of the image sensing unit a parameter; the control processing unit is configured to automatically control the image sensing unit and the storage unit, and output gray according to the image sensing unit scanning a bright level and a dark level formed by a reference white paper and a reference black paper The degree data calculates a deviation compensation coefficient, and uses the deviation compensation coefficient to correct data of each image pixel collected and output by the image sensing unit. For example, the light level output gray scale data of any photosensitive element of the image sensing unit scanning the reference white paper is expressed as SWi, and any photosensitive element of the image sensing unit scans the dark level output gray of the reference black paper. Degree data is expressed as
SBi, 则该感光元件的像素偏差补偿系数 Ki=255/(SWi-SBi)。 该图像传感单元 任一感光元件采集的图像信息其灰度数据表达为 Xi, 则经校正后该图像灰度 数据 Xi, =Ki*(Xi-SBi SBi, the pixel deviation compensation coefficient Ki = 255 / (SWi - SBi) of the photosensitive element. The image information acquired by any photosensitive element of the image sensing unit is expressed as Xi, and the grayscale data of the image is corrected by Xi, =Ki*(Xi-SBi
另外,该图像传感单元采集的图像信息主要是指图像的颜色信息或亮度信 息, 其中该颜色信息是红色分量、 蓝色分量、 绿色分量、 明度、 彩度和色相中 至少一个。 In addition, the image information collected by the image sensing unit mainly refers to color information or brightness information of the image, wherein the color information is at least one of a red component, a blue component, a green component, a brightness, a chroma, and a hue.
另外,该控制处理单元还包括一数据转换器,用以将图像传感单元输入的 模拟信号转换成数字灰度信号。 In addition, the control processing unit further includes a data converter for converting the analog signal input by the image sensing unit into a digital gray signal.
本实施例提供的图像处理装置可应用于一纸币鉴别装置中, 如图 2所示,
该纸币鉴别模块包括本发明所提供的图像处理装置、 CPU 以及外接主控模块 的通信模块,其中该图像处理装置用于采集纸制文档介质的图像、磁和电等信 号, 并处理采集的这些信号, 生成图像, 并对图像进行校正, 输出真实的文档 介质图像以便识别; 通讯模块用于完成图像处理装置和主控模块的通讯工作; CPU用于协助处理对该图像处理装置的控制、 通信流程及其他各种过程控制。 The image processing apparatus provided in this embodiment can be applied to a banknote discriminating device, as shown in FIG. 2, The bill discriminating module comprises an image processing device provided by the present invention, a CPU and a communication module of an external main control module, wherein the image processing device is configured to collect images, magnetic and electric signals of the paper document medium, and process the collected signals. Signal, generate image, and correct image, output real document media image for identification; communication module is used to complete communication between image processing device and main control module; CPU is used to assist in processing control and communication of the image processing device Process and various other process controls.
如图 3所示, 本实施例提供的图像数据校正方法包括: As shown in FIG. 3, the image data correction method provided in this embodiment includes:
步骤 1, 图像传感单元采集一基准白纸的图像信息, 且输出其灰度数据 SWi; Step 1, the image sensing unit collects image information of a reference white paper, and outputs its gray scale data SWi;
使图像传感单元中的发光器发光,图像传感单元中的感光元件接收基准白 纸的反光信号,并将其光信号转换成电压信号,控制处理单元中的 AD数据转 换器将电压信号转换成数字信号,将此数字信号中的数据作为基准白纸的灰度 数据 SWi存储在存储单元中。 The illuminator in the image sensing unit is caused to emit light, the photosensitive element in the image sensing unit receives the reflective signal of the reference white paper, and converts the optical signal into a voltage signal, and the AD data converter in the control processing unit converts the voltage signal A digital signal is used, and the data in the digital signal is stored as gradation data SWi of the reference white paper in the storage unit.
步骤 2, 图像传感单元采集一基准黑纸的图像信息, 且输出其灰度数据 Step 2: The image sensing unit collects image information of a reference black paper and outputs gray scale data thereof
SBi; SBi;
使图像传感单元中的发光器发光,图像传感单元中的感光元件接收基准黑 纸的反光信号,并将其光信号转换成电压信号,控制处理单元中的 AD数据转 换器将电压信号转换成数字信号,将此数字信号中的数据作为基准黑纸的灰度 数据 SBi存储在存储单元中。当然,该步骤 1与步骤 2可以相互调换执行顺序。 The illuminator in the image sensing unit is caused to emit light, the photosensitive element in the image sensing unit receives the reflective signal of the reference black paper, and converts the optical signal into a voltage signal, and the AD data converter in the control processing unit converts the voltage signal A digital signal is used, and the data in the digital signal is stored as gradation data SBi of the reference black paper in the storage unit. Of course, step 1 and step 2 can interchange the execution order.
步骤 3,逐点计算该图像传感单元的像素偏差补偿系数 Ki,并将其存入存 储单元中, 其中 Ki=255/(SWi-SBi) ; Step 3, calculating the pixel deviation compensation coefficient Ki of the image sensing unit point by point, and storing it in the storage unit, where Ki=255/(SWi-SBi);
步骤 4, 采集待处理介质的图像信息, 获取灰度数据 Xi; Step 4, collecting image information of the medium to be processed, and acquiring gray scale data Xi;
步骤 5 , 校正该灰度数据, 即, Xi' =Kix (Xi-SBi
这样, 尽管图像传感单元 CIS存在感光元件的不一致性, 经过校准以后, 消除了图像传感单元每个感光元件不一致性对图像灰度造成的影响,得到了真 实的图像数据。 Step 5, correct the gray scale data, that is, Xi' =Kix (Xi-SBi Thus, although the image sensing unit CIS has inconsistencies in the photosensitive elements, after calibration, the influence of the inconsistency of each photosensitive element of the image sensing unit on the image gradation is eliminated, and real image data is obtained.
惟以上所述仅为本发明的较佳实施例, 非意欲局限本发明的专利保护范 围,故举凡运用本发明说明书及图式内容所为的等效变化,均同理皆包含于本 发明的权利保护范围内。
The above is only the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Therefore, the equivalent changes of the present invention and the contents of the drawings are all included in the present invention. Within the scope of rights protection.
Claims
1、 一种图像处理装置, 其特征在于, 所述装置包括: 1. An image processing device, characterized in that the device includes:
一图像传感单元,用以采集一基准白纸、一基准黑纸和待处理介质的图像 信息; An image sensing unit used to collect image information of a reference white paper, a reference black paper and the medium to be processed;
一存储单元,用以存储所述图像传感单元采集的图像信息以及所述图像传 感单元的控制参数和图像处理参数; A storage unit to store the image information collected by the image sensing unit and the control parameters and image processing parameters of the image sensing unit;
一控制处理单元,用以自动控制所述图像传感单元和所述存储单元,且根 据所述图像传感单元在扫描由一基准白纸和一基准黑纸形成的亮电平和暗电 平时输出的灰度数据计算偏差补偿系数,并用该偏差补偿系数去校正所述图像 传感单元在采集待处理介质的图像信息后输出的灰度数据。 A control processing unit for automatically controlling the image sensing unit and the storage unit, and outputting a light level and a dark level formed by a reference white paper and a reference black paper according to the image sensing unit Calculate the deviation compensation coefficient based on the grayscale data, and use the deviation compensation coefficient to correct the grayscale data output by the image sensing unit after collecting the image information of the medium to be processed.
2、 根据权利要求 1 所述的图像处理装置, 其特征在于, 所述图像传感单 元包括一排发光器和一个由多个感光元件组成的阵列,所述控制处理单元包括 AD数据转换器, 其中, 2. The image processing device according to claim 1, wherein the image sensing unit includes a row of light emitters and an array composed of a plurality of photosensitive elements, and the control processing unit includes an AD data converter, in,
所述图像传感单元任一感光元件,用以接收所述基准白纸的反光信号以及 接收所述基准黑纸的反光信号,并将所述基准白纸的反光信号和所述基准黑纸 的反光信号转换成电压信号; Any photosensitive element of the image sensing unit is used to receive the reflective signal of the reference white paper and the reflective signal of the reference black paper, and combine the reflective signal of the reference white paper and the reflective signal of the reference black paper. The reflected signal is converted into a voltage signal;
所述 AD数据转换器,用以将基准白纸的电压信号和基准黑纸的电压信号 转换成数字信号,基准白纸的数字信号作为基准白纸的灰度数据 SWi,基准黑 纸的数字信号作为基准黑纸的灰度数据 SBi,所述图像传感单元的任一感光元 件的像素偏差补偿系数 Ki=255/(SWi-SBi:)。 The AD data converter is used to convert the voltage signal of the reference white paper and the voltage signal of the reference black paper into digital signals. The digital signal of the reference white paper is used as the grayscale data SWi of the reference white paper, and the digital signal of the reference black paper is used as the grayscale data SWi of the reference white paper. As the grayscale data SBi of the reference black paper, the pixel deviation compensation coefficient Ki of any photosensitive element of the image sensing unit is Ki=255/(SWi-SBi:).
3、 根据权利要求 2所述的图像处理装置, 其特征在于, 3. The image processing device according to claim 2, characterized in that,
所述图像传感单元任一感光元件, 还用以接收所述待处理介质的反光信
号, 并将所述待处理介质的反光信号转换成电压信号; Any photosensitive element of the image sensing unit is also used to receive the reflective signal of the medium to be processed. signal, and convert the reflective signal of the medium to be processed into a voltage signal;
所述 AD数据转换器, 还用以将待处理介质的电压信号转换成数字信号, 待处理介质的数字信号作为待处理介质的灰度数据 , 经校正后所述待处理 介质的灰度数据 Xi'=Ki X (Xi-SBi)o The AD data converter is also used to convert the voltage signal of the medium to be processed into a digital signal. The digital signal of the medium to be processed is used as the grayscale data of the medium to be processed. After correction, the grayscale data Xi of the medium to be processed is '=Ki X (Xi-SBi)o
4、 根据权利要求 1 所述的图像处理装置, 其特征在于, 所述图像信息是 图像的颜色信息或亮度信息。 4. The image processing device according to claim 1, wherein the image information is color information or brightness information of an image.
5、 根据权利要求 4所述的图像处理装置, 其特征在于, 所述颜色信息是 红色分量、 蓝色分量、 绿色分量、 明度、 彩度和色相中的任意一个或任意多个 组合。 5. The image processing device according to claim 4, wherein the color information is any one or any combination of a red component, a blue component, a green component, brightness, chroma and hue.
6、 一种图像数据校正方法, 其特征在于, 所述方法包括: 6. An image data correction method, characterized in that the method includes:
步骤 1, 图像传感单元采集一基准白纸的图像信息, 且输出所述基准白纸 的灰度数据 SWi; Step 1. The image sensing unit collects the image information of a reference white paper and outputs the grayscale data SWi of the reference white paper;
步骤 2, 图像传感单元采集一基准黑纸的图像信息, 且输出所述基准黑纸 的灰度数据 SBi; Step 2. The image sensing unit collects the image information of a reference black paper and outputs the grayscale data SBi of the reference black paper;
步骤 3,逐点计算所述图像传感单元的像素偏差补偿系数 Ki,并将其存入 一存储单元中, 其中 Ki=255/(SWi-SBi); Step 3: Calculate the pixel deviation compensation coefficient Ki of the image sensing unit point by point, and store it in a storage unit, where Ki=255/(SWi-SBi);
步骤 4, 采集待处理介质的图像信息, 且输出所述待处理介质的灰度数据 Xi; 以及 Step 4, collect the image information of the medium to be processed, and output the grayscale data Xi of the medium to be processed; and
步骤 5 , 按照公式 Xi,=Ki X (Xi-SBi)校正所述待处理介质的灰度数据 Xi , 其中, Xi,是校正后的灰度数据。
Step 5: Correct the grayscale data Xi of the medium to be processed according to the formula Xi, =Ki X (Xi-SBi), where Xi is the corrected grayscale data.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310069890.7 | 2013-03-05 | ||
CN2013100698907A CN103108107A (en) | 2013-03-05 | 2013-03-05 | Image processing device and image data correcting method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2014134890A1 true WO2014134890A1 (en) | 2014-09-12 |
Family
ID=48315655
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2013/078642 WO2014134890A1 (en) | 2013-03-05 | 2013-07-02 | Image processing device and image data correction method |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103108107A (en) |
WO (1) | WO2014134890A1 (en) |
Families Citing this family (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103108107A (en) * | 2013-03-05 | 2013-05-15 | 广州广电运通金融电子股份有限公司 | Image processing device and image data correcting method thereof |
CN103310528B (en) | 2013-07-08 | 2016-08-17 | 广州广电运通金融电子股份有限公司 | Image compensation modification method and identification banknote tester |
CN103955683B (en) * | 2014-04-23 | 2017-11-14 | 广州市乐得瑞科技有限公司 | The method and system that a kind of lottery ticket identifier image is calibrated automatically |
CN103997590B (en) | 2014-06-13 | 2018-04-20 | 广州广电运通金融电子股份有限公司 | A kind of image calibrating method and device |
CN104113675A (en) * | 2014-07-09 | 2014-10-22 | 宁波摩视光电科技有限公司 | Image real-time correction output method for broad-width scanner |
CN104732644B (en) | 2015-01-19 | 2017-10-31 | 广州广电运通金融电子股份有限公司 | Method of quality control and its system that bank note differentiates |
CN104680489B (en) * | 2015-02-11 | 2018-09-11 | 深圳怡化电脑股份有限公司 | A kind of method for correcting image and system |
CN104683709B (en) * | 2015-02-12 | 2019-04-26 | 深圳怡化电脑股份有限公司 | A kind of method for correcting image and system |
CN105427449A (en) * | 2015-10-30 | 2016-03-23 | 新达通科技股份有限公司 | Bank note image optical compensation correction method, bank note testing identification device, and ATM |
CN107437295B (en) * | 2016-05-26 | 2020-08-21 | 山东新北洋信息技术股份有限公司 | Method and device for correcting scanning module of paper money processing device |
CN106231212B (en) * | 2016-09-13 | 2019-06-07 | 深圳怡化电脑股份有限公司 | A kind of method and device of image procossing |
CN106331515B (en) * | 2016-09-13 | 2019-06-11 | 深圳怡化电脑股份有限公司 | A kind of method and device of image procossing |
CN106412380B (en) * | 2016-09-20 | 2019-09-10 | 广州广电运通金融电子股份有限公司 | A kind of image compensation method and device |
US10714018B2 (en) * | 2017-05-17 | 2020-07-14 | Ignis Innovation Inc. | System and method for loading image correction data for displays |
CN107835337A (en) * | 2017-10-11 | 2018-03-23 | 北京中科慧眼科技有限公司 | Black and white area array CCD camera method for correcting flat field and system |
CN108055530A (en) * | 2017-12-26 | 2018-05-18 | 深圳怡化电脑股份有限公司 | Bearing calibration, device, atm device and the storage medium of imaging sensor |
CN110503011B (en) * | 2019-08-06 | 2022-03-22 | Oppo广东移动通信有限公司 | Data calibration method, electronic device and non-volatile computer-readable storage medium |
CN112710684B (en) * | 2019-10-27 | 2022-08-09 | 合肥美亚光电技术股份有限公司 | Sensor gray level correction method and device and foreign matter detector |
CN114093293B (en) * | 2020-07-29 | 2024-03-19 | 昆山工研院新型平板显示技术中心有限公司 | Luminance compensation parameter determination method, device and equipment |
CN112164005B (en) * | 2020-09-24 | 2023-03-17 | Oppo(重庆)智能科技有限公司 | Image color correction method, device, equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101150647A (en) * | 2006-09-19 | 2008-03-26 | 夏普株式会社 | Image processing device, image forming device and image processing system |
CN101217674A (en) * | 2007-01-04 | 2008-07-09 | 三星电子株式会社 | Apparatus and method for ambient light adaptive color correction |
CN101815158A (en) * | 2009-02-20 | 2010-08-25 | 华晶科技股份有限公司 | Compensation method for improving color shadow in digital images |
WO2012064493A1 (en) * | 2010-11-09 | 2012-05-18 | Eastman Kodak Comapny | Electrophotographically printing a print job based on the job type |
CN103108107A (en) * | 2013-03-05 | 2013-05-15 | 广州广电运通金融电子股份有限公司 | Image processing device and image data correcting method thereof |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3788744B2 (en) * | 2001-04-16 | 2006-06-21 | シャープ株式会社 | Image reading device |
JP2010212814A (en) * | 2009-03-06 | 2010-09-24 | Sharp Corp | Calibration device, calibration method, calibration program, computer-readable recording medium, and image input device |
JP4906933B2 (en) * | 2010-01-28 | 2012-03-28 | シャープ株式会社 | Image reading apparatus and image forming apparatus including the image reading apparatus |
CN102466520B (en) * | 2010-11-11 | 2014-12-17 | 香港纺织及成衣研发中心 | Multispectral imaging color measurement system and imaging signal processing method thereof |
-
2013
- 2013-03-05 CN CN2013100698907A patent/CN103108107A/en active Pending
- 2013-07-02 WO PCT/CN2013/078642 patent/WO2014134890A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101150647A (en) * | 2006-09-19 | 2008-03-26 | 夏普株式会社 | Image processing device, image forming device and image processing system |
CN101217674A (en) * | 2007-01-04 | 2008-07-09 | 三星电子株式会社 | Apparatus and method for ambient light adaptive color correction |
CN101815158A (en) * | 2009-02-20 | 2010-08-25 | 华晶科技股份有限公司 | Compensation method for improving color shadow in digital images |
WO2012064493A1 (en) * | 2010-11-09 | 2012-05-18 | Eastman Kodak Comapny | Electrophotographically printing a print job based on the job type |
CN103108107A (en) * | 2013-03-05 | 2013-05-15 | 广州广电运通金融电子股份有限公司 | Image processing device and image data correcting method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN103108107A (en) | 2013-05-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2014134890A1 (en) | Image processing device and image data correction method | |
US8699106B2 (en) | Image processing apparatus and image processing method that correct color conversion table used when reading document | |
US9685022B2 (en) | Image compensation correction method and banknote recognition and detection device | |
US7903302B2 (en) | Image reading apparatus and image reading method | |
US8107132B2 (en) | Image forming apparatus and control method thereof | |
WO2015188592A1 (en) | Image calibration method and device | |
EP2091224B1 (en) | Method, apparatus and program for improving image quality in a digital imaging device | |
JP4110715B2 (en) | Image processing device | |
US9373158B2 (en) | Method for reducing image artifacts produced by a CMOS camera | |
US7251064B2 (en) | Calibration of an image scanning system | |
JP2008227625A (en) | Image processor, image processing method, image processing program and recording medium | |
JP6350472B2 (en) | Calibration system, calibration method, image forming apparatus, and calibration program | |
JP6350474B2 (en) | Calibration system, calibration method, image forming apparatus, and calibration program | |
JP5817312B2 (en) | Image reading apparatus and image forming apparatus | |
JP5222795B2 (en) | Image reading method and image reading system | |
JP2011176688A (en) | Image-reading apparatus, and image-forming apparatus | |
JP2610696B2 (en) | Image signal processing device | |
JP6642038B2 (en) | Scanner and image production method | |
JP6642037B2 (en) | Scanner and image production method | |
JP3105936B2 (en) | Image reading device | |
JP2019193071A (en) | Information processing apparatus, image processing apparatus, information processing method, and program | |
JP2002118745A (en) | Image reader | |
US8208177B2 (en) | Method of correcting scan data and image forming device to perform the method | |
JP4043725B2 (en) | Color image reading apparatus and color image data processing method | |
JP2002247402A (en) | Digital image reader |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 13877356 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 13877356 Country of ref document: EP Kind code of ref document: A1 |