CN101727596B - Dot code pattern and image processing device for processing dot code pattern - Google Patents
Dot code pattern and image processing device for processing dot code pattern Download PDFInfo
- Publication number
- CN101727596B CN101727596B CN 200810161888 CN200810161888A CN101727596B CN 101727596 B CN101727596 B CN 101727596B CN 200810161888 CN200810161888 CN 200810161888 CN 200810161888 A CN200810161888 A CN 200810161888A CN 101727596 B CN101727596 B CN 101727596B
- Authority
- CN
- China
- Prior art keywords
- positioning
- mark
- marks
- dot code
- pattern
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 claims description 11
- 238000003672 processing method Methods 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 5
- 238000003384 imaging method Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Landscapes
- Image Analysis (AREA)
Abstract
Description
技术领域 technical field
本发明涉及一种点码图案与点码群图案,特别是关于一种具有十字型定位图案的点码图案的点码图案与点码群图案。The invention relates to a dot code pattern and a dot code group pattern, in particular to a dot code pattern and a dot code group pattern of a dot code pattern with a cross-shaped positioning pattern.
背景技术 Background technique
有关于点码图案(Code pattern)以及点码群图案的公知技术,可以从日本发明专利公开号特开2007-11890、美国发明专利公开号US2007/026547、台湾新型专利申请案号第094205159号、美国发明专利公开号US2003/011164、美国发明专利公开号US2006/0007255等获得了解。Known technologies about dot code patterns (Code pattern) and dot code group patterns can be obtained from Japanese Patent Publication No. 2007-11890, U.S. Patent Publication No. US2007/026547, Taiwan New Patent Application No. 094205159, U.S. Patent Publication No. US2003/011164, U.S. Patent Publication No. US2006/0007255, etc. have been obtained.
公知点码图案的定位记号当受到影像倾斜或影像旋转的影响时,会造成辨识定位记号的困难,此时,影像调正处理便派上用场,而将倾斜或旋转的影像调正,以利于定位记号的辨识。然而,影像调正处理的计算处理是一种相当耗时且需要相当计算能力的硬件才能达成。When the positioning marks of known dot code patterns are affected by image tilt or image rotation, it will cause difficulties in identifying the positioning marks. Identification of positioning marks. However, the calculation processing of the image adjustment process is quite time-consuming and requires considerable computing power of hardware.
本发明的发明人有鉴于公知点码图案的定位记号仍有待改良,因而亟思发明而改良一种具有十字型定位图案的点码图案,能够容易地从众多记号当中分辨出来五个定位记号,且这点码图案不易因为影像倾斜或影像旋转的影响,而造成十字型定位图案的辨识困难性。In view of the fact that the positioning marks of the known dot code patterns still need to be improved, the inventor of the present invention wants to invent and improve a dot code pattern with a cross-shaped positioning pattern, which can easily distinguish five positioning marks from many marks. Moreover, the dot code pattern is not easy to be difficult to identify the cross-shaped positioning pattern due to the influence of image tilt or image rotation.
发明内容 Contents of the invention
本发明的目的是提供一种具有十字型定位图案的点码图案与点码群图案,能够容易地从众多记号当中分辨出来定位记号。The purpose of the present invention is to provide a dot code pattern and a dot code group pattern with a cross-shaped positioning pattern, which can easily distinguish positioning marks from numerous marks.
本发明提供一种影像处理装置,包括:一第一装置,读取一点码图案,该点码图案包括多个记号;以及一第二装置,计算各该记号与其周围四个记号的关联性,以找出一定位中心记号以及在距离上最接近该定位中心记号的四个定位记号,其中该定位中心记号是位于该四个定位记号的中心,该四个定位记号的四个坐标总相加后再除以四的坐标,是等于对应于该定位中心记号的坐标。The present invention provides an image processing device, comprising: a first device for reading a dot code pattern, and the dot code pattern includes a plurality of marks; and a second device for calculating the correlation between each mark and four surrounding marks, To find a positioning center mark and the four positioning marks closest to the positioning center mark in distance, wherein the positioning center mark is located at the center of the four positioning marks, and the four coordinates of the four positioning marks are always summed The coordinates divided by four are equal to the coordinates corresponding to the positioning center mark.
一种点码图案的处理方法,该点码图案包括多个记号,该方法包括下列步骤:读取该点码图案;以及计算各该记号与其周围四个记号之间的关连性,以找出一定位中心记号,其中该定位中心记号的坐标是为在距离上最接近该定位中心记号的周围四个记号的坐标总和的四分之一。A method for processing a dot code pattern, the dot code pattern includes a plurality of marks, the method includes the following steps: reading the dot code pattern; and calculating the correlation between each mark and four surrounding marks to find out A positioning center mark, wherein the coordinates of the positioning center mark are 1/4 of the sum of the coordinates of the four surrounding marks closest to the positioning center mark in distance.
通过上述方法能够快速的找出定位图案的点码图案,以便解译出该点码图案代表的信息。The dot code pattern of the positioning pattern can be quickly found through the above method, so as to decipher the information represented by the dot code pattern.
附图说明 Description of drawings
图1显示本发明具有十字型定位图案的点码图案的布码范例图。FIG. 1 shows an exemplary cloth code diagram of a dot code pattern with a cross-shaped positioning pattern according to the present invention.
图2显示本发明点码图案的十字型定位图案的布码图。Fig. 2 shows the layout diagram of the cross-shaped positioning pattern of the dot code pattern of the present invention.
图3显示本发明点码图案在取像时被倾斜时的十字型定位图案范例。FIG. 3 shows an example of a cross-shaped positioning pattern when the dot code pattern of the present invention is tilted during imaging.
图4显示本发明具有十字型定位图案的点码群图案的示意图。FIG. 4 shows a schematic diagram of a dot code group pattern with a cross-shaped positioning pattern according to the present invention.
图5显示本发明处理具有十字型定位图案的点码群图案的影像处理装置的架构示意图。FIG. 5 shows a schematic diagram of the structure of an image processing device for processing a dot code group pattern with a cross-shaped positioning pattern according to the present invention.
图6显示本发明处理具有十字型定位图案的点码群图案的处理方法的流程图。FIG. 6 shows a flow chart of the processing method of the present invention for processing dot code group patterns with cross-shaped positioning patterns.
符号说明Symbol Description
10 点码图案 11 区域10
12 十字型定位图案 20 点码群图案12
3 影像处理装置 31 第一装置3
33 第二装置 4 处理方法33 Second device 4 Processing method
41、43、45 步骤 101 记号41, 43, 45
101a 定位中心记号 101b 第一定位记号101a
101c 第二定位记号 101d 第三定位记号101c Second Locator 101d Third Locator
101e 第四定位记号101e Fourth locator mark
具体实施方式 Detailed ways
请参见图1,本发明点码图案10是一种具有十字型定位图案12的点码图案,点码图案10是由多个记号(Marks)101以及十字型定位图案12所组成,而十字型定位图案12是由多个记号101的其中五个记号101a、101b、101c、101d、101e所组成。该些记号101以及十字型定位图案12皆是一起分布在区域11之内。由于十字型定位图案12易于辨识,所以能够容易地从众多记号101当中分辨出来五个记号101a、101b、101c、101d、101e。通过十字型定位图案12的定位功能,因此,其它该些记号101的如何分辨作法乃可以依据与十字型定位图案12之间的关联性,例如与十字型定位图案12在距离与方向的关联性,而将其它该些记号101分辨出来。Referring to Fig. 1, the
本发明点码图案10乃包括:多个记号101,其中该些记号101是至少包含一个定位中心记号101a、一个第一定位记号101b、一个第二定位记号101c、一个第三定位记号101d、一个第四定位记号101e。定位中心记号101a、第一定位记号101b、第二定位记号101c、第三定位记号101d、第四定位记号101e是与其它记号101一起分布在区域11之内。点码图案10的十字型定位图案12是由定位中心记号101a、第一定位记号101b、第二定位记号101c、第三定位记号101d、第四定位记号101e等所组成,且呈十字型设置。同时,第一定位记号101b、第二定位记号101c、第三定位记号101d、第四定位记号101是在距离上最接近定位中心记号101a的四个邻近的记号,且分别位于定位中心记号101a的四个角落。The
请参见图2,为了加强十字型定位图案12的易于辨识性,本发明将定位中心记号101a的坐标(Xa,Ya)、第一定位记号101b的坐标(Xb,Yb)、第二定位记号101c的坐标(Xc,Yc)、第三定位记号101d的坐标(Xd,Yd)、以及第四定位记号101e的坐标(Xe,Ye)做出如下的位置坐标关联性(公式一):Referring to Fig. 2, in order to enhance the easy recognition of the
Xa=(Xb+Xc+Xd+Xe)/4Xa=(Xb+Xc+Xd+Xe)/4
Ya=(Yb+Yc+Yd+Ye)/4Ya=(Yb+Yc+Yd+Ye)/4
请参见图3,本发明利用十字型图案的特性以及位置坐标关联性,因此在利用取像设备对点码图案10进行取像时,点码图案10无论在旋转任何角度下取像,或是取像出来的点码图案10的影像有倾斜情形下,十字型定位图案12的定位中心记号101a、第一定位记号101b、第二定位记号101c、第三定位记号101d、第四定位记号101e其位置坐标关联性仍然不变。同时,定位中心记号101a、第一定位记号101b、第二定位记号101c、第三定位记号101d、第四定位记号101e的分布仍然维持非常接近于十字型图案。Referring to Fig. 3, the present invention utilizes the characteristic of the cross-shaped pattern and the correlation of position coordinates, so when utilizing the imaging device to image the
再者,为了提高本发明辨识十字型定位图案12的辨识率,本发明可以采用另一变化例的位置坐标关联性(公式二),如下:Furthermore, in order to improve the recognition rate of the present invention for identifying the
(Xb+Xc+Xd+Xe)/4-ΔX≤Xa≤(Xb+Xc+Xd+Xe)/4+ΔX(Xb+Xc+Xd+Xe)/4-ΔX≤Xa≤(Xb+Xc+Xd+Xe)/4+ΔX
(Yb+Yc+Yd+Ye)/4-ΔY≤Ya≤(Yb+Yc+Yd+Ye)/4+ΔY(Yb+Yc+Yd+Ye)/4-ΔY≤Ya≤(Yb+Yc+Yd+Ye)/4+ΔY
其中ΔX是X轴坐标的预定容许误差值,ΔY是Y轴坐标的预定容许误差值。Wherein, ΔX is a predetermined allowable error value of the X-axis coordinate, and ΔY is a predetermined allowable error value of the Y-axis coordinate.
换言之,只要获知哪个记号的坐标为周围四个记号的坐标值总合的1/4,即表示此记号为定位中心,而该周围的四个记号就是定位记号。获得定位中心和定位记号之后,便能够推知其它记号所代表的信息。In other words, as long as it is known that the coordinates of which mark is 1/4 of the sum of the coordinate values of the four surrounding marks, it means that this mark is the positioning center, and the four surrounding marks are the positioning marks. After obtaining the positioning center and the positioning mark, the information represented by other marks can be deduced.
图4所显示的是本发明具有十字型定位图案12的点码群图案20范例,多个点码图案10相邻排列一起组成一个点码群图案20。每个点码图案10皆设置有十字型定位图案12(在图4未显示)。FIG. 4 shows an example of a dot
图5显示本发明处理具有十字型定位图案的点码群图案的影像处理装置的架构示意图。影像处理装置3是用来处理本发明具有十字型定位图案的点码图案10与点码群图案20,并且输出对应于点码群图案10的十字型定位图案12的记号101a、101b、101c、101d、101e的指示讯号。影像处理装置3包括:第一装置31与第二装置33,分别说明如下内文。第一装置31是用来读取点码群图案10或点码群图案20,例如读取图1与图4的点码图案10与点码群图案20,以及是用于将光学读取后的点码群图案10或点码群图案20转换成对应的数字讯号。第二装置33是连接于第一装置31。第二装置33是用于处理该数字讯号,以在该些记号101中,决定出哪个是定位中心记号101a、哪个是第一定位记号101b、哪个是第二定位记号101c、哪个是第三定位记号101d以及哪个是第四定位记号101e。第一装置31可以是例如CCD摄影影像组件或CMOS感测组件(sensor)。FIG. 5 shows a schematic diagram of the structure of an image processing device for processing a dot code group pattern with a cross-shaped positioning pattern according to the present invention. The image processing device 3 is used to process the
图6显示本发明对点码群图案的处理方法的流程图。本发明处理方法4是用来找出点码图案10的十字定位图案,并且将十字型定位图案12中的定位中心记号101a、第一定位记号101b、第二定位记号101c、第三定位记号101d以及第四定位记号101e的坐标记录下来。处理方法4包括步骤41~45,兹分别说明如下。步骤41是读取对应点码图案10的影像(Image)。多个点码图案10是设置在物品(例如:纸张)的表面,通过影像撷取装置(例如:二维点码扫描机)的影像扫描功能对着该物品表面撷取对应点码图案10的影像。FIG. 6 shows a flow chart of the method for processing point code group patterns in the present invention. The processing method 4 of the present invention is used to find out the cross positioning pattern of the
本发明点码图案10具备着十字型定位图案12,由于十字型定位图案不易受到影像倾斜以及影像旋转的影响,而使得原来的十字型定位图案产生严重变形,因此,在步骤41中,即使所撷取到的影像是一种倾斜或是被旋转某个角度后的影像,本发明处理方法4并不需要对这倾斜或被旋转影像额外进行影像调正处理,本发明处理方法4能够避免十分耗时的影像调正处理。The
步骤43是在该影像中,利用上述公式(一)或(二),找出该些记号101当中哪个是定位中心记号101a、哪个是第一定位记号101b、哪个是第二定位记号101c、哪个是第三定位记号101d以及哪个是第四定位记号101e。步骤45记录定位中心记号101a、第一定位记号101b、第二定位记号101c、第三定位记号101d以及第四定位记号101e的坐标,并据以解译其它记号101所代表的信息。Step 43 is to use the above formula (1) or (2) in the image to find out which of the
在步骤43中,逐一地计算每个记号101的坐标与这记号101最邻近四个记号101的坐标的彼此间关联性,如果满足上述公式(一)或公式(二)的话,则这记号101即为定位中心记号101a,以及最邻近四个角落的其它四个记号101则分别是第一定位记号101b、第二定位记号101c、第三定位记号101d以及第四定位记号101e。In step 43, the correlation between the coordinates of each
在步骤45中,记录所找到的定位中心记号101a、第一定位记号101b、第二定位记号101c、第三定位记号101d、第四定位记号101e等坐标,而所找出的该五个记号101a~101e即是组成十字型定位图案12的该些记号。通过所找到十字型定位图案12,便可以推知该影像中的点码其它记号所代表的信息,例如,通过十字型定位图案12,据以可以找出方向记号,而方向记号即为上述其它记号101所代表信息的范例。In step 45, the coordinates of the found
由于上述公式(一)或公式(二)的坐标计算处理,其使用除法计算乃是除以4的计算,因此,可以采用进行两次除以2的计算来取代。就除以2的计算而言,其等同右移(Right-shift)运算,因此,很显然地,实施步骤43所需要的计算处理是可以能够快速完成。Since the coordinate calculation process of the above formula (1) or formula (2) uses a division calculation, it is a calculation of dividing by 4, so it can be replaced by two calculations of dividing by 2. As far as the calculation of dividing by 2 is equivalent to a right-shift operation, it is obvious that the calculation processing required for implementing step 43 can be completed quickly.
本发明点码图案中的十字型定位图案易于辨识,能够容易地从众多记号101被找出,一旦获知这十字型定位图案的坐标,即可以依据与十字型定位图案12之间的关联性,获得其它记号的信息,如此可加快点码图案的解译速度,乃为本发明进步所在。The cross-shaped positioning pattern in the dot code pattern of the present invention is easy to identify, and can be easily found out from
但以上所述内容,仅为本发明的较佳实施例,当不能用以限定本发明可实施的范围,凡熟悉于本技术人士所明显可作变化与修饰,都应涵盖在权利要求保护的范围中。However, the above-mentioned content is only a preferred embodiment of the present invention, and should not be used to limit the scope of the present invention. All changes and modifications that are obvious to those skilled in the art should be covered by the claims. in range.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200810161888 CN101727596B (en) | 2008-10-13 | 2008-10-13 | Dot code pattern and image processing device for processing dot code pattern |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200810161888 CN101727596B (en) | 2008-10-13 | 2008-10-13 | Dot code pattern and image processing device for processing dot code pattern |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101727596A CN101727596A (en) | 2010-06-09 |
CN101727596B true CN101727596B (en) | 2013-09-18 |
Family
ID=42448466
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200810161888 Expired - Fee Related CN101727596B (en) | 2008-10-13 | 2008-10-13 | Dot code pattern and image processing device for processing dot code pattern |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101727596B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105708563A (en) * | 2016-01-18 | 2016-06-29 | 北京柏惠维康科技有限公司 | Navigation positioning marker, verification method, positioning method and electronic tag reading and writing device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1377487A (en) * | 1999-10-01 | 2002-10-30 | 阿诺托股份公司 | Coding paper for optical reading |
CN1963843A (en) * | 2006-11-16 | 2007-05-16 | 深圳矽感科技有限公司 | Two-dimension code, decode method thereof and printing publication used the same |
CN101213564A (en) * | 2005-07-01 | 2008-07-02 | 格瑞德Ippte有限公司 | Dot pattern |
-
2008
- 2008-10-13 CN CN 200810161888 patent/CN101727596B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1377487A (en) * | 1999-10-01 | 2002-10-30 | 阿诺托股份公司 | Coding paper for optical reading |
CN101213564A (en) * | 2005-07-01 | 2008-07-02 | 格瑞德Ippte有限公司 | Dot pattern |
CN1963843A (en) * | 2006-11-16 | 2007-05-16 | 深圳矽感科技有限公司 | Two-dimension code, decode method thereof and printing publication used the same |
Also Published As
Publication number | Publication date |
---|---|
CN101727596A (en) | 2010-06-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20060210192A1 (en) | Automatic perspective distortion detection and correction for document imaging | |
US8641634B2 (en) | Information processing apparatus, information processing method and program | |
US9721137B2 (en) | Method and apparatus for fingerprint image reconstruction | |
US8229184B2 (en) | Method and algorithm for accurate finger motion tracking | |
JP4801551B2 (en) | Image area detection method, program, and apparatus | |
TW201104508A (en) | Stereoscopic form reader | |
JP2017527907A (en) | Pseudorandomly induced fingerprint registration | |
WO2009079221A2 (en) | Method and algorithm for accurate finger motion tracking | |
EP1697880B1 (en) | Method, apparatus, computer program and storage medium for recording a movement of a user unit | |
JP2011227543A (en) | Form processing device and method and recording medium | |
EP1696383B1 (en) | Automatic perspective distortion detection and correction for document imaging | |
JP2008152555A (en) | Image recognition method and image recognition device | |
CN101727596B (en) | Dot code pattern and image processing device for processing dot code pattern | |
JP5160366B2 (en) | Pattern matching method for electronic parts | |
TWI393055B (en) | A dot pattern having a cross-shaped positioning pattern, and an image processing device for processing the dot pattern | |
JP2019179342A (en) | Image processing device and image processing method | |
JP6413542B2 (en) | Image processing apparatus and image processing program | |
JP2011118466A (en) | Difference noise replacement device, difference noise replacement method, difference noise replacement program, computer readable recording medium, and electronic equipment with difference noise replacement device | |
JP4798296B1 (en) | Form | |
JP5280337B2 (en) | Character recognition method and character recognition device | |
JP2006238119A (en) | Method, apparatus and program for extracting information, and storage medium | |
CA2498484C (en) | Automatic perspective detection and correction for document imaging | |
JP2002077578A (en) | Apparatus and method for correcting distortion as well as distortion correction program recording computer readable recording medium | |
JP2008102782A (en) | Handwriting input device and handwriting input method | |
JP5879858B2 (en) | WRITING INFORMATION GENERATION DEVICE, WRITING INFORMATION GENERATION SYSTEM, AND PROGRAM |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130918 Termination date: 20181013 |
|
CF01 | Termination of patent right due to non-payment of annual fee |