CN105447426B - Decision maker, file and picture management system and decision method - Google Patents

Decision maker, file and picture management system and decision method Download PDF

Info

Publication number
CN105447426B
CN105447426B CN201410334509.XA CN201410334509A CN105447426B CN 105447426 B CN105447426 B CN 105447426B CN 201410334509 A CN201410334509 A CN 201410334509A CN 105447426 B CN105447426 B CN 105447426B
Authority
CN
China
Prior art keywords
scanning
scanning pattern
change frequency
region
size
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
CN201410334509.XA
Other languages
Chinese (zh)
Other versions
CN105447426A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to CN201410334509.XA priority Critical patent/CN105447426B/en
Publication of CN105447426A publication Critical patent/CN105447426A/en
Application granted granted Critical
Publication of CN105447426B publication Critical patent/CN105447426B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)

Abstract

The present invention provide it is a kind of to being printed with the decision maker that the barcode size or text field comprising bar code is judged in document content and documentation page comprising at least one bar code, including:Converter section, it is converted to binaryzation page image;Pixel correction portion, amendment obtain revised pages image;Scanning pattern configuration part, setting scanning area, two scanning patterns;Acquisition unit is scanned, corresponding region is locked one by one, scans and obtain two change frequencies;First change multilevel iudge portion, relatively and judge whether in two change frequencies that one is more than number lower threshold and another is less than number upper limit threshold, when it is present, characteristic point configuration part sets its central point and is characterized a little;Calculate configuration part, calculate and set characteristic point region;Feature compares judging part, compares simultaneously judging characteristic point region, and when quantity is above predetermined quantity threshold value and presumptive area dimension threshold with size, the barcode size or text field determination unit determines that it is the barcode size or text field.

Description

Decision maker, file and picture management system and decision method
Technical field
The present invention relates to a kind of decision maker, file and picture management system and decision method.
Background technology
At present, bar code is widely used in the every field in life, such as:Patent notifications file, express delivery list etc., lead to Bar code is crossed to record the logistics information in the information and express delivery list such as the dispatch sequence number in patent notifications file.
When handling the documentation page containing bar code, it is necessary to the barcode size or text field to be scanned be positioned manually, then Bar code is directed at by bar code scanner and is scanned identification.But when containing multiple bar codes in documentation page, just hold very much Scanning mistake easily occurs, scans the problems such as omitting.
For it is such the problem of, occur in the prior art one kind by manually setting sample page after, it is right using sample page The technical scheme positioned with the barcode size or text field in a series of documentation page.In such technical scheme, to sample page Setting need to obtain the arranged distribution coordinate value of the bar code in sample page by computer interface, and then to the text of homologous series The barcode size or text field of the same coordinate value position of shelves page is positioned.
Generally, the bar code in documentation page is directly to be printed by printer or artificial hand sticker is in the specific region of documentation page On, still, printer due to paper feed problem cause printing barcode position run-off the straight, skew when or artificial hand sticker bar When shape code gradient is larger, now, above-mentioned documentation page can not accurately, fully be oriented according to the coordinate value of the sample page set The barcode size or text field.
In addition, the barcode size or text field to every documentation page is required for sample for reference page to set when positioning, it is very numb It is tired.Moreover, when documentation page belongs to different series, it is necessary to right when being positioned for the barcode size or text field of different documentation pages Sample page is reset, so, it is necessary to find the sample page of matching back and forth in position fixing process, is wasted time and energy.
The content of the invention
The present invention is in order to solve the above problems, there is provided a kind of to being printed with document content and at least one bar code Decision maker, file and picture management system and the judgement side that the barcode size or text field comprising bar code is judged in documentation page Method.
The present invention to achieve these goals, employs following structure and method:
<Structure 1>
The present invention provides a kind of to being printed with including bar in document content and documentation page comprising at least one bar code The decision maker that the barcode size or text field of shape code is judged, it is characterised in that including:Converter section, gained will be read to documentation page To initial page image be indicated black and white two-value binaryzation conversion, obtain binaryzation page image;Pixel correction portion, according to pre- Determine modification rule to correct each pixel of binaryzation page image point by point, obtain revised pages image;Scanning pattern configuration part, One scanning area is set based on presumptive area size, and it is two edges with documentation page are consistent respectively and be scanned through The both direction of the sweep center point in region is set as the first scanning pattern and the second scanning pattern;Acquisition unit is scanned, according to repairing Positive page image moves scanning area so as to be locked in amendment one by one according to predetermined mobile order and predetermined mobile interval The corresponding region corresponding with scanning area in page image, further according to the first scanning pattern and the second scanning pattern to corresponding Area image in region is scanned, and is obtained first of the value changes of expression black and white two on the first scanning pattern respectively and become Change number and the second change frequency of the value changes of expression black and white two on the second scanning pattern;First change multilevel iudge Portion, the first change frequency got, the second change frequency are compared with number upper limit threshold, number lower threshold respectively Compared with, and while any one for judging whether in the first change frequency and the second change frequency is more than number lower threshold Another is less than number upper limit threshold, if it is determined that in the presence of, judged result be present in output one first;Characteristic point is set Portion, judged result be present according to first, corresponding with sweep center point corresponding central point in corresponding region is set as spy Sign point;Calculate configuration part, at least contained according to the distribution situation of all characteristic points and being calculated according to predetermined edge detection algorithm There are the volume edges of a characteristic point, and characteristic point region is set according to the volume edges calculated;Feature compares judging part, root According to predetermined quantity threshold value and presumptive area dimension threshold, quantity and this feature point area to the characteristic point in characteristic point region The size in domain is compared, and judges whether quantity and size all distinguish a predetermined level is exceeded threshold value and presumptive area size threshold Value, it is judged as that quantity and size all distinguish a predetermined level is exceeded threshold value and presumptive area dimension threshold when feature compares judging part When, one amount of size of output determines result;And the barcode size or text field determination unit, result is determined according at least to amount of size, is sentenced It is the barcode size or text field to be set to the corresponding characteristic point region.
<Structure 2>
Present invention also offers a kind of to being printed with wrapping in document content and documentation page comprising at least one bar code The decision maker that the barcode size or text field containing bar code is judged, it is characterised in that including:Converter section;Pixel correction portion;Scanning Path setting portion;Scan acquisition unit;Just determine multilevel iudge portion;First determines multilevel iudge portion;Characteristic point configuration part;Measuring and calculating setting Portion;Feature compares judging part;And the barcode size or text field determination unit, wherein, converter section will be read out resulting to documentation page Initial page image is indicated the binaryzation conversion of black and white two-value, obtains binaryzation page image, pixel correction portion is according to pre- periodical repair Positive rule is corrected point by point to each pixel of binaryzation page image, obtains revised pages image, scanning pattern configuration part is based on Presumptive area size sets a scanning area, and two edges with documentation page are consistent respectively and be scanned through region The both direction of sweep center point be set as the first scanning pattern and the second scanning pattern, with the first scanning pattern into certain angle Two angle directions spent and be scanned through central point are respectively set as the 3rd scanning pattern and the 4th scanning pattern, and scanning obtains Portion is taken, scanning area is moved so as to one by one according to predetermined mobile order and predetermined mobile interval according to revised pages image Corresponding region corresponding with scanning area in revised pages image is locked in, is further scanned according to the first scanning pattern and second Path is scanned to the area image in corresponding region, and obtains the change of the expression black and white two-value on the first scanning pattern respectively The first change frequency and the second change frequency of the value changes of expression black and white two on the second scanning pattern changed, it is just fixed to compare Judging part, for the first change frequency, the second change frequency to be compared with number upper limit threshold, number lower threshold respectively Compared with any one for judging whether in the first change frequency and the second change frequency is more than another while number lower threshold One is less than number upper limit threshold, in the presence of being judged as, exports a presence and just determines result, scanning acquisition unit is first according to existing Determine result, the area image in corresponding region is scanned according to the 3rd scanning pattern and the 4th scanning pattern, and obtains respectively Take the 3rd change frequency of the value changes of expression black and white two on the 3rd scanning pattern and the expression on the 4th scanning pattern 4th change frequency of the value changes of black and white two, first determines multilevel iudge portion, further by the 3rd change frequency, the 4th change time Number is compared, and is judged whether that the difference between the 3rd change frequency and the 4th change frequency is less than and is made a reservation for poor threshold value, when In the presence of being judged as, export one first and determination result be present, characteristic point configuration part exists according to first determines result, right Corresponding central point corresponding with sweep center point in region is answered to be set as characteristic point, measuring and calculating configuration part is according to all characteristic points Distribution situation simultaneously calculates the volume edges at least containing a characteristic point according to predetermined edge detection algorithm, and according to measuring and calculating The volume edges setting characteristic point region gone out, feature compare judging part according to predetermined quantity threshold value and presumptive area size threshold Value, the size of quantity and this feature point region to the characteristic point in characteristic point region is compared, and judges quantity and chi It is very little whether all distinguish a predetermined level is exceeded threshold value and presumptive area dimension threshold, when feature compare judging part be judged as quantity with When size all distinguishes a predetermined level is exceeded threshold value and presumptive area dimension threshold, one amount of size of output determines result, bar Shape code regional determination portion, result is determined according at least to amount of size, is determined as that the corresponding characteristic point region is the barcode size or text field.
<Structure 3>
Present invention also offers a kind of to being printed with wrapping in document content and documentation page comprising at least one bar code The decision maker that the barcode size or text field containing bar code is judged, it is characterised in that including:Converter section;Pixel correction portion;Scanning Path setting portion;Scan control section;Scan acquisition unit;Width judging part;Region adjustment portion;Just determine multilevel iudge portion;First is true Determine multilevel iudge portion;Characteristic point configuration part;Calculate configuration part;Feature compares judging part;And the barcode size or text field determination unit, its In, the binaryzation that the initial page image obtained by being read out to documentation page is indicated black and white two-value by converter section is changed, and is obtained To binaryzation page image, pixel correction portion is repaiied point by point according to predetermined modification rule to each pixel of binaryzation page image Just, revised pages image is obtained, scanning pattern configuration part, a scanning area, and handle and document are set based on presumptive area size Two edges of page are consistent respectively and are scanned through the both direction of the sweep center point in region and are set as the first scanning road Footpath and the second scanning pattern, further two angles angled with the first scanning pattern and being scanned through central point Direction is respectively set as the 3rd scanning pattern and the 4th scanning pattern, and scan control section control scanning acquisition unit is according to revised pages figure As scanning area is moved so as to be locked in revised pages image one by one according to predetermined mobile order and predetermined mobile interval In the corresponding region corresponding with scanning area, and further the area image in corresponding region is entered according to the first scanning pattern Row scanning, at least gets the contiguous pixels accumulated value of any one in continuous black pixel and continuous white pixel;And control width Whether judging part is judged more than predetermined accumulation threshold contiguous pixels accumulated value;When being judged as exceeding, control area is adjusted The whole size to scanning area is amplified adjustment so as to obtain a scanning magnification region;Scanning pattern configuration part is controlled, According to the central point of scanning magnification region to the first scanning pattern, the second scanning pattern, the 3rd scanning pattern and the 4th scanning road Readjusted in footpath;And scanning acquisition unit is controlled to obtain the corresponding magnification region corresponding with scanning magnification region as corresponding Region, when width judging part is judged as being no more than, scan control section control scanning acquisition unit is further according to the first scanning road Footpath and the second scanning pattern are scanned to the area image in corresponding region, and obtain the table on the first scanning pattern respectively Show the second change of the first change frequency of the value changes of black and white two and the value changes of expression black and white two on the second scanning pattern Number, just determine multilevel iudge portion, for by the first change frequency, the second change frequency respectively with number upper limit threshold, number Limit threshold value is compared, and any one for judging whether in the first change frequency and the second change frequency is more than number lower limit Another is less than number upper limit threshold while threshold value, in the presence of being judged as, exports a presence and just determines result, scanning obtains Portion just determines result according to presence, and the area image in corresponding region is swept according to the 3rd scanning pattern and the 4th scanning pattern Retouch, and obtain the 3rd change frequency of the value changes of expression black and white two on the 3rd scanning pattern respectively and scan road the 4th 4th change frequency of the value changes of expression black and white two on footpath, first determines multilevel iudge portion, further by the 3rd change frequency, 4th change frequency is compared, and judges whether the difference between the 3rd change frequency and the 4th change frequency is less than Make a reservation for poor threshold value, in the presence of being judged as, export one first and determination result be present, characteristic point configuration part exists true according to first Determine result, corresponding with sweep center point corresponding central point in corresponding region is set as characteristic point, calculates configuration part root According to all characteristic points distribution situation and calculate according to predetermined edge detection algorithm the scope at least containing a characteristic point Edge, and characteristic point region is set according to the volume edges that calculate, feature compare judging part according to predetermined quantity threshold value and Presumptive area dimension threshold, the size of quantity and this feature point region to the characteristic point in characteristic point region are compared, And judge whether quantity and size all distinguish a predetermined level is exceeded threshold value and presumptive area dimension threshold, when feature multilevel iudge When portion is judged as that quantity and size all distinguish a predetermined level is exceeded threshold value and presumptive area dimension threshold, a size number is exported Amount determines result, the barcode size or text field determination unit, result is determined according at least to amount of size, is determined as the corresponding characteristic point region It is the barcode size or text field.
<Structure 4>
Present invention also offers a kind of file and picture management system, it is characterised in that including:Multi-function printer;And File and picture management equipment, communicates with multi-function printer and is connected, wherein, multi-function printer has:Being printed with document Content and comprising at least one bar code documentation page scanning as initial page image scanner section;And initial page image The scan-side communication unit being transmitted to file and picture management equipment, file and picture management equipment have:For receiving initial page The management-side communication unit of image;And the barcode size or text field comprising bar code is judged in the initial page image to receiving Decision maker, decision maker are decision maker of the structure 1 into structure 3 mentioned by any one.
<Method 1>
Present invention also offers a kind of to being printed with wrapping in document content and documentation page comprising at least one bar code The decision method that the barcode size or text field containing bar code is judged, it is characterised in that have steps of:Documentation page will be read Resulting initial page image is indicated the binaryzation conversion of black and white two-value, obtains binaryzation page image;According to predetermined amendment Rule is corrected point by point to each pixel of binaryzation page image, obtains revised pages image;Set based on presumptive area size One scanning area, and it is two edges with documentation page are consistent respectively and be scanned through the two of the sweep center point in region Individual direction setting is the first scanning pattern and the second scanning pattern;It is according to revised pages image that scanning area is suitable according to predetermined movement Sequence and predetermined mobile interval are moved so as to be locked in corresponding area corresponding with scanning area in revised pages image one by one Domain, further the area image in corresponding region is scanned according to the first scanning pattern and the second scanning pattern, and respectively Obtain the first change frequency of the value changes of expression black and white two on the first scanning pattern and the table on the second scanning pattern Show the second change frequency of the value changes of black and white two;By the first change frequency got, the second change frequency respectively with number Limit threshold value, number lower threshold are compared, and judged whether any in the first change frequency and the second change frequency One another is less than number upper limit threshold while be more than number lower threshold, if it is determined that in the presence of, output one the One has judged result;Judged result be present according to first, in corresponding with sweep center point correspondence in corresponding region Heart point is set as characteristic point;At least contained according to the distribution situation of all characteristic points and being calculated according to predetermined edge detection algorithm There are the volume edges of a characteristic point, and characteristic point region is set according to the volume edges calculated;According to predetermined quantity threshold value And presumptive area dimension threshold, the size of quantity and this feature point region to the characteristic point in characteristic point region compare Compared with and judging whether quantity and size all distinguish a predetermined level is exceeded threshold value and presumptive area dimension threshold, when being judged as counting When amount and size all distinguish a predetermined level is exceeded threshold value and presumptive area dimension threshold, export an amount of size and determine knot Fruit;And result is determined according at least to amount of size, it is determined as that the corresponding characteristic point region is the barcode size or text field.
The effect of invention and effect
According to decision maker involved in the present invention, file and picture management system and decision method, because by initial page After image progress binaryzation is converted to binaryzation page image, then it is modified after obtaining revised pages image, by judging sweeping The change frequency on path is retouched, corresponding central point is set as by characteristic point according to change frequency, according to the distribution of all characteristic points Situation measuring and calculating sets out characteristic point region, by the quantity and size of characteristic point in judging characteristic point region, determines as bar shaped Code region.So decision maker involved in the present invention, file and picture management system and decision method can be fully automatically right All the barcode size or text fields are judged in initial page image, and the degree of accuracy judged is high.
Brief description of the drawings
Fig. 1 is the block diagram of document image management system in the embodiment of the present invention one;
Fig. 2 is the block diagram of decision maker in the embodiment of the present invention one;
Fig. 3 is the schematic diagram of the initial page image of documentation page in the embodiment of the present invention one;
Fig. 4 is the predetermined division rule schematic diagram of the subregion of initial page image in the embodiment of the present invention one;
Fig. 5 is the explanation figure of predetermined modification rule in the embodiment of the present invention one;
Fig. 6 (a) is the setting schematic diagram of scanning pattern in the embodiment of the present invention one;
Fig. 6 (b) is the schematic diagram of the first change frequency and the second change frequency in the embodiment of the present invention one;
Fig. 7 is the distribution situation schematic diagram of whole characteristic points corresponding with revised pages image in the embodiment of the present invention one;
Fig. 8 is the distribution situation schematic diagram in characteristic point region in the embodiment of the present invention one;
Fig. 9 is the distribution situation schematic diagram of the barcode size or text field in the embodiment of the present invention one;
Figure 10 (a) to Figure 10 (d) is the first bar shaped determined in the embodiment of the present invention one from initial page image respectively The schematic diagram in code region to Article 4 shape code region;
Figure 11 is the decision process flow chart of decision maker in the embodiment of the present invention one;
Figure 12 is the block diagram of decision maker in the embodiment of the present invention two;
Figure 13 (a) is the setting schematic diagram of scanning pattern in the embodiment of the present invention two;
Figure 13 (b) is the first acquisition situation schematic diagram of change frequency in the embodiment of the present invention two;
Figure 13 (c) is the second acquisition situation schematic diagram of change frequency in the embodiment of the present invention two;
Figure 14 (a) is the setting schematic diagram of the scanning pattern for special identifier in the embodiment of the present invention two;
Figure 14 (b) is the first acquisition situation schematic diagram of the change frequency for special identifier in the embodiment of the present invention two;
Figure 14 (c) is the second acquisition situation schematic diagram of the change frequency for special identifier in the embodiment of the present invention two;
Figure 15 is the structural representation in Selection Center region in the embodiment of the present invention two;
Figure 16 is the structural representation that special number Selection Center region is directed in the embodiment of the present invention two;
Figure 17 is the decision process flow chart of decision maker in the embodiment of the present invention two;
Figure 18 is the block diagram of decision maker in the embodiment of the present invention three;
Figure 19 (a) is the setting schematic diagram of scanning pattern in the embodiment of the present invention three;
Figure 19 (b) is the acquisition situation schematic diagram of contiguous pixels accumulated value in the embodiment of the present invention three;And
Figure 20 is the decision process flow chart of decision maker in the embodiment of the present invention three.
Embodiment:
Decision maker of the present invention, file and picture management system and decision method are carried out below in conjunction with the accompanying drawings detailed Thin explanation.
As a kind of embodiment, the present invention provides a kind of to being printed with document content and comprising at least one The decision maker that the barcode size or text field comprising bar code is judged in the documentation page of shape code, it is characterised in that including:Conversion Portion, the binaryzation that the initial page image obtained by being read to documentation page is indicated to black and white two-value are changed, and obtain binaryzation page Image;Pixel correction portion, each pixel of binaryzation page image is corrected point by point according to predetermined modification rule, corrected Page image;Scanning pattern configuration part, a scanning area is set based on presumptive area size, and two edges with documentation page The both direction of sweep center point that is consistent respectively and being scanned through region is set as the first scanning pattern and the second scanning Path;Acquisition unit is scanned, scanning area is carried out according to predetermined mobile order and predetermined mobile interval according to revised pages image Movement so that be locked in corresponding region corresponding with scanning area in revised pages image one by one, further according to the first scanning road Footpath and the second scanning pattern are scanned to the area image in corresponding region, and obtain the table on the first scanning pattern respectively Show the second change of the first change frequency of the value changes of black and white two and the value changes of expression black and white two on the second scanning pattern Number;First change multilevel iudge portion, by the first change frequency got, the second change frequency respectively with number upper limit threshold Value, number lower threshold are compared, and judge whether any one in the first change frequency and the second change frequency Another is less than number upper limit threshold while more than number lower threshold, if it is determined that in the presence of, output one first is deposited In judged result;Characteristic point configuration part, judged result be present according to first, corresponding with sweep center point in corresponding region Corresponding central point be set as characteristic point;Configuration part is calculated, according to the distribution situation of all characteristic points and according to predetermined edge Detection algorithm calculates the volume edges at least containing a characteristic point, and sets characteristic point area according to the volume edges calculated Domain;Feature compares judging part, according to predetermined quantity threshold value and presumptive area dimension threshold, to the characteristic point in characteristic point region Quantity and the size in this feature point region be compared, and judge whether quantity and size all distinguish a predetermined level is exceeded threshold Value and presumptive area dimension threshold, it is judged as that quantity and size all distinguish a predetermined level is exceeded threshold value when feature compares judging part And during presumptive area dimension threshold, one amount of size of output determines result;And the barcode size or text field determination unit, according at least to Amount of size determines result, is determined as that the corresponding characteristic point region is the barcode size or text field.
In such embodiment, there can be such feature:Decision maker also includes:Second change multilevel iudge Portion, wherein, scanning pattern configuration part, also two angles angled with the first scanning pattern and being scanned through central point Degree direction is respectively set as the 3rd scanning pattern and the 4th scanning pattern, when the first change multilevel iudge portion is judged as being not present When, scanning acquisition unit is swept again according still further to the 3rd scanning pattern and the 4th scanning pattern to the same area image Retouch, and obtain the 3rd change frequency of the value changes of expression black and white two on the 3rd scanning pattern respectively and scan road the 4th 4th change frequency of the value changes of expression black and white two on footpath, the second change multilevel iudge portion are secondary by the get the 3rd change Number, the 4th change frequency are respectively compared with number upper limit threshold, number lower threshold, and judge whether the 3rd change Another is less than number upper limit threshold while any one in number and the 4th change frequency is more than number lower threshold, when In the presence of being judged as, then export one second and judged result be present, characteristic point configuration part has judged result right according to second Central point is answered to be set as characteristic point.
As second of embodiment, present invention also offers one kind to being printed with document content and comprising at least one The decision maker that the barcode size or text field comprising bar code is judged in the documentation page of bar code, it is characterised in that including:Conversion Portion;Pixel correction portion;Scanning pattern configuration part;Scan acquisition unit;Just determine multilevel iudge portion;First determines multilevel iudge portion;It is special Sign point configuration part;Calculate configuration part;Feature compares judging part;And the barcode size or text field determination unit, wherein, converter section will be to document Page is read out the binaryzation conversion that resulting initial page image is indicated black and white two-value, obtains binaryzation page image, as Plain correction portion is corrected point by point according to predetermined modification rule to each pixel of binaryzation page image, obtains revised pages image, Scanning pattern configuration part is based on presumptive area size and sets a scanning area, and phase one is distinguished at two edges with documentation page The both direction for causing and being scanned through the sweep center point in region is set as the first scanning pattern and the second scanning pattern, with Scanning path it is angled and be scanned through the two of central point angle directions be respectively set as the 3rd scanning pattern and 4th scanning pattern, acquisition unit is scanned, according to revised pages image scanning area according to predetermined mobile order and predetermined movement Interval is moved so as to being locked in corresponding region corresponding with scanning area in revised pages image one by one, further according to the Scanning path and the second scanning pattern are scanned to the area image in corresponding region, and obtain scan road first respectively First change frequency of the value changes of expression black and white two on footpath and the value changes of expression black and white two on the second scanning pattern Second change frequency, just determine multilevel iudge portion, for by the first change frequency, the second change frequency respectively with number upper limit threshold Value, number lower threshold are compared, judge whether in the first change frequency and the second change frequency any one is big Another is less than number upper limit threshold while number lower threshold, in the presence of being judged as, exports a presence just fixed knot Fruit, scanning acquisition unit just determines result according to presence, according to the 3rd scanning pattern and the 4th scanning pattern to the area in corresponding region Area image is scanned, and obtain respectively the value changes of expression black and white two on the 3rd scanning pattern the 3rd change frequency and 4th change frequency of the value changes of expression black and white two on the 4th scanning pattern, first determines multilevel iudge portion, further will 3rd change frequency, the 4th change frequency are compared, and are judged whether between the 3rd change frequency and the 4th change frequency Difference be less than make a reservation for poor threshold value, in the presence of being judged as, export one first exist determine result, characteristic point configuration part according to First has determination result, and corresponding with sweep center point corresponding central point in corresponding region is set as characteristic point, surveyed Configuration part is calculated according to the distribution situations of all characteristic points and is calculated according to predetermined edge detection algorithm and at least contains a spy The volume edges of point are levied, and characteristic point region is set according to the volume edges calculated, feature compares judging part according to predetermined number Measure threshold value and presumptive area dimension threshold, the size of quantity and this feature point region to the characteristic point in characteristic point region It is compared, and judges whether quantity and size all distinguish a predetermined level is exceeded threshold value and presumptive area dimension threshold, works as spy When sign multilevel iudge portion is judged as that quantity and size all distinguish a predetermined level is exceeded threshold value and presumptive area dimension threshold, output One amount of size determines result, the barcode size or text field determination unit, result is determined according at least to amount of size, is determined as that this is corresponding Characteristic point region is the barcode size or text field.
As the third embodiment, present invention also offers present invention also offers one kind to be printed with document content with And the decision maker that the barcode size or text field comprising bar code is judged in the documentation page comprising at least one bar code, its feature It is, including:Converter section;Pixel correction portion;Scanning pattern configuration part;Scan control section;Scan acquisition unit;Width judging part; Region adjustment portion;Just determine multilevel iudge portion;First determines multilevel iudge portion;Characteristic point configuration part;Calculate configuration part;Feature compares Judging part;And the barcode size or text field determination unit, wherein, converter section enters the initial page image obtained by being read out to documentation page Row represents the binaryzation conversion of black and white two-value, obtains binaryzation page image, pixel correction portion is according to predetermined modification rule to two-value The each pixel for changing page image is corrected point by point, obtains revised pages image, scanning pattern configuration part, based on presumptive area size A scanning area is set, and it is two edges with documentation page are consistent respectively and be scanned through the sweep center point in region Both direction be set as the first scanning pattern and the second scanning pattern, further angled simultaneously with the first scanning pattern And two angle directions for being scanned through central point are respectively set as the 3rd scanning pattern and the 4th scanning pattern, scan control section Control scanning acquisition unit moves scanning area according to predetermined mobile order and predetermined mobile interval according to revised pages image Move so as to be locked in corresponding region corresponding with scanning area in revised pages image one by one, and further according to the first scanning road Footpath is scanned to the area image in corresponding region, at least gets any one in continuous black pixel and continuous white pixel Contiguous pixels accumulated value;And control whether width judging part is judged more than predetermined accumulation threshold contiguous pixels accumulated value; When being judged as exceeding, control area adjustment portion is amplified adjustment to the size of scanning area so as to obtain a scanning amplification Region;Control scanning pattern configuration part, according to the central point of scanning magnification region to the first scanning pattern, the second scanning pattern, 3rd scanning pattern and the 4th scanning pattern are readjusted;And it is relative with scanning magnification region to control scanning acquisition unit to obtain The corresponding magnification region answered is as corresponding region, and when width judging part is judged as being no more than, scan control section control scanning obtains Portion is taken further to be scanned according to the first scanning pattern and the second scanning pattern to the area image in corresponding region, and respectively Obtain the first change frequency of the value changes of expression black and white two on the first scanning pattern and the table on the second scanning pattern Show the second change frequency of the value changes of black and white two, just determine multilevel iudge portion, for the first change frequency, the second change frequency to be divided Not compared with number upper limit threshold, number lower threshold, the first change frequency and the second change frequency are judged whether In any one another is less than number upper limit threshold while be more than number lower threshold, in the presence of being judged as, output Result is just determined in one presence, and scanning acquisition unit just determines result according to presence, according to the 3rd scanning pattern and the 4th scanning pattern pair Area image in corresponding region is scanned, and obtains of the value changes of expression black and white two on the 3rd scanning pattern respectively 4th change frequency of three change frequencies and the value changes of expression black and white two on the 4th scanning pattern, first determines to compare to sentence 3rd change frequency, the 4th change frequency, are further compared, judge whether the 3rd change frequency and the 4th by disconnected portion Whether the difference between change frequency, which is less than, makes a reservation for poor threshold value, in the presence of being judged as, exports one first and determination result be present, Characteristic point configuration part exists according to first determines result, corresponding with sweep center point corresponding central point in corresponding region It is set as characteristic point, calculates configuration part according to the distribution situation of all characteristic points and calculated according to predetermined edge detection algorithm Volume edges at least containing a characteristic point, and characteristic point region is set according to the volume edges calculated, feature is relatively sentenced Disconnected portion is according to predetermined quantity threshold value and presumptive area dimension threshold, quantity and the spy to the characteristic point in characteristic point region The size in sign point region is compared, and judges whether quantity and size all distinguish a predetermined level is exceeded threshold value and presumptive area Dimension threshold, it is judged as that quantity and size all distinguish a predetermined level is exceeded threshold value and presumptive area chi when feature compares judging part During very little threshold value, one amount of size of output determines result, the barcode size or text field determination unit, result is determined according at least to amount of size, It is determined as that the corresponding characteristic point region is the barcode size or text field.
In second of embodiment and the third embodiment, there can be such feature:Decision maker also includes:The Two determine multilevel iudge portions, wherein, when determining multilevel iudge portion originally and being judged as being not present, scanning acquisition unit is according to the 3rd scanning road Footpath and the 4th scanning pattern are scanned to the area image in corresponding region, and obtain the table on the 3rd scanning pattern respectively Show the 3rd change frequency of the value changes of black and white two and the 4th change of the value changes of expression black and white two on the 4th scanning pattern Number, second determines that the 3rd change frequency compared with the 4th change frequency, and is judged whether the by multilevel iudge portion Another is less than the number upper limit while any one in three change frequencies and the 4th change frequency is more than number lower threshold Threshold value, in the presence of being judged as, export one second and determination result be present, characteristic point configuration part exists according to second determines knot Fruit, corresponding central point is set as characteristic point.
In the first embodiment, second of embodiment and the third embodiment, there can be such feature:Turn The portion of changing includes:For initial page image to be divided into the partition sections of plural sub-regions;Table is carried out respectively to each sub-regions Show that the binaryzation of black and white two-value is converted to the conversion portion of binaryzation area image;And the binaryzation area image by whole It is integrated into the integrated part of binaryzation bar code image.
In the first embodiment, second of embodiment and the third embodiment, there can be such feature:Sentence Determining device also includes:Setup algorithm judging part;And density ratio is compared with judging part, wherein, when feature compares judging part Output Size When quantity determines result, setup algorithm portion sets out the central area of predetermined ratio in characteristic point region, and calculates in this The black pixel density value in heart district domain, density ratio are compared compared with judging part to black pixel density value and predetermined density threshold value, and Judge whether black pixel density value exceedes predetermined density threshold value, when being judged as exceeding, one density of output determines result, bar shaped Code regional determination portion, result is determined while result is determined according to amount of size always according to density, and the barcode size or text field is carried out Judge.
As the 4th kind of embodiment, present invention also offers a kind of file and picture management system, it is characterised in that bag Include:Multi-function printer;And file and picture management equipment, communicate and be connected with multi-function printer, wherein, multifunctional printing Machine has:Be printed with document content and comprising at least one bar code documentation page scanning as initial page image scanning Portion;And the scan-side communication unit that initial page image is transmitted to file and picture management equipment, file and picture management equipment Have:For receiving the management-side communication unit of initial page image;And bar code is included in the initial page image to receiving The decision maker that the barcode size or text field is judged, decision maker are that the first embodiment is any one into the third embodiment Decision maker mentioned by.
<Embodiment one>
Fig. 1 is the block diagram of document image management system in the embodiment of the present invention one.
As shown in figure 1, in the present embodiment one, file and picture management system 100 is used for not shown documentation page in figure In bar code image be managed.File and picture management system 100 includes:Multi-function printer 10 and and multifunctional printing Machine 10 realizes the file and picture management equipment 20 of communication connection by cordless communication network 50.
Multi-function printer 10 has:Scanner section 11 and scan-side communication unit 12.
Scanner section 11, which is printed with document content and the documentation page scanning comprising at least one bar code, to be turned into such as Fig. 3 institutes The initial page image 30 shown, four bar codes are included in initial page image 30.Scan-side communication unit 12 is connected with scanner section 11 Connect, the initial page image 30 for scanning completion is transmitted to file and picture management equipment 20.
File and picture management equipment 20 has:Management-side communication unit 21 and decision maker 22.
Management-side communication unit 21 is communicated with scan-side communication unit 12 and is connected, and then is received scan-side communication unit 12 and sent Initial page image 30.Decision maker 22 is connected with management-side communication unit 21, management-side communication unit 21 is received initial The barcode size or text field of four bar codes included in page image 30 is judged.
Fig. 2 is the block diagram of decision maker in the embodiment of the present invention one.
As shown in Fig. 2 decision maker 22 includes:Converter section 221, pixel correction portion 222, scanning pattern configuration part 223, sweep Retouch acquisition unit 224, change multilevel iudge portion 225, characteristic point configuration part 226, measuring and calculating configuration part 227, feature compare judging part 228th, the barcode size or text field determination unit 229, predetermined value storage part 230, temporary storage part 231, the barcode size or text field storage part 232 and control The control unit 233 of above-mentioned each portion's operation.
Fig. 3 is the schematic diagram of the initial page image of documentation page in the embodiment of the present invention one.
As shown in figure 3, enter in the present embodiment one so that the expense that State Intellectual Property Office sends slows down Notification of Decision as an example Row explanation, includes four bar codes in initial page image 30, wherein, bar code 1 represents that the expense slows down Notification of Decision institute The agency address of related patent, bar code 2 represent that the expense slows down the posting date of Notification of Decision, bar code 3 represents The expense slows down the application number of the related patent of Notification of Decision, bar code 4 represents that the expense slows down Notification of Decision Dispatch sequence number.
The binaryzation that initial page image 30 obtained by being read to documentation page is indicated black and white two-value by converter section 221 turns Change, in binarization, the binaryzation factor is calculated using Otsu algorithm, and implement binaryzation, obtain binaryzation page image.Turn Portion 221 is changed to include:Partition sections 221a, conversion portion 221b and integrated part 221c.
Fig. 4 is the predetermined division rule schematic diagram of the subregion of initial page image in the embodiment of the present invention one.
As shown in figure 4, initial page image 30 is divided into plural sub-regions by partition sections 221a according to predetermined division rule 30a, the predetermined division rule are stored in predetermined value storage part 230, and the predetermined division rule in the present embodiment one is pair Documentation page carries out average division., initial page in the present embodiment one, initial page image 30 is by laterally five deciles, longitudinal eight equal parts, i.e., Image 30 is divided into 40 regions and removes 30a.Conversion portion 221b to 40 sub-regions 30a from left to right, from top to bottom by The individual binaryzation conversion for being indicated black and white two-value, and respectively obtain a binaryzation area image, i.e., amount to 40 two-values Change area image.Integrated part 221c is integrated 40 binaryzation area images, obtains binaryzation page image.Pass through After initial page image 30 is divided into 40 sub-regions 30a by partition sections 221a, then for carrying out binaryzation per sub-regions 30a Conversion, can eliminate global image binarization method and bar code foreground and background easily occurs in the image procossing of gradation unequal The problem of cannot be distinguished by.
Pixel correction portion 222 is corrected point by point according to predetermined modification rule to each pixel of binaryzation page image, is obtained To revised pages image.The predetermined modification rule is stored in predetermined value storage part 230, and the predetermined amendment in the present embodiment one Rule is:The color of the pixel is corrected according to the white pixel of eight pixels around a pixel and the ratio of black pixel, when It is black by the pixel correction, when white pixel is not less than in eight pixels when black picture element is not less than six in eight pixels At six, it is white by the pixel correction, does not otherwise correct the pixel.
Fig. 5 is the explanation figure of predetermined modification rule in the embodiment of the present invention one.
In Figure 5, the parts of images that (a) is the initial page image 30 before amendment is schemed, figure (I) is the institute of dotted line frame 5 in figure (a) The partial enlarged drawing of the position of expression, figure (b) is revised image, and figure (II) is the position represented by dotted line frame 6 in figure (b) Partial enlarged drawing, represented by dotted line frame 5 and dotted line frame 6 is the same position in the front and rear image of amendment.In (I) is schemed, It is white pixel before center 5a amendments, due to having six black pixels, two white pixels around the 5a of the center, therefore, as Center 5a is modified to black pixel by plain correction portion 222 according to predetermined modification rule, that is, schemes the center 6a institutes of (II) The black pixel shown.After being modified according to predetermined modification rule to figure (a), that is, obtain the image shown in figure (b).
Fig. 6 (a) is the setting schematic diagram of scanning pattern in the embodiment of the present invention one.
As shown in Fig. 6 (a), scanning pattern configuration part 223 is based on presumptive area size and sets a scanning area 223a, and It is two edges with slowing down Notification of Decision as the expense of documentation page are consistent respectively and be scanned through region 223a's Sweep center point 223b both direction is set as the first scanning pattern 223c and the second scanning pattern 223d.The presumptive area chi It is very little to be stored in predetermined value storage part 230, and the presumptive area size in the present embodiment one is 10*10 pixels, thus, this is swept It is square to retouch region 223a.Involved presumptive area size can also be 15*15 pixels or 20*20 pixels in the present invention. In addition, scanning pattern configuration part 223 goes back handle and the angled θ of the first scanning pattern 223c and is scanned through central point 223b Two angle directions be respectively set as the 3rd scanning pattern 223e and the 4th scanning pattern 223f.Certain angle θ is stored In predetermined value storage part 230, and first scanning pattern 223c is horizontal direction in the present embodiment one, the second scanning pattern 223d For vertical direction, certain angle θ is 45 °.Involved certain angle θ can also be 30 ° or 60 ° in the present invention.
Scanning acquisition unit 224 is according to revised pages image scanning area 223a according to predetermined mobile order and predetermined movement Interval is moved so as to be locked in corresponding region corresponding with scanning area 223a in revised pages image, further root one by one The area image in corresponding region is scanned according to the first scanning pattern 223c and the second scanning pattern 223d, and obtained respectively First change frequency C of the value changes of expression black and white two on the first scanning pattern 223c1And in the second scanning pattern 223d On the value changes of expression black and white two the second change frequency C2
In addition, scanning acquisition unit 224 can also be according to the 3rd scanning pattern 223e and the 4th scanning pattern 223f to same Area image in corresponding region is scanned again, and obtains the expression black and white two-value on the 3rd scanning pattern 223e respectively 3rd change frequency C of change3And the 4th change frequency of the value changes of expression black and white two on the 4th scanning pattern 223f C4
The predetermined mobile order and the predetermined mobile interval are stored in predetermined value storage part 230, and the present embodiment Predetermined mobile order in one is from left to right, from top to bottom, predetermined mobile interval is about the length of scanning area 223a sizes 1/3rd, i.e., predetermined mobile interval is about 3 pixels.Involved predetermined mobile interval can also be four points in the present invention One of scanning area 223a.The first change frequency C that scanning acquisition unit 224 is got1, the second change frequency C2, the 3rd change Number C3And the 4th change frequency C4All it is temporarily stored in temporary storage part 231.
Fig. 6 (b) is the schematic diagram of the first change frequency and the second change frequency in the embodiment of the present invention one.
As shown in Fig. 6 (b), "×" represents the change B1 of black pixel and white pixel, thus the quantity of "×" is change time Number.After scanning area 223a is scanned to the area image in the corresponding region shown in Fig. 6 (a), obtain:First scanning pattern The first change frequency C on 223c1For the second change frequency C on 7 times, the second scanning pattern 223d2For 1 time.
Change multilevel iudge portion 225 includes:First change judges that the changes of comparing section 225a and second judge comparing section 225b.
First change judges the first change frequency C that comparing section 225a will be got1, the second change frequency C2Respectively with it is secondary Number upper limit threshold Vmax, number lower threshold VminIt is compared, and judges whether the first change frequency C1With the second change Number C2In any one be more than number lower threshold VminWhile another is less than number upper limit threshold Vmax, if it is determined that For in the presence of, there is judged result R in output one first1
The 3rd change frequency C that second change multilevel iudge portion 225b will be got3, the 4th change frequency C4Respectively with it is secondary Number upper limit threshold Vmax, number lower threshold VminIt is compared, and judges whether the 3rd change frequency C3With the 4th change Number C4In any one be more than number lower threshold VminWhile another is less than number upper limit threshold Vmax, when being judged as In the presence of, then export one second and judged result R be present2
Number upper limit threshold VmaxWith number lower threshold VminIt is stored in predetermined value storage part 230, and this implementation Number upper limit threshold V in example onemaxFor 3, number lower threshold VminFor 6.First change judges comparing section 225a is exported the One has judged result R1Judged result R be present in judge comparing section 225b outputs with the second change second2It is temporarily stored in temporary storage part In 231.
Judged result R be present according to first in characteristic point configuration part 2261, in corresponding region with sweep center point 223b Corresponding corresponding central point is set as characteristic point.In addition, characteristic point configuration part 226 can also have judged result according to second R2, corresponding with sweep center point 223b corresponding central point in corresponding region is set as characteristic point.
In Fig. 6 (b), the first change frequency C1For 7 times, the second change frequency C2For 1 time, due to number upper limit threshold Vmax For 3, number lower threshold VminFor 6, therefore, the first change judges that comparing section 225a is judged as existing, and output one first is deposited In judged result R1, now, characteristic point configuration part 226 is in corresponding with sweep center point 223b correspondence in corresponding region Heart point is set as characteristic point T, and "●" represents characteristic point T in figure.
Fig. 7 is the distribution situation schematic diagram of whole characteristic points corresponding with revised pages image in the embodiment of the present invention one.
After characteristic point configuration part 226 carries out setting characteristic point for initial page image 30, you can obtain feature as shown in Figure 7 Point distributed image 60, wherein tee represent a characteristic point, are distributed multiple characteristic point T in this feature point distributed image 60.
Fig. 8 is the distribution situation schematic diagram in characteristic point region in the embodiment of the present invention one.
As shown in figure 8, calculate the distribution situation of all characteristic points in revised pages image of the configuration part 227 according to Fig. 7 And the volume edges at least containing a characteristic point are calculated according to predetermined edge detection algorithm, and according to the scope calculated Edge sets characteristic point region Z, further obtains characteristic point area image 70.Include six altogether in characteristic point area image 70 Characteristic point region, i.e. characteristic point region Z1, characteristic point region Z2, characteristic point region Z3, characteristic point region Z4, characteristic point region Z5 And characteristic point region Z6.The edge detection algorithm is stored in predetermined value storage part 230, and the edge in the present embodiment one Detection algorithm is Canny Boundary extracting algorithms.
Feature compares judging part 228 according to predetermined quantity threshold value VmAnd presumptive area dimension threshold Vs, to each characteristic point The size in quantity and this feature the point region of the characteristic point in region is compared, and judges whether quantity and size are all distinguished A predetermined level is exceeded threshold value VmAnd presumptive area dimension threshold Vs, when be judged as quantity and size all distinguish a predetermined level is exceeded Threshold value VmAnd presumptive area dimension threshold VsWhen, one amount of size of output determines result Rm.Predetermined quantity threshold value VmAnd Presumptive area dimension threshold VsIt is stored in predetermined value storage part 230, and the predetermined quantity threshold value V in the present embodiment onemFor Six.Because the size of the barcode size or text field of the bar code in life is commonly 50*50 pixels, therefore, by the present embodiment one Presumptive area dimension threshold VsIt is set as 50*50 pixels.The amount of size that feature compares the output of judging part 228 determines result Rm It is temporarily stored in temporary storage part 231.
The barcode size or text field determination unit 229 determines result R according at least to the amount of sizem, it is determined as the corresponding feature Point region is the barcode size or text field, and the barcode size or text field is stored in the barcode size or text field storage part 232.
Fig. 9 is the distribution situation schematic diagram of the barcode size or text field in the embodiment of the present invention one.
As shown in figure 9, feature compares judging part 228 is compared judgement to six characteristic point regions shown in Fig. 8, by Characteristic point T quantity is less than six, therefore, characteristic point region Z5 and characteristic point in characteristic point region Z5 and characteristic point region Z6 Region Z6 is deleted, and other four characteristic point regions Z1, Z2, Z3 and Z4 characteristic point T quantity and size all meet predetermined number Measure VmWith presumptive area dimension threshold Vs, feature compare judging part 228 export four amount of size determine result Rm
Figure 10 (a) to Figure 10 (d) is the first bar shaped determined in the embodiment of the present invention one from initial page image respectively The schematic diagram in code region to Article 4 shape code region.
Four characteristic point regions Z1, Z2, Z3 that the barcode size or text field determination unit 229 is required meeting quantity and size in Fig. 9 Judged with Z4, four amount of size that the output of judging part 228 is compared according to feature determine result RmCharacteristic point is judged respectively Region Z1, Z2, Z3 and Z4 are the barcode size or text field.In Fig. 10, scheme (a) and first corresponding with characteristic point region Z1 is shown The barcode size or text field, bar code 1 in initial page image 30 is included in first the barcode size or text field, figure (b) is shown and characteristic point Second corresponding region Z2 the barcode size or text field, bar code 2 in initial page image 30, figure are included in second the barcode size or text field (c) the Article 3 shape code region corresponding with characteristic point region Z3 is shown, comprising initial in the Article 3 shape code region Bar code 3 in page image 30, the Article 4 shape code region corresponding with characteristic point region Z4 is shown in figure (d), the 4th Bar code 4 in initial page image 30 is included in the barcode size or text field.
As described above, predetermined value storage part 230 be stored with regular predetermined division, predetermined modification rule, presumptive area size, Certain angle θ, predetermined mobile order, predetermined mobile interval, number upper limit threshold Vmax, number lower threshold Vmin, rim detection Algorithm, predetermined quantity threshold value VmAnd presumptive area dimension threshold Vs
Temporary storage part 231 is used to keep in the first change frequency C1, the second change frequency C2, the 3rd change frequency C3, the 4th change Number C4, first judged result R be present1, second judged result R be present2, amount of size determine result Rm
The barcode size or text field storage part 232 is used to store first the barcode size or text field, second the barcode size or text field, Article 3 shape code area Domain and Article 4 shape code region.
The computer program for being used for controlling above-mentioned each portion's operation is included in control unit 233.
Figure 11 is the decision process flow chart of decision maker in the embodiment of the present invention one.
As shown in figure 11, the decision process of decision maker 22 comprises the following steps in the present embodiment one:
Initial page image 30 is carried out binaryzation conversion by step S1-1, converter section 221, obtains binaryzation page image, then Into step S1-2.
Step S1-2, pixel correction portion 222 are corrected, corrected point by point to each pixel in binaryzation page image Page image, subsequently into step S1-3.
Step S1-3, scanning pattern configuration part 223 be based on presumptive area size set a scanning area 223a, and handle with Two edges of documentation page are consistent respectively and are scanned through the setting of region 223a sweep center point 223b both direction For the first scanning pattern 223c and the second scanning pattern 223d, subsequently into step S1-4.
Step S1-4, scanning acquisition unit 223 are locked in scanning area 223a in revised pages image and scanning area 223a First corresponding corresponding region, and according to the first scanning pattern 223c and the second scanning pattern 223d to first correspondence Area image in region is scanned, subsequently into step S1-5.
Step S1-5, scanning acquisition unit 223 obtain the of value changes of expression black and white two on the first scanning pattern 223c One change frequency C1And the second change frequency C of the value changes of expression black and white two on the second scanning pattern 223d2, Ran Houjin Enter step S1-6.
Step S1-6, the first change judge the first change frequency C that comparing section 225a will be got1, the second change frequency C2 Respectively with number upper limit threshold Vmax, number lower threshold VminIt is compared, subsequently into step S1-7.
Step S1-7, the first change judge that comparing section 225a judges whether the first change frequency C1With the second change time Number C2In any one be more than number lower threshold VminWhile another is less than number upper limit threshold Vmax, when being judged as depositing When, then into step S1-8, when being judged as being not present, then into step S1-10.
Step S1-8, the first change judge that comparing section 225a exports one first and judged result R be present1, subsequently into step Rapid S1-9.
Judged result R be present according to first in step S1-9, characteristic point configuration part 2261, in current corresponding region with Corresponding central point corresponding sweep center point 223b is set as characteristic point, subsequently into step S1-10.
Step S1-10, judge whether current corresponding region is last corresponding region, when being judged as it not being last During individual corresponding region, into step S1-11, when being judged as YES last corresponding region, into step S1-12.
Step S1-11, scanning acquisition unit 224 move according to predetermined mobile order and predetermined mobile interval, so as to Scanning area 223a is locked in next corresponding region corresponding with scanning area 223a in revised pages image, and according to Scanning path 223c and the second scanning pattern 223d are scanned to the area image in next corresponding region, Ran Houjin Enter step S1-5.
Step S1-12, measuring and calculating configuration part 227 is according to the distribution situation of all characteristic points in revised pages image and according to predetermined Edge detection algorithm calculate volume edges at least containing a characteristic point, and according to the volume edges setting six calculated Individual characteristic point region, subsequently into step S1-13.
Step S1-13, first characteristic point region is set, subsequently into step S1-14.
Step S1-14, feature compare judging part 228 according to predetermined quantity threshold value VmAnd presumptive area dimension threshold Vs, it is right The quantity of characteristic point in the current characteristic point region and the size in this feature point region are compared, and judge quantity with Whether size all distinguishes a predetermined level is exceeded threshold value VmAnd presumptive area dimension threshold Vs, when being judged as above, into step Rapid S1-15, when being judged as not above, into step S1-16.
Step S1-15, feature compare one amount of size of the output of judging part 228 and determine result Rm, subsequently into step S1- 17。
Step S1-16, current characteristic point region is deleted, subsequently into step S1-19.
Step S1-17, the barcode size or text field determination unit 229 determine result Rm according to the amount of size, judge current spy Sign point region is the barcode size or text field, subsequently into step S1-18.
Step S1-18, the barcode size or text field storage part 232 store to the barcode size or text field, subsequently into step S1- 19。
Step S1-19, judge whether current characteristic point region is last characteristic point region, when being judged as it not being most During later feature point region, into step S1-20, when being judged as YES last characteristic point region, into done state.
Step S1-20, next characteristic point region is set, subsequently into step S1-14.
The effect of embodiment one and effect:
Decision maker, file and picture management system and decision method in the present embodiment one, because by initial page After image progress binaryzation is converted to binaryzation page image, then it is modified after obtaining revised pages image, by judging sweeping The change frequency on path is retouched, corresponding central point is set as by characteristic point according to change frequency, according to the distribution of all characteristic points Situation measuring and calculating sets out characteristic point region, by the quantity and size of characteristic point in judging characteristic point region, determines as bar shaped Code region.So the decision maker, file and picture management system and decision method involved by the present embodiment one can be full-automatic Ground is judged all the barcode size or text fields in initial page image.
In addition, decision maker, file and picture management system and decision method in the present embodiment one, because turning Change portion and include the partition sections that subregion is carried out to initial page image, so, decision maker, document map involved by the present embodiment one Initial page image is efficiently and accurately converted into binaryzation page image as management system can be realized, avoids the occurrence of bar code The problem of prospect and the background of document content cannot be distinguished by.
In addition, decision maker, file and picture management system and decision method in the present embodiment one, because becoming Change multilevel iudge portion and include the second change multilevel iudge portion, when the first change multilevel iudge portion is judged as being not present, second Change multilevel iudge portion by the 3rd change frequency got, the 4th change frequency respectively with number upper limit threshold, number lower limit Threshold value is compared, and any one for judging whether in the 3rd change frequency and the 4th change frequency is more than number lower limit Another is less than number upper limit threshold while threshold value, and in the presence of being judged as, output one second has judged result, this When, there is judged result in characteristic point configuration part, according to second in corresponding with sweep center point correspondence in corresponding region Heart point is set as characteristic point.So even if decision maker, file and picture management system pair involved by the present embodiment one incline Oblique the barcode size or text field, it can still be evaluated exactly from initial page file and picture.
<Embodiment two>
Decision maker 22 in embodiment one realizes the bar in horizontal positioned or run-off the straight to normal bar code Shape code region is judged.However, when bar code sheet is as improper bar code (special identifier being present), it is special for existing The initial page image very identified, the change frequency on the first scanning pattern and the second scanning pattern is judged meet wherein any one It is individual to be more than number lower threshold VminWhile another is less than number upper limit threshold VmaxShi Yinqi is judged by accident.Therefore, the present embodiment First in two determine multilevel iudge portion, the first determination multilevel iudge portion and the second determination multilevel iudge portion structure provide one kind can The technical scheme of accurate judgement is carried out to special identifier.For, with identical structure in embodiment one, using phase in embodiment two Symbol together simultaneously omits identical explanation.
Figure 12 is the block diagram of decision maker in the embodiment of the present invention two.
As shown in figure 12, in the present embodiment two, decision maker 33 except comprising with identical converter section in embodiment one 221st, pixel correction portion 222, scanning pattern configuration part 223, measuring and calculating configuration part 227, feature compare judging part 228, bar code area Beyond domain determination unit 229 and the barcode size or text field storage part 232, decision maker 33 also includes:Scanning acquisition unit 331, compare and sentence Disconnected portion 332, characteristic point configuration part 333, setup algorithm judging part 334, density ratio compared with judging part 335, predetermined value storage part 336, Temporary storage part 337 and the control unit 338 in the above-mentioned each portion of control.
Scanning acquisition unit 331 is according to revised pages image scanning area 223a according to predetermined mobile order and predetermined movement Interval is moved so as to be locked in corresponding region corresponding with scanning area 223a in revised pages image, further root one by one The area image in corresponding region is scanned according to the first scanning pattern 223c and the second scanning pattern 223d, and respectively Obtain the first change frequency C of the value changes of expression black and white two on the first scanning pattern 223c1And in the second scanning pattern Second change frequency C of the value changes of expression black and white two on 223d2
Multilevel iudge portion 332 includes:Just determine multilevel iudge portion 332a, the first determination multilevel iudge portion 332b and second is determined Multilevel iudge portion 332c.
Just determine multilevel iudge portion 332a to be used for the first change frequency C1, the second change frequency C2Respectively with number upper limit threshold Value Vmax, number lower threshold VminIt is compared, judges whether the first change frequency C1With the second change frequency C2In appoint Meaning one is more than number lower threshold VminWhile another is less than number upper limit threshold Vmax, in the presence of being judged as, output One presence just determines result Dc.The presence just determines result DcIt is temporarily stored in temporary storage part 337.
Scanning acquisition unit 331 further just determines result D according to presencec, scanned according to the 3rd scanning pattern 223e and the 4th Path 223f is scanned to the area image in corresponding region, and the expression obtained respectively on the 3rd scanning pattern 223e is black 3rd change frequency C of white two value changes3And the 4th of the value changes of expression black and white two on the 4th scanning pattern 223f becomes Change number C4
First determines multilevel iudge portion 332b further by the 3rd change frequency C3, the 4th change frequency C4It is compared, sentences It is disconnected to whether there is the 3rd change frequency C3With the 4th change frequency C4Between difference be less than make a reservation for poor threshold value Vc, when being judged as depositing When, export one first and exist and determine result D1.This makes a reservation for poor threshold value VcIt is stored in predetermined value storage part 336, and this reality Apply the predetermined poor threshold value V in example twocFor 3.Predetermined poor threshold value V involved in the present inventioncCan also be 2 or 4 or 5.First determines ratio Exist compared with the first of judging part 332b outputs and determine result D1It is temporarily stored in temporary storage part 337.
Second determines multilevel iudge portion 332c by the 3rd change frequency C3With the 4th change frequency C4It is compared, and Judge whether the 3rd change frequency C3With the 4th change frequency C4In any one be more than number lower threshold VminIt is same When another is less than number upper limit threshold Vmax, in the presence of being judged as, export one second and determination result D be present2.Second is true Determine the second of multilevel iudge portion 332c outputs and determination result D be present2It is temporarily stored in temporary storage part 337.
Characteristic point configuration part 333 exists according to first determines result D1, in corresponding region with sweep center point 223b Corresponding corresponding central point is set as characteristic point.In addition, characteristic point configuration part 333 can also exist according to second determines result D2, corresponding with sweep center point 223b corresponding central point in corresponding region is set as characteristic point.
Figure 13 (a) is the setting schematic diagram of scanning pattern in the embodiment of the present invention two;Figure 13 (b) is the embodiment of the present invention two The first of middle change frequency obtains situation schematic diagram.
As shown in Figure 13 (b), scanning acquisition unit 331 is carried out to the area image in the corresponding region as shown in Figure 13 (a) After scanning, "×" represents the change of black pixel and white pixel on the first scanning pattern 223c and the second scanning pattern 223d in figure B1, then the first change frequency C1For 6, the second change frequency C2For 6.Due to number upper limit threshold VmaxFor 3, number lower threshold VminFor 6, therefore, just determine multilevel iudge portion 332a and be judged as being not present.
Figure 13 (c) is the second acquisition situation schematic diagram of change frequency in the embodiment of the present invention two.
As shown in Figure 13 (c), due to just determining multilevel iudge portion 332a and be judged as being not present, acquisition unit 331 is scanned according to the Three scanning pattern 223e and the 4th scanning pattern 223f further enter to the area image in the corresponding region as shown in Figure 13 (a) Row scans, and " o " represents the change of black pixel and white pixel on the 3rd scanning pattern 223e and the 4th scanning pattern 223f in figure B2, then the 3rd change frequency C3For 8, the 4th change frequency C4For 2.Due to number upper limit threshold VmaxFor 3, number lower threshold VminFor 6, therefore, the second presence determination result D of determination multilevel iudge portion 332c outputs one second2.Now, characteristic point is set Portion 333 determines result D according to second presence2, corresponding with sweep center point 223b corresponding center in corresponding region Put and be set as characteristic point T, "●" represents characteristic point T in Figure 13 (c).
Figure 14 (a) is the setting schematic diagram of the scanning pattern for special identifier in the embodiment of the present invention two;Figure 14 (b) is First that the change frequency of special identifier is directed in the embodiment of the present invention two obtains situation schematic diagram.
Identical characteristics of image be present with bar code in special identifier as shown in Figure 14 (a), for example, be all by with lines with White space forms, and therefore, easily causes erroneous judgement.In the present embodiment two, as shown in Figure 14 (b), scanning acquisition unit 331 is to such as After the area image in corresponding region shown in Figure 14 (a) is scanned, in figure "×" represent in the first scanning pattern 223c and The change B1 of black pixel and white pixel on second scanning pattern 223d, then the first change frequency C1For 7, the second change frequency C2For 2.Due to number upper limit threshold VmaxFor 3, number lower threshold VminFor 6, therefore, just determine at the beginning of 332a outputs in multilevel iudge portion are present Determine result Dc
Figure 14 (c) is the second acquisition situation schematic diagram of the change frequency for special identifier in the embodiment of the present invention two.
As shown in Figure 14 (c), scanning acquisition unit 331 just determines result D according to presencecAnd the 3rd scanning pattern 223e and the 4th Scanning pattern 223f is further scanned to the area image in the corresponding region as shown in Figure 14 (a), and " o " is represented in figure The change B2 of black pixel and white pixel on 3rd scanning pattern 223e and the 4th scanning pattern 223f, then the 3rd change frequency C3For 5, the 4th change frequency C4For 1.Because under normal circumstances, the characteristics of image of bar code is not only by black line and white space group Into, also, the height of bar code is substantially coincident, as the first change frequency C on the first scanning pattern 223c1With second The second change frequency C on scanning pattern 223d2Meet that wherein any one is more than number lower threshold VminWhile another Less than number upper limit threshold VmaxWhen, the first change frequency C on the 3rd scanning pattern 223e3With on the 4th scanning pattern 223f The 4th change frequency C4Should be close, i.e. the 3rd change frequency C3With the 4th change frequency C4Difference should be less than make a reservation for poor threshold value Vc, and make a reservation for poor threshold value VcFor 3.However, the special identifier in Figure 14 (a), although the first change on the first scanning pattern 223c Number C1With the second change frequency C on the second scanning pattern 223d2Meet that wherein any one is more than number lower threshold Vmin While another is less than number upper limit threshold VmaxWhen, but it is highly inconsistent, cause the 3rd change frequency C3With the 4th change Number C4Difference be more than 3, therefore, first determination multilevel iudge portion 332b be judged as being not present, i.e., pair, shown in Figure 14 (a) Answer and bar code is not contained in region.
Setup algorithm portion 334 sets out predetermined ratio V in characteristic point regionrCentral area, and calculate the center The black pixel density value P in regionb, predetermined ratio VrIt is stored in predetermined value storage part 336, and makes a reservation in the present embodiment two Ratio VrFor the characteristic point region of a quarter.The black pixel density value PbIt is temporarily stored in temporary storage part 337.
Density ratio is compared with judging part 335 to black pixel density value PbWith predetermined density threshold value VpIt is compared, and judges black picture Plain density value PbWhether predetermined density threshold value V is exceededp, when being judged as exceeding, one density of output determines result Rp, this is predetermined Density threshold VpIt is stored in predetermined value storage part 336, and the predetermined density threshold value V in the present embodiment twopFor 20% feature The black pixel density value in point region.The density determines result RpIt is temporarily stored in temporary storage part 337.
Figure 15 is the structural representation in Selection Center region in the embodiment of the present invention two.
As shown in figure 15, by taking the Z1 of characteristic point region as an example, when including normal bar code in the Z1 of characteristic point region, setting meter Calculation portion 334 takes the central area Q1 of a quarter size in characteristic point region, and the black pixel for calculating central area Q1 is close Angle value Pb, density ratio is compared with judging part 335 to black pixel density value PbJudged, through judging:The black pixel density value PbIt is more than 20% characteristic point region Z1 black pixel density value, now, density ratio export a density compared with judging part 335 and determine result Rp
Figure 16 is the structural representation that special number Selection Center region is directed in the embodiment of the present invention two.
As shown in figure 16, by taking the Z2 of characteristic point region as an example, when including special number in the Z2 of characteristic point region, setup algorithm Portion 334 takes the central area Q2 of a quarter size in characteristic point region, and calculates central area Q2 black picture element density Value Pb, density ratio is compared with judging part 335 to black pixel density value PbJudged, through judging:The black pixel density value PbLess than 20% Characteristic point region black pixel density value, then can be inferred that:There is no bar code in this feature point region Z2.
The barcode size or text field determination unit 229 is determining result R according to amount of sizemWhile always according to density determine result Rp, The barcode size or text field is judged.
As described above, predetermined value storage part 336 is except being stored with and the identical of predetermined value storage part 230 in embodiment one Predetermined division is regular, predetermined modification rule, presumptive area size, certain angle θ, predetermined mobile order, predetermined mobile interval, secondary Number upper limit threshold Vmax, number lower threshold Vmin, edge detection algorithm, predetermined quantity threshold value VmAnd presumptive area dimension threshold VsIn addition, also it is stored with:Make a reservation for poor threshold value Vc, predetermined ratio VrAnd predetermined density threshold value Vp
Temporary storage part 337 is except for keeping in the first change frequency C1, the second change frequency C2, the 3rd change frequency C3, the 4th Change frequency C4And amount of size determines result RmIn addition, it is additionally operable to keep in:In the presence of just determining result Dc, first exist determine knot Fruit D1, black pixel density value PbAnd density determines result Rp
Control unit 338 includes the computer program for being used for controlling above-mentioned each portion.
Figure 17 is the decision process flow chart of decision maker in the embodiment of the present invention two.
As shown in figure 17, the decision process of decision maker 33 comprises the following steps in the present embodiment two:
Initial page image 30 is averagely divided into 40 sub-districts by step S2-1, the partition sections 221a in converter section 221 Domain 30a, and the 40 sub-regions 30a is subjected to binaryzation conversion one by one according to order from left to right, from top to bottom, obtain Binaryzation page image, subsequently into step S2-2.
Step S2-2, pixel correction portion 222 are carried out to each pixel in binaryzation page image according to predetermined modification rule Point-by-point amendment, obtains revised pages image, subsequently into step S2-3.
Step S2-3, scanning pattern configuration part 223 be based on presumptive area size set a scanning area 223a, and handle with Two edges of documentation page are consistent respectively and are scanned through the setting of region 223a sweep center point 223b both direction For the first scanning pattern 223c and the second scanning pattern 223d, and handle is at 45 ° with the first scanning pattern 223c and is scanned through Central point 223b two angle directions are respectively set as the 3rd scanning pattern 223e and the 4th scanning pattern 223f, subsequently into Step S2-4.
Step S2-4, scanning acquisition unit 331 are locked in scanning area 223a in revised pages image and scanning area 223a First corresponding corresponding region, and according to the first scanning pattern 223c and the second scanning pattern 223d to first correspondence Area image in region is scanned, subsequently into step S2-5.
Step S2-5, scanning acquisition unit 331 obtain the of value changes of expression black and white two on the first scanning pattern 223c One change frequency C1And the second change frequency C of the value changes of expression black and white two on the second scanning pattern 223d2, Ran Houjin Enter step S2-6.
Step S2-6, multilevel iudge portion 332a just is determined by the first change frequency C1, the second change frequency C2Respectively with number Limit threshold value Vmax, number lower threshold VminIt is compared, subsequently into step S2-7.
Step S1-7, just determining multilevel iudge portion 332a judges whether the first change frequency C1With the second change frequency C2 In any one be more than number lower threshold VminWhile another is less than number upper limit threshold Vmax, when being judged as existing When, into step S2-8, when being judged as being not present, into step S2-13.
Step S2-8, just determine to determine result D at the beginning of multilevel iudge portion 332a exports a presencec, subsequently into step S2-9.
Step S2-9, scanning acquisition unit 331 obtain the of value changes of expression black and white two on the 3rd scanning pattern 223e Three change frequency C3And the second change frequency C of the value changes of expression black and white two on the 4th scanning pattern 223f4, Ran Houjin Enter step S2-10.
Step S2-10, first determines multilevel iudge portion 332b by the 3rd change frequency C3, the 4th change frequency C4Compared Compared with, and judge whether the 3rd change frequency C3With the 4th change frequency C4Between difference be less than make a reservation for poor threshold value Vc, when depositing When, into step S2-11, when in the absence of when, into step S2-17.
Step S2-11, first determines that multilevel iudge portion 332b exports one first and determination result D be present1, subsequently into step Rapid S2-12.
Step S2-12, characteristic point configuration part 333 exists according to first determines result D1, in current corresponding region The corresponding central point corresponding with sweep center point 223b is set as characteristic point, subsequently into step S2-17.
Step S2-13, scanning acquisition unit 331 obtain the of value changes of expression black and white two on the 3rd scanning pattern 223e Three change frequency C3And the second change frequency C of the value changes of expression black and white two on the 4th scanning pattern 223f4, Ran Houjin Enter step S2-14.
Step S2-14, second determines multilevel iudge portion 332c by the 3rd change frequency C3With the 4th change frequency C4Enter Row compares, and judges whether the 3rd change frequency C3With the 4th change frequency C4In any one be more than number lower limit threshold Value VminWhile another is less than number upper limit threshold Vmax, in the presence of being judged as, into step S2-15, when being judged as not In the presence of, into step S2-17.
Step S2-15, second determines that multilevel iudge portion 332c exports one second and determination result D be present2, subsequently into step Rapid S2-16.
Step S2-16, characteristic point configuration part 333 can also exist according to second determines result D2, in corresponding region The corresponding central point corresponding with sweep center point 223b is set as characteristic point, subsequently into step S2-17.
Step S2-17, judge whether current corresponding region is last corresponding region, if it is not last to be judged as Individual corresponding region, then into step S2-18, if being judged as YES last corresponding region, into step S2-19.
Step S2-18, scanning acquisition unit 331 move according to predetermined mobile order and predetermined mobile interval, so as to Scanning area 223a is locked in next corresponding region corresponding with scanning area 223a in revised pages image, and according to Scanning path 223c and the second scanning pattern 223d are scanned to the area image in next corresponding region, Ran Houjin Enter step S2-5.
Step S2-19, measuring and calculating configuration part 227 is according to the distribution situation of all characteristic points in revised pages image and according to predetermined Edge detection algorithm calculate volume edges at least containing a characteristic point, and according to the volume edges setting six calculated Individual characteristic point region, subsequently into step S2-20.
Step S2-20, first characteristic point region is set, subsequently into step S2-21.
Step S2-21, feature compare judging part 228 according to predetermined quantity threshold value VmAnd presumptive area dimension threshold Vs, it is right The quantity of characteristic point in the current characteristic point region and the size in this feature point region are compared, and judge quantity with Whether size all distinguishes a predetermined level is exceeded threshold value VmAnd presumptive area dimension threshold Vs, when being judged as above, then enter Step S2-22, when being judged as not above, then into step S2-28.
Step S2-22, feature compare one amount of size of the output of judging part 228 and determine result Rm, subsequently into step S2- 23。
Step S2-23, setup algorithm portion 334 set out predetermined ratio V in current characteristic point regionrCenter Domain, and calculate the black pixel density value P of the central areab, subsequently into step S2-24.
Step S2-24, density ratio is compared with judging part 335 to black pixel density value PbWith predetermined density threshold value VpIt is compared, and And judge black pixel density value PbWhether predetermined density threshold value V is exceededp, when being judged as exceeding, into step S2-25, work as judgement During to be not above, into step S2-28.
Step S2-25, density ratio export a density compared with judging part 335 and determine result Rp, then into step S2-26.
Step S2-26, the barcode size or text field determination unit 229 determine result R according to amount of sizemResult R is determined with densityp, sentence Characteristic area before settled is the barcode size or text field, subsequently into step S2-27.
Step S2-27, the barcode size or text field storage part 232 store to the barcode size or text field, subsequently into step S2- 29。
Step S2-28, current characteristic point region is deleted, subsequently into step S2-29.
Step S2-29, judge whether current characteristic point region is last characteristic point region, when being judged as it not being most During later feature point region, then into step S2-30, when being judged as YES last characteristic point region, then enter and terminate State.
Step S2-30, next characteristic point region is set, subsequently into step S2-21.
The effect of embodiment two and effect:
Decision maker, file and picture management system and decision method in the present embodiment two, because, in just fixed ratio After the multilevel iudge of judging part, first determines that multilevel iudge portion and second determines multilevel iudge portion further to the 3rd change time Number and the 4th change frequency carry out corresponding multilevel iudge, in addition, comparing judging part in feature exports a dimensional measurement determination As a result after, setup algorithm portion further sets central area and calculates the black pixel density value of the central area, density ratio compared with Judging part is further judged the black pixel density value, and is exported a density and determined result, and the barcode size or text field judges Portion determines that result and density determine that result is judged the barcode size or text field according to amount of size, so, involved by the present embodiment two And decision maker, file and picture management system and decision method realize to special identifiers such as improper bar code, numerals Accurate judgement.
<Embodiment three>
Decision maker 33 in embodiment two realizes the accurate judgement to special identifiers such as improper bar code, numerals. However, when although bar code is normal bar code in itself, when bar code printing it is larger and cause in bar code black line and When white space is very wide, it is necessary to scanning area before the change frequency on the first scanning pattern and the second scanning pattern is obtained The size in domain is adjusted, and does not have bar code to prevent from being mistaken for current region.For in embodiment three with phase in embodiment two Same structure, using identical symbol and omits identical explanation.
Figure 18 is the block diagram of decision maker in the embodiment of the present invention three.
As shown in figure 18, in the present embodiment three, decision maker 44 except comprising with identical converter section in embodiment two 221st, pixel correction portion 222, multilevel iudge portion 332, characteristic point configuration part 333, measuring and calculating configuration part 227, feature compare judging part 228th, the barcode size or text field determination unit 229, setup algorithm judging part 334, density ratio store compared with judging part 335 and the barcode size or text field Beyond portion 232, decision maker 33 also includes:Scanning pattern configuration part 441, scan control section 442, scanning acquisition unit 443, width Judging part 444, region adjustment portion 445, predetermined value storage part 446, temporary storage part 447 and the control unit 448 in the above-mentioned each portion of control.
Figure 19 (a) is the setting schematic diagram of scanning pattern in the embodiment of the present invention three.
As shown in Figure 19 (a), scanning pattern configuration part 441 is based on presumptive area size and sets a scanning area 441a, It is and two edges with documentation page are consistent respectively and be scanned through region 441a sweep center point 441b two sides To the first scanning pattern 441c and the second scanning pattern 441d is set as, further with the first scanning pattern 441c into certain angle Degree θ and be scanned through central point 441b two angle directions be respectively set as the 3rd scanning pattern 441e and the 4th scanning road Footpath 441f.
Scanning acquisition unit 443 is according to revised pages image scanning area 441a according to predetermined mobile order and predetermined movement Interval is moved so as to be locked in corresponding region corresponding with scanning area 441a in revised pages image one by one, and further The area image in corresponding region is scanned according to the first scanning pattern 441c, at least gets continuous black pixel and continuous The contiguous pixels accumulated value L of any one in white pixel.The predetermined mobile order and predetermined mobile interval are stored in pre- In definite value storage part 446, and the predetermined mobile order in the present embodiment three is:From left to right, from top to bottom, mobile interval is made a reservation for For:/ 3rd of the length of scanning area 441a sizes, as 3 pixels.Contiguous pixels accumulated value L is temporarily stored in temporary In portion 447.
Whether width judging part 444 exceedes predetermined accumulation threshold V to contiguous pixels accumulated value LLJudged, this is predetermined tired Product threshold value VLIt is stored in predetermined value storage part 446, and the predetermined accumulation threshold V in the present embodiment threeLFor ten pixels.
Region adjustment portion 445 is amplified adjustment to scanning area 441a size so as to obtain a scanning amplification region Domain.
Scanning pattern configuration part 441 is further according to the central point of scanning magnification region to the first scanning pattern 441c, the Two scanning pattern 441d, the 3rd scanning pattern 441e and the 4th scanning pattern 441f are readjusted.
Scan acquisition unit 443 and further obtain the corresponding magnification region corresponding with scanning magnification region as corresponding area Domain.
Figure 19 (b) is the acquisition situation schematic diagram of contiguous pixels accumulated value in the embodiment of the present invention three.
As shown in Figure 19 (b), scanning acquisition unit 443 is according to the first scanning pattern 441c to the corresponding area shown in Figure 19 (a) Area image in domain is scanned, and obtains the number for the change B1 that black pixel and white pixel are represented on the first scanning pattern 441c Amount, the i.e. quantity of "×", and then the contiguous pixels accumulated value L of any one in continuous black pixel and continuous white pixel is got, And then whether width judging part 444 exceedes predetermined accumulation threshold V to contiguous pixels accumulated value LLJudged.
Included in scan control section 442 and be used to control scanning acquisition unit 443, width judging part 444 and region adjustment portion The computer program of 445 operations.
As described above, predetermined value storage part 446 is pre- with the identical of predetermined value storage part 336 in embodiment two except being stored with Determine division rule, predetermined modification rule, presumptive area size, certain angle θ, predetermined mobile order, predetermined mobile interval, number Upper limit threshold Vmax, number lower threshold Vmin, edge detection algorithm, predetermined quantity threshold value Vm, presumptive area dimension threshold Vs, it is pre- Fixed poor threshold value Vc, predetermined ratio VrAnd predetermined density threshold value VpIn addition, also it is stored with:Predetermined accumulation threshold VL
Temporary storage part 447 is except for the first change frequency of the identical C of temporary storage part 337 in temporary and embodiment two1, second become Change number C2, the 3rd change frequency C3, the 4th change frequency C4, amount of size determine result Rm, exist just determine result Dc, first deposit It is determined that result D1, black pixel density value PbAnd density determines result RpIn addition, it is additionally operable to store:Contiguous pixels accumulated value L.
Figure 20 is the decision process flow chart of decision maker in the embodiment of the present invention three.
As shown in figure 20, the decision process of decision maker 44 comprises the steps of in the present embodiment three:
Step S3-1, partition sections 221a in converter section 221 are by the horizontal and vertical average division of initial page image 30 For 40 sub-regions 31, and 40 sub-regions 31 are subjected to two-value one by one according to order from left to right, from top to bottom Change conversion, binaryzation page image is obtained, subsequently into step S3-2.
Step S3-2, pixel correction portion 222 are carried out to each pixel in binaryzation page image according to predetermined modification rule Point-by-point amendment, obtains revised pages image, subsequently into step S3-3.
Step S3-3, scanning pattern configuration part 441 be based on presumptive area size set a scanning area 441a, and handle with Two edges of documentation page are consistent respectively and are scanned through the setting of region 441a sweep center point 441b both direction For the first scanning pattern 441c and the second scanning pattern 441d, and handle is at 45 ° with the first scanning pattern 441c and is scanned through Central point 441b two angle directions are respectively set as the 3rd scanning pattern 441e and the 4th scanning pattern 441f, subsequently into Step S3-4.
Scanning area 441a is locked in revised pages image by step S3-4, the control scanning acquisition unit 443 of scan control section 442 In first corresponding region corresponding with scanning area 441a, subsequently into step S3-5.
Step S3-5, scanning acquisition unit 443 is further according to the first scanning pattern 441c to the administrative division map in corresponding region As being scanned, contiguous pixels the accumulated value L, Ran Houjin of any one in continuous black pixel and continuous white pixel are at least got Enter step S3-6.
Step S3-6, width judging part 444 judge whether contiguous pixels accumulated value L exceedes predetermined accumulation threshold VL, when When being judged as exceeding, into step S3-7, when being judged as being not above, into step S3-10.
Step S3-7, the control area adjustment portion 445 of scan control section 442 are amplified tune to scanning area 441a size It is whole to scan magnification region so as to obtain one, subsequently into step S3-8.
Step S3-8, scan control section 442 control scanning pattern configuration part 441 further according in scanning magnification region The heart o'clock enters to the first scanning pattern 441c, the second scanning pattern 441d, the 3rd scanning pattern 441e and the 4th scanning pattern 441f Row is readjusted, subsequently into step S3-9.
Step S3-9, the control scanning acquisition unit 443 of scan control section 442 further obtain corresponding with scanning magnification region Corresponding magnification region as corresponding region, subsequently into step S3-6.
Step S3-10, the control scanning acquisition unit 443 of scan control section 442 are swept according to the first scanning pattern 441c and second Retouch path 441d to be scanned the area image in current corresponding region, and obtain respectively on the first scanning pattern 441c The value changes of expression black and white two the first change frequency C1And the value changes of expression black and white two on the second scanning pattern 441d The second change frequency C2, subsequently into step S3-11.
Step S3-11, multilevel iudge portion 332a just is determined by the first change frequency C1, the second change frequency C2Respectively with number Upper limit threshold Vmax, number lower threshold VminIt is compared, subsequently into step S3-12.
Step S3-12, just determining multilevel iudge portion 332a judges whether the first change frequency C1With the second change frequency C2 In any one be more than number lower threshold VminWhile another is less than number upper limit threshold Vmax, when being judged as existing When, then into step S3-13, when being judged as being not present, then into step S3-18.
Step S3-13, just determine to determine result D at the beginning of multilevel iudge portion 332a exports a presencec, subsequently into step S3-14.
Step S3-14, scanning acquisition unit 443 obtain the of value changes of expression black and white two on the 3rd scanning pattern 441e Three change frequency C3And the second change frequency C of the value changes of expression black and white two on the 4th scanning pattern 441f4, Ran Houjin Enter step S3-15.
Step S3-15, first determines multilevel iudge portion 332b by the 3rd change frequency C3, the 4th change frequency C4Compared Compared with, and judge whether the 3rd change frequency C3With the 4th change frequency C4Between difference be less than make a reservation for poor threshold value Vc, when depositing When, into step S3-16, when in the absence of when, into step S3-22.
Step S3-16, first determines that multilevel iudge portion 332b exports one first and determination result D be present1, subsequently into step Rapid S3-17.
Step S3-17, characteristic point configuration part 333 exists according to first determines result D1, in current corresponding region The corresponding central point corresponding with sweep center point 223b is set as characteristic point, subsequently into step S3-22.
Step S3-18, scanning acquisition unit 443 obtain the of value changes of expression black and white two on the 3rd scanning pattern 441e Three change frequency C3And the second change frequency C of the value changes of expression black and white two on the 4th scanning pattern 441f4, Ran Houjin Enter step S3-19.
Step S3-19, second determines multilevel iudge portion 332c by the 3rd change frequency C3With the 4th change frequency C4Enter Row compares, and judges whether the 3rd change frequency C3With the 4th change frequency C4In any one be more than number lower limit threshold Value VminWhile another is less than number upper limit threshold Vmax, in the presence of being judged as, into step S3-20, when being judged as not In the presence of, into step S3-22.
Step S3-20, second determines that multilevel iudge portion 332c exports one second and determination result D be present2, subsequently into step Rapid S3-21.
Step S3-21, characteristic point configuration part 333 can also exist according to second determines result D2, in corresponding region The corresponding central point corresponding with sweep center point 441b is set as characteristic point, subsequently into step S3-22.
Step S3-22, judge whether current corresponding region is last corresponding region, when being judged as it not being last Individual corresponding region, into step S3-23, when being judged as YES last corresponding region, into step S3-24.
Step S3-23, scanning acquisition unit 443 move according to predetermined mobile order and predetermined mobile interval, so as to Scanning area 441a is locked in next corresponding region corresponding with scanning area 441a in revised pages image, and according to Scanning path 441c and the second scanning pattern 441d are scanned to the area image in next corresponding region, Ran Houjin Enter step S3-6.
Step S3-24, measuring and calculating configuration part 227 is according to the distribution situation of all characteristic points in revised pages image and according to predetermined Edge detection algorithm calculate volume edges at least containing a characteristic point, and according to the volume edges setting six calculated Individual characteristic point region, subsequently into step S3-25.
Step S3-25, first characteristic point region is set, subsequently into step S3-26.
Step S3-26, feature compare judging part 228 according to predetermined quantity threshold value VmAnd presumptive area dimension threshold Vs, it is right The quantity of characteristic point in the current characteristic point region and the size in this feature point region are compared, and judge quantity with Whether size all distinguishes a predetermined level is exceeded threshold value VmAnd presumptive area dimension threshold Vs, when being judged as above, into step Rapid S3-27, when being judged as not above, into step S3-33.
Step S3-27, feature compare one amount of size of the output of judging part 228 and determine result Rm, subsequently into step S3- 28。
Step S3-28, setup algorithm portion 334 set out predetermined ratio V in current characteristic point regionrCenter Domain, and calculate the black pixel density value P of the central areab, subsequently into step S3-29.
Step S3-29, density ratio is compared with judging part 335 to black pixel density value PbWith predetermined density threshold value VpIt is compared, and And judge black pixel density value PbWhether predetermined density threshold value V is exceededp, when being judged as exceeding, into step S3-30, work as judgement During to be not above, into step S3-33.
Step S3-30, density ratio export a density compared with judging part 335 and determine result Rp, subsequently into step S3-31.
Step S3-31, the barcode size or text field determination unit 229 determine result R according to amount of sizemResult R is determined with densityp, sentence Characteristic area before settled is the barcode size or text field, subsequently into step S3-32.
Step S3-32, the barcode size or text field storage part 232 store to the barcode size or text field, subsequently into step S3- 34。
Step S3-33, current characteristic point region is deleted, subsequently into step S3-34.
Step S3-34, judge whether current characteristic point region is last characteristic point region, when being judged as it not being most During later feature point region, into step S3-35, when being judged as YES last characteristic point region, into done state.
Step S3-35, next characteristic point region is set, subsequently into step S3-26.
The effect of embodiment three and effect:
Decision maker, file and picture management system and decision method in the present embodiment three, because being swept in setting After retouching region and scanning pattern, scan control section control scanning acquisition unit obtains the contiguous pixels accumulation in corresponding region Value, and control width judging part to judge the accumulation value, when the accumulation value exceedes predetermined accumulation threshold, control Region adjustment portion processed is amplified adjustment to the size of scanning area, further controls scanning pattern configuration part to readjust scanning Path, judgement the barcode size or text field is then carried out, so, decision maker, file and picture management system involved by the present embodiment three And decision method realizes the bar code wide to the width of continuous black pixel or continuous white pixel and judged automatically.
In addition, the predetermined division stored in three above embodiment in predetermined value storage part is regular, predetermined modification rule, Presumptive area size, certain angle θ, predetermined mobile order, predetermined mobile interval, number upper limit threshold Vmax, number lower threshold Vmin, edge detection algorithm, predetermined quantity threshold value Vm, presumptive area dimension threshold Vs, make a reservation for poor threshold value Vc, predetermined ratio VrAnd Predetermined density threshold value VpAnd predetermined accumulation threshold VLThese parameters, situation cited in embodiment is not limited to, can basis It is actually needed and is adjusted correspondingly.

Claims (11)

  1. A kind of 1. bar to being printed with including the bar code in document content and documentation page comprising at least one bar code The decision maker that shape code region is judged, it is characterised in that including:
    Converter section, the binaryzation that the initial page image obtained by being read to the documentation page is indicated to black and white two-value are changed, Obtain binaryzation page image;
    Pixel correction portion, each pixel of the binaryzation page image is corrected point by point according to predetermined modification rule, obtained Revised pages image;
    Scanning pattern configuration part, a scanning area is set based on presumptive area size, and two sides with the documentation page Edge is consistent respectively and the both direction of sweep center point Jing Guo the scanning area is set as the first scanning pattern and Two scanning patterns;
    Acquisition unit is scanned, according to the revised pages image the scanning area according between predetermined mobile order and predetermined movement Every moving so as to be locked in corresponding region corresponding with the scanning area in the revised pages image one by one, further The area image in the corresponding region is scanned according to first scanning pattern and second scanning pattern, and point The first change frequency of the value changes of expression black and white two on first scanning pattern is not obtained and in the described second scanning Second change frequency of the value changes of expression black and white two on path;
    First change multilevel iudge portion, by first change frequency got, second change frequency respectively with number Upper limit threshold, number lower threshold are compared, and judge whether first change frequency and second change time Another is less than the number upper limit threshold while any one in number is more than the number lower threshold, if it is determined that In the presence of, judged result be present in output one first;
    Characteristic point configuration part, judged result be present according to described first, in the corresponding region with the sweep center point Corresponding corresponding central point is set as characteristic point;
    Calculate configuration part, calculate at least according to the distribution situation of all characteristic points and according to predetermined edge detection algorithm Volume edges containing a characteristic point, and set characteristic point region according to the volume edges calculated;
    Feature compares judging part, according to predetermined quantity threshold value and presumptive area dimension threshold, in the characteristic point region The size in quantity and this feature the point region of the characteristic point is compared, and whether all to judge the quantity and the size Exceed the predetermined quantity threshold value and the presumptive area dimension threshold respectively, be judged as institute when the feature compares judging part When stating quantity and the size and all exceeding the predetermined quantity threshold value and the presumptive area dimension threshold respectively, one is exported Amount of size determines result;And
    The barcode size or text field determination unit, result is determined according at least to the amount of size, be determined as the corresponding characteristic point area Domain is the barcode size or text field.
  2. 2. decision maker according to claim 1, it is characterised in that also include:
    Second change multilevel iudge portion,
    Wherein, the scanning pattern configuration part, go back handle it is angled with first scanning pattern and pass through the scanning Two angle directions of central point are respectively set as the 3rd scanning pattern and the 4th scanning pattern,
    When the described first change multilevel iudge portion is judged as being not present, the scanning acquisition unit is according still further to the described 3rd Scanning pattern and the 4th scanning pattern are scanned again to the same area image, and are obtained respectively the described 3rd 3rd change frequency of the value changes of expression black and white two on scanning pattern and the expression black and white on the 4th scanning pattern 4th change frequency of two value changes,
    It is described second change multilevel iudge portion by the 3rd change frequency got, the 4th change frequency respectively with institute State number upper limit threshold, the number lower threshold is compared, and judge whether the 3rd change frequency and described Another is less than the number upper limit threshold while any one in 4th change frequency is more than the number lower threshold, In the presence of being judged as, then export one second and judged result be present,
    Judged result be present according to described second and the corresponding central point be set as the characteristic point in the characteristic point configuration part.
  3. A kind of 3. bar to being printed with including the bar code in document content and documentation page comprising at least one bar code The decision maker that shape code region is judged, it is characterised in that including:
    Converter section;Pixel correction portion;Scanning pattern configuration part;Scan acquisition unit;Just determine multilevel iudge portion;First determines to compare to sentence Disconnected portion;Characteristic point configuration part;Calculate configuration part;Feature compares judging part;And the barcode size or text field determination unit,
    Wherein, the initial page image obtained by being read out to the documentation page is indicated black and white two-value by the converter section Binaryzation is changed, and obtains binaryzation page image,
    The pixel correction portion is corrected point by point according to predetermined modification rule to each pixel of the binaryzation page image, is obtained To revised pages image,
    The scanning pattern configuration part is based on presumptive area size and sets a scanning area, and two with the documentation page Edge is consistent respectively and the both direction of sweep center point Jing Guo the scanning area be set as the first scanning pattern and Second scanning pattern, two angle directions angled with first scanning pattern and by the sweep center point The 3rd scanning pattern and the 4th scanning pattern are respectively set as,
    The scanning acquisition unit, according to the revised pages image the scanning area according to predetermined mobile order and predetermined shifting Dynamic interval is moved so as to be locked in corresponding region corresponding with the scanning area in the revised pages image one by one, is entered One step is scanned according to first scanning pattern and second scanning pattern to the area image in the corresponding region, And the first change frequency of the value changes of expression black and white two on first scanning pattern is obtained respectively and described second Second change frequency of the value changes of expression black and white two on scanning pattern,
    It is described just determine multilevel iudge portion, for by first change frequency, second change frequency respectively with the number upper limit Threshold value, number lower threshold are compared, and are judged whether in first change frequency and second change frequency Another is less than the number upper limit threshold while any one is more than the number lower threshold, in the presence of being judged as, One presence of output just determines result,
    The scanning acquisition unit just determines result according to the presence, according to the 3rd scanning pattern and the 4th scanning pattern Area image in the corresponding region is scanned, and obtains the expression black and white two on the 3rd scanning pattern respectively 3rd change frequency of value changes and the 4th change frequency of the value changes of expression black and white two on the 4th scanning pattern,
    Described first determines multilevel iudge portion, is further compared the 3rd change frequency, the 4th change frequency, Judge whether that the difference between the 3rd change frequency and the 4th change frequency is less than and make a reservation for poor threshold value, work as judgement For in the presence of, export one first and determination result be present,
    The characteristic point configuration part according to described first exist determine result, in the corresponding region with the scanning center The corresponding corresponding central point of point is set as characteristic point;
    It is described to calculate configuration part according to the distribution situation of all characteristic points and calculated according to predetermined edge detection algorithm Volume edges at least containing a characteristic point, and characteristic point region is set according to the volume edges calculated,
    The feature compares judging part according to predetermined quantity threshold value and presumptive area dimension threshold, in the characteristic point region The quantity of the characteristic point and the size in this feature point region be compared, and judge whether are the quantity and the size All exceed the predetermined quantity threshold value and the presumptive area dimension threshold respectively, be judged as when the feature compares judging part When the quantity and the size all exceed the predetermined quantity threshold value and the presumptive area dimension threshold respectively, output one Individual amount of size determines result,
    The barcode size or text field determination unit, result is determined according at least to the amount of size, be determined as the corresponding feature Point region is the barcode size or text field.
  4. A kind of 4. bar to being printed with including the bar code in document content and documentation page comprising at least one bar code The decision maker that shape code region is judged, it is characterised in that including:
    Converter section;Pixel correction portion;Scanning pattern configuration part;Scan control section;Scan acquisition unit;Width judging part;Adjust in region It is whole;Just determine multilevel iudge portion;First determines multilevel iudge portion;Characteristic point configuration part;Calculate configuration part;Feature multilevel iudge Portion;And the barcode size or text field determination unit,
    Wherein, the initial page image obtained by being read out to the documentation page is indicated black and white two-value by the converter section Binaryzation is changed, and obtains binaryzation page image,
    The pixel correction portion is corrected point by point according to predetermined modification rule to each pixel of the binaryzation page image, is obtained To revised pages image,
    The scanning pattern configuration part, a scanning area is set based on presumptive area size, and two with the documentation page Individual edge is consistent respectively and the both direction of sweep center point Jing Guo the scanning area is set as the first scanning pattern With the second scanning pattern, further it is angled with first scanning pattern and by the sweep center point two Individual angle direction is respectively set as the 3rd scanning pattern and the 4th scanning pattern,
    The scan control section control scanning acquisition unit is according to the revised pages image the scanning area according to predetermined Mobile order and predetermined mobile interval are moved so as to be locked in one by one in the revised pages image and the scanning area Corresponding corresponding region, and further the area image in the corresponding region is swept according to first scanning pattern Retouch, at least get the contiguous pixels accumulated value of any one in continuous black pixel and continuous white pixel;And control the width Whether judging part is judged more than predetermined accumulation threshold the contiguous pixels accumulated value;When being judged as exceeding, institute is controlled State region adjustment portion and adjustment is amplified to the size of the scanning area so as to obtain a scanning magnification region;Described in control Scanning pattern configuration part, according to the central point of the scanning magnification region to first scanning pattern, the second scanning road Footpath, the 3rd scanning pattern and the 4th scanning pattern are readjusted;And control it is described scanning acquisition unit obtain with The corresponding corresponding magnification region of the scanning magnification region as the corresponding region,
    When the width judging part is judged as being no more than, the scan control section control is described to scan acquisition unit further basis First scanning pattern and second scanning pattern are scanned to the area image in the corresponding region, and are obtained respectively Take the first change frequency of the value changes of expression black and white two on first scanning pattern and in second scanning pattern On the value changes of expression black and white two the second change frequency,
    It is described just determine multilevel iudge portion, for by first change frequency, second change frequency respectively with the number upper limit Threshold value, number lower threshold are compared, and are judged whether in first change frequency and second change frequency Another is less than the number upper limit threshold while any one is more than the number lower threshold, in the presence of being judged as, One presence of output just determines result,
    The scanning acquisition unit just determines result according to the presence, according to the 3rd scanning pattern and the 4th scanning pattern Area image in the corresponding region is scanned, and obtains the expression black and white two on the 3rd scanning pattern respectively 3rd change frequency of value changes and the 4th change frequency of the value changes of expression black and white two on the 4th scanning pattern,
    Described first determines multilevel iudge portion, is further compared the 3rd change frequency, the 4th change frequency, Judge whether the difference between the 3rd change frequency and the 4th change frequency is less than and make a reservation for poor threshold value, when In the presence of being judged as, export one first and determination result be present,
    The characteristic point configuration part according to described first exist determine result, in the corresponding region with the scanning center The corresponding corresponding central point of point is set as characteristic point,
    It is described to calculate configuration part according to the distribution situation of all characteristic points and calculated according to predetermined edge detection algorithm Volume edges at least containing a characteristic point, and characteristic point region is set according to the volume edges calculated,
    The feature compares judging part according to predetermined quantity threshold value and presumptive area dimension threshold, in the characteristic point region The quantity of the characteristic point and the size in this feature point region be compared, and judge whether are the quantity and the size All exceed the predetermined quantity threshold value and the presumptive area dimension threshold respectively, be judged as when the feature compares judging part When the quantity and the size all exceed the predetermined quantity threshold value and the presumptive area dimension threshold respectively, output one Individual amount of size determines result,
    The barcode size or text field determination unit, result is determined according at least to the amount of size, be determined as the corresponding feature Point region is the barcode size or text field.
  5. 5. the decision maker according to claim 3 or 4, it is characterised in that also include:
    Second determines multilevel iudge portion,
    Wherein, when it is described just determine multilevel iudge portion be judged as be not present when, it is described scanning acquisition unit according to the described 3rd scan road Footpath and the 4th scanning pattern are scanned to the area image in the corresponding region, and obtain swept the described 3rd respectively Retouch the 3rd change frequency of the value changes of expression black and white two on path and the expression black and white two on the 4th scanning pattern 4th change frequency of value changes,
    Described second determines that multilevel iudge portion compared with the 4th change frequency, and judges the 3rd change frequency It is more than the number lower threshold with the presence or absence of any one in the 3rd change frequency and the 4th change frequency Another is less than the number upper limit threshold simultaneously, in the presence of being judged as, exports one second and determination result be present,
    The characteristic point configuration part exists according to described second determines result, and the corresponding central point is set as the feature Point.
  6. 6. according to the decision maker described in claim 1 or 3 or 4, it is characterised in that:
    Wherein, the converter section includes:For the initial page image to be divided into the partition sections of plural sub-regions;To each The binaryzation that the sub-regions are indicated black and white two-value respectively is converted to the conversion portion of binaryzation area image;And The binaryzation area image of whole is integrated into the integrated part of the binaryzation page image.
  7. 7. according to the decision maker described in claim 1 or 3 or 4, it is characterised in that also include:
    Setup algorithm judging part;And density ratio is compared with judging part,
    Wherein, when the feature, which compares the judging part output amount of size, determines result, the setup algorithm portion is described The central area of predetermined ratio is set out in characteristic point region, and calculates the black pixel density value of the central area,
    The density ratio is compared compared with judging part to the black pixel density value and predetermined density threshold value, and is judged described black Whether pixel density value exceedes the predetermined density threshold value, and when being judged as exceeding, one density of output determines result,
    The barcode size or text field determination unit, determine to tie always according to the density while result is determined according to the amount of size Fruit, described the barcode size or text field is judged.
  8. A kind of 8. file and picture management system, it is characterised in that including:
    Multi-function printer;And
    File and picture management equipment, communicate and be connected with the multi-function printer,
    Wherein, the multi-function printer has:
    Be printed with document content and comprising at least one bar code documentation page scanning as initial page image scanner section; And
    The scan-side communication unit that the initial page image is transmitted to the file and picture management equipment,
    The file and picture management equipment has:
    For receiving the management-side communication unit of the initial page image;And
    To the decision maker that the barcode size or text field comprising the bar code is judged in the initial page image that receives,
    The decision maker is the decision maker described in any one in claim 1 to claim 6.
  9. A kind of 9. bar to being printed with including the bar code in document content and documentation page comprising at least one bar code The decision method that shape code region is judged, it is characterised in that have steps of:
    The binaryzation that initial page image obtained by being read to the documentation page is indicated to black and white two-value is changed, and obtains two-value Change page image;
    Each pixel of the binaryzation page image is corrected point by point according to predetermined modification rule, obtains revised pages image;
    Based on presumptive area size set a scanning area, and two edge difference with the documentation page it is consistent and The both direction of sweep center point by the scanning area is set as the first scanning pattern and the second scanning pattern;
    The scanning area is moved according to predetermined mobile order and predetermined mobile interval according to the revised pages image So as to being locked in corresponding region corresponding with the scanning area in the revised pages image one by one, further according to described the Scanning path and second scanning pattern are scanned to the area image in the corresponding region, and are obtained respectively in institute State the first change frequency of the value changes of expression black and white two on the first scanning pattern and the table on second scanning pattern Show the second change frequency of the value changes of black and white two;
    By first change frequency got, second change frequency respectively with number upper limit threshold, number lower limit threshold Value is compared, and any one for judging whether in first change frequency and second change frequency is more than institute Another is less than the number upper limit threshold while stating number lower threshold, if it is determined that in the presence of, export one first Judged result be present;
    Judged result be present according to described first, in corresponding with sweep center point correspondence in the corresponding region Heart point is set as characteristic point;
    Calculate according to the distribution situation of all characteristic points and according to predetermined edge detection algorithm and at least contain an institute The volume edges of characteristic point are stated, and characteristic point region is set according to the volume edges calculated;
    According to predetermined quantity threshold value and presumptive area dimension threshold, to the quantity of the characteristic point in the characteristic point region And the size in this feature point region is compared, and judge whether the quantity and the size all exceed described make a reservation for respectively Amount threshold and the presumptive area dimension threshold, when being judged as that it is described predetermined that the quantity and the size all exceed respectively When amount threshold and the presumptive area dimension threshold, one amount of size of output determines result;And
    Result is determined according at least to the amount of size, is determined as that the corresponding characteristic point region is the barcode size or text field.
  10. 10. decision method according to claim 9, it is characterised in that also have steps of:
    Angled with first scanning pattern and the process sweep center point two angle directions are set respectively It is set to the 3rd scanning pattern and the 4th scanning pattern,
    When being judged as being not present, according still further to the 3rd scanning pattern and the 4th scanning pattern to same described Area image is scanned again, and is obtained the 3rd of the value changes of expression black and white two on the 3rd scanning pattern respectively and become Change number and the 4th change frequency of the value changes of expression black and white two on the 4th scanning pattern,
    By the 3rd change frequency got, the 4th change frequency respectively with the number upper limit threshold, described time Number lower threshold is compared, and is judged whether any one in the 3rd change frequency and the 4th change frequency Individual another is less than the number upper limit threshold while be more than the number lower threshold, in the presence of being judged as, then exports One second has judged result,
    Judged result be present according to described second and the corresponding central point is set as the characteristic point.
  11. 11. decision method according to claim 9, it is characterised in that also have steps of:
    When the output amount of size determines result, the central area of predetermined ratio is set out in the characteristic point region, And the black pixel density value of the central area is calculated,
    The black pixel density value and predetermined density threshold value are compared, and judge whether the black pixel density value exceedes The predetermined density threshold value, when being judged as exceeding, one density of output determines result,
    Determined to determine result always according to the density while result according to the amount of size, described the barcode size or text field is carried out Judge.
CN201410334509.XA 2014-07-14 2014-07-14 Decision maker, file and picture management system and decision method Active CN105447426B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410334509.XA CN105447426B (en) 2014-07-14 2014-07-14 Decision maker, file and picture management system and decision method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410334509.XA CN105447426B (en) 2014-07-14 2014-07-14 Decision maker, file and picture management system and decision method

Publications (2)

Publication Number Publication Date
CN105447426A CN105447426A (en) 2016-03-30
CN105447426B true CN105447426B (en) 2018-02-02

Family

ID=55557588

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410334509.XA Active CN105447426B (en) 2014-07-14 2014-07-14 Decision maker, file and picture management system and decision method

Country Status (1)

Country Link
CN (1) CN105447426B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107704793A (en) * 2016-07-07 2018-02-16 立德高科(昆山)数码科技有限责任公司 According to the size of Quick Response Code with automatically adjust recognition area size method and device
CN108073849B (en) * 2016-11-18 2021-04-30 杭州海康威视数字技术股份有限公司 Bar code detection method, device and system
CN106529365B (en) * 2016-12-05 2019-09-06 广东工业大学 Automatic price machine
CN107958439B (en) * 2017-11-09 2021-04-27 北京小米移动软件有限公司 Image processing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1734471A (en) * 2004-08-10 2006-02-15 明基电通股份有限公司 Method and apparatus for estimating file inclination
CN101093547A (en) * 2007-05-18 2007-12-26 上海邮政科学研究院 Method for recognizing article by cooperating bar code based on height parameter with digit
CN101557454A (en) * 2008-04-09 2009-10-14 富士施乐株式会社 Image extracting apparatus, image extracting method and computer readable medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4598426B2 (en) * 2004-03-30 2010-12-15 富士通株式会社 Boundary extraction method, program, and apparatus using the same
JP4724802B1 (en) * 2010-07-30 2011-07-13 株式会社シフト 2D code reader and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1734471A (en) * 2004-08-10 2006-02-15 明基电通股份有限公司 Method and apparatus for estimating file inclination
CN101093547A (en) * 2007-05-18 2007-12-26 上海邮政科学研究院 Method for recognizing article by cooperating bar code based on height parameter with digit
CN101557454A (en) * 2008-04-09 2009-10-14 富士施乐株式会社 Image extracting apparatus, image extracting method and computer readable medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
特殊条形码的识读;史静;《计算机应用技术》;20111231;第20卷(第5期);第227-230页 *

Also Published As

Publication number Publication date
CN105447426A (en) 2016-03-30

Similar Documents

Publication Publication Date Title
CN105447426B (en) Decision maker, file and picture management system and decision method
CN109657665B (en) Invoice batch automatic identification system based on deep learning
CN101923644B (en) Image processing method, image processing apparatus and image forming apparatus
JP5044269B2 (en) Scanner-side heterogeneity correction method
FI79202C (en) BILDBEHANDLARE.
CN108549843A (en) A kind of VAT invoice recognition methods based on image procossing
CN111476109A (en) Bill processing method, bill processing apparatus, and computer-readable storage medium
JPS6236273B2 (en)
CN103198468B (en) Image processing apparatus, image processing method and image processing system
CN109948135B (en) Method and equipment for normalizing image based on form characteristics
CN106056028B (en) A kind of method and its device that quick scanning record is single
CN102801896A (en) Image processing apparatus, and image processing method
CN111161339B (en) Distance measuring method, device, equipment and computer readable medium
JP4338405B2 (en) Size measuring system and size measuring device
CN110349216A (en) Container method for detecting position and device
JP2023522360A (en) OCR-based document analysis system and method
CN108447198A (en) A kind of self-service cash method and self-service cash register
TW466873B (en) Method to determine the occurrence of line-dropping in the scanned image of scanner
CN105763759A (en) Intelligent copying device
CN105469362B (en) Image processing method and image processing apparatus
JP3494628B2 (en) Terminal device with dimension measurement function
JP4148845B2 (en) Data processing apparatus and program
CN103067643A (en) Image processing apparatus, image processing method, and image processing system
CN102706326A (en) Processing method of light beam method aerial triangulation file data
CN106412377A (en) Image processing apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant