CN108573477A - Eliminate method, system and the terminal device of image moire fringes - Google Patents
Eliminate method, system and the terminal device of image moire fringes Download PDFInfo
- Publication number
- CN108573477A CN108573477A CN201810210046.4A CN201810210046A CN108573477A CN 108573477 A CN108573477 A CN 108573477A CN 201810210046 A CN201810210046 A CN 201810210046A CN 108573477 A CN108573477 A CN 108573477A
- Authority
- CN
- China
- Prior art keywords
- resolution
- image
- optimal
- moire fringes
- banknote
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000004422 calculation algorithm Methods 0.000 claims description 35
- 238000004590 computer program Methods 0.000 claims description 19
- 230000001629 suppression Effects 0.000 claims 1
- 230000006870 function Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 5
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000005611 electricity Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 230000010485 coping Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000008030 elimination Effects 0.000 description 1
- 238000003379 elimination reaction Methods 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
Classifications
-
- G06T5/73—
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07D—HANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
- G07D7/00—Testing specially adapted to determine the identity or genuineness of valuable papers or for segregating those which are unacceptable, e.g. banknotes that are alien to a currency
- G07D7/20—Testing patterns thereon
- G07D7/2008—Testing patterns thereon using pre-processing, e.g. de-blurring, averaging, normalisation or rotation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30242—Counting objects in image
Abstract
The present invention is suitable for technical field of image processing, provides a kind of method for eliminating image moire fringes, including:Obtain optimal resolution and preset standard resolution;Wherein, the optimal resolution is to meet the image acquisition resolution of preset moire fringes rejection condition, and the standard resolution is image output resolution ratio;Banknote image is acquired using the optimal resolution;Interpolation arithmetic is carried out to the banknote image, is exported after the banknote image is converted to the standard resolution by the optimal resolution.The present invention can improve the quality of output banknote image, reduce influence of the moire fringes to output banknote image quality, improve the accuracy of follow-up paper money recognition.
Description
Technical field
The invention belongs to technical field of image processing more particularly to a kind of method, system and ends for eliminating image moire fringes
End equipment.
Background technology
Moire fringes are the High-frequency Interferences that the photosensitive element in the equipment such as digital camera or scanner occurs, and can make picture
There are colored high frequency fringes.Currently, the paper money recognition part in terminal device needs to be identified using unified resolution, because
This terminal device in the prior art is generally using the unification corresponding to the paper money recognition algorithm used with its paper money recognition part
Resolution acquisition banknote image, the unified resolution are generally 100*100DPI.However, according to banknote image acquisition resolution pair
Than finding, the moire fringes of the image collected data are more serious under the unified resolution, affect the essence of follow-up paper money recognition
Exactness.
Invention content
In view of this, the present invention provides a kind of method, system and terminal devices for eliminating image moire fringes, in solution
It states and uses and the collected banknote image data moire fringes of unified resolution corresponding to the paper money recognition algorithm in terminal device
It is more serious, the problem of affecting follow-up paper money recognition accuracy.
The first aspect of the present invention provides a kind of method for eliminating image moire fringes, including:
Obtain optimal resolution and preset standard resolution;Wherein, the optimal resolution is to meet preset mole
The image acquisition resolution of line rejection condition, the standard resolution are image output resolution ratio;
Banknote image is acquired using the optimal resolution;
Interpolation arithmetic is carried out to the banknote image, the banknote image is converted into the mark by the optimal resolution
It is exported after quasi- resolution ratio.
Based on the above technical solution, the acquisition optimal resolution includes:
Obtain a variety of image in different resolution of bank note;
Analyze the distortion level of a variety of image in different resolution;
The time of mathematical algorithm corresponding to the distortion level of a variety of image in different resolution and various image in different resolution
Complexity determines the optimal resolution.
Based on the above technical solution, the distortion level according to a variety of image in different resolution and various resolution ratio
The time complexity of mathematical algorithm corresponding to image determines that the optimal resolution includes:
Compare the size of the distortion level of a variety of image in different resolution;
The size of the time complexity of mathematical algorithm corresponding to more various image in different resolution;
Select distortion level small and image that the time complexity of mathematical algorithm is small corresponding to resolution ratio as most optimal sorting
Resolution.
Based on the above technical solution, described that interpolation arithmetic is carried out to the banknote image, by the banknote image
It is converted to export after the standard resolution by the optimal resolution and specifically include:
Bilinear interpolation operation is carried out to the banknote image, the banknote image is converted to by the optimal resolution
It is exported after the standard resolution.
Second aspect of the present invention provides a kind of system for eliminating image moire fringes, including:
Acquiring unit, for obtaining optimal resolution and preset standard resolution;Wherein, the optimal resolution is symbol
The image acquisition resolution of preset moire fringes rejection condition is closed, the standard resolution is image output resolution ratio;
Image acquisition units, for acquiring banknote image using the optimal resolution;
Interpolation operation unit, for carrying out interpolation arithmetic to the banknote image, by the banknote image by described optimal
Conversion of resolution be the standard resolution after export.
Based on the above technical solution, the acquiring unit specifically includes:
Camera unit, a variety of image in different resolution for obtaining bank note;
Analytic unit, the distortion level for analyzing a variety of image in different resolution;
Selecting unit, for the fortune corresponding to the distortion level of a variety of image in different resolution and various image in different resolution
The time complexity for calculating algorithm determines the optimal resolution.
Based on the above technical solution, the selecting unit includes:
Distortion level comparing unit, the size of the distortion level for a variety of image in different resolution;
Time complexity comparing unit, the time complexity for the mathematical algorithm corresponding to more various image in different resolution
Size;
Optimal resolution determination unit, the image institute for selecting distortion level small and the time complexity of mathematical algorithm is small
Corresponding resolution ratio is as optimal resolution.
Based on the above technical solution, the interpolation operation unit is specifically used for:
Bilinear interpolation operation is carried out to the banknote image, the banknote image is converted to by the optimal resolution
It is exported after the standard resolution.
Third aspect present invention provides a kind of terminal device, including memory, processor and is stored in the memory
In and the computer program that can run on the processor, which is characterized in that the processor executes the computer program
The step of any one of for example above-mentioned first aspects of Shi Shixian the method.
Fourth aspect present invention provides a kind of computer readable storage medium, and the computer-readable recording medium storage has
Computer program, which is characterized in that realized such as any one of above-mentioned first aspect institute when the computer program is executed by processor
The step of stating method.
The beneficial effects of the invention are as follows:
The present invention due to obtaining optimal resolution and preset standard resolution first;Wherein, the optimal resolution is
Meet the image acquisition resolution of preset moire fringes rejection condition, the standard resolution is image output resolution ratio;Then
Banknote image is acquired using the optimal resolution;Again to the banknote image carry out interpolation arithmetic, by the banknote image by
The optimal resolution exports after being converted to the standard resolution, so as to improve output banknote image quality, subtract
Influence of the small moire fringes to the banknote image quality of output, improves the accuracy of follow-up paper money recognition.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description be only the present invention some
Embodiment for those of ordinary skill in the art without having to pay creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the implementation process schematic diagram of the method provided in an embodiment of the present invention for eliminating image moire fringes;
Fig. 2 is the structural schematic diagram of the system provided in an embodiment of the present invention for eliminating image moire fringes;
Fig. 3 is the structural schematic diagram of terminal device provided in an embodiment of the present invention.
Specific implementation mode
In being described below, for illustration and not for limitation, it is proposed that such as tool of particular system structure, technology etc
Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention can also be realized in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Fig. 1 shows the implementation process of the method provided in an embodiment of the present invention for eliminating image moire fringes, reality shown in Fig. 1
It applies in example, the executive agent of flow is the terminal device in the present invention.Details are as follows for the implementation process of this method:
Step S101 obtains optimal resolution and preset standard resolution;Wherein, the optimal resolution is pre- to meet
If moire fringes rejection condition image acquisition resolution, the standard resolution be image output resolution ratio.Wherein, the figure
The image resolution ratio identified as corresponding to paper money recognition algorithm in output resolution ratio and terminal device.
Wherein, the preset moire fringes rejection condition refers to the bank note figure arrived using the resolution acquisition of condition limitation
The moire fringes light and heavy degree of picture is less than preset moire fringes light and heavy degree threshold value.
In the present embodiment, the acquisition optimal resolution specifically includes:
Obtain a variety of image in different resolution of bank note;
Analyze the distortion level of a variety of image in different resolution;
The time of mathematical algorithm corresponding to the distortion level of a variety of image in different resolution and various image in different resolution
Complexity determines the optimal resolution.
In the present embodiment, a variety of resolution images for obtaining bank note include obtaining terminal device epigraph sensor to adopt
The bank note of the different currency type face amounts collected, the image of the collected a variety of resolution ratio of difference.For example, implementing example one
In, a variety of resolution images may include that the collected resolution ratio of described image sensor is:200*200DPI、200*
The banknote image of 150DPI, 100*100DPI and 100*200DPI.
In the present embodiment, the distortion level of the banknote image arrived using different resolution acquisitions, i.e., moire fringes is light
Weight degree can be different.For example, in a specific implementation example, is compared and found according to bank note acquisition resolution, using 100*
The moire fringes of the banknote image of 100DPI resolution acquisitions are serious, adopted using 200*150DPI resolution ratio and 100*200 resolution ratio
The moire fringes of the banknote image of collection disappear.
In the present embodiment, the distortion journey of banknote image is determined by analyzing the light and heavy degree of moire fringes in banknote image
Degree.Wherein, the distortion level of banknote image and the light and heavy degree of moire fringes are directly proportional, and distortion level is bigger, and moire fringes are heavier.
In the present embodiment, described according to corresponding to the distortion level of a variety of image in different resolution and various image in different resolution
The time complexity of mathematical algorithm determine that the optimal resolution includes:
Compare the size of the distortion level of a variety of image in different resolution;
The size of the time complexity of mathematical algorithm corresponding to more various image in different resolution;
Select distortion level small and image that the time complexity of mathematical algorithm is small corresponding to resolution ratio as most optimal sorting
Resolution.
Wherein, the mathematical algorithm specifically refers to be converted to image by current resolution the operation calculation of standard resolution
Method.The time complexity of the mathematical algorithm refers to the execution time of the mathematical algorithm, i.e., every language in the described mathematical algorithm
The execution temporal summation of sentence.In the present embodiment, the figure for selecting distortion level small and the time complexity of mathematical algorithm is small
As corresponding resolution ratio is specifically included as optimal resolution:
At least one image in different resolution that distortion level is less than predetermined threshold value is chosen from a variety of image in different resolution;
Then in the resolution ratio of the time complexity minimum of Selecting operation algorithm from least one image in different resolution
Image, using the resolution ratio of the image in different resolution as optimal resolution.
For example, in one embodiment, the distortion level of the image of 200*150 resolution ratio and 100*200 resolution ratio is equal
It is smaller by assessing the time complexity of the corresponding mathematical algorithm of image of 100*200 resolution ratio less than predetermined threshold value, then selecting
100*200 resolution ratio is selected as optimal resolution.
Step S102 acquires banknote image using the optimal resolution.
In the present embodiment, bank note figure is acquired as image acquisition resolution using the above-mentioned optimal resolution selected
Picture can ensure that the moire fringes of collected banknote image are minimum in this way, and can reduce subsequent arithmetic algorithm and realize image resolution
The operation time of rate conversion.
Step S103 carries out interpolation arithmetic to the banknote image, and the banknote image is turned by the optimal resolution
It is exported after being changed to the standard resolution.
In the present embodiment, step S103 is specifically included:
Bilinear interpolation operation is carried out to the banknote image, the banknote image is converted to by the optimal resolution
It is exported after the standard resolution.
In the present embodiment, the bilinear interpolation operation function that itself storage is extracted by terminal device, using the two-wire
Property interpolation arithmetic function pair described in banknote image carry out bilinear interpolation operation, by the banknote image by the optimal resolution
Rate exports after being converted to the standard resolution.Preferably, in a specific implementation example, the optimal resolution is 100*
200DPI, the standard resolution is 100*100DPI, when banknote image is converted to standard resolution from optimal resolution,
Only banknote image need to longitudinally be reduced twice.
By in this present embodiment, being to acquire banknote image using optimal resolution, subsequently by interpolation arithmetic by bank note
Image is converted to standard resolution by optimal resolution, to facilitate follow-up money-checking algorithm that bank note is identified, can subtract in this way
The moire fringes generated when few banknote image acquisition improve final output to the quality of the banknote image in money-checking portion.
It should be noted that above-mentioned bilinear interpolation operation mode is only the preferable implementation example that the present invention enumerates,
It is not intended to restrict the invention, in other implementation examples, other image interpolation arithmetic methods can also be used, such as:It is adjacent
Nearly interpolation algorithm, cube sum algorithm etc. are within the scope of the present invention.
Above as can be seen that the method provided in this embodiment for eliminating image moire fringes due to obtaining optimal resolution first
With preset standard resolution;Wherein, the optimal resolution is to meet the Image Acquisition point of preset moire fringes rejection condition
Resolution, the standard resolution are image output resolution ratio;Then banknote image is acquired using the optimal resolution;Again to institute
It states banknote image and carries out interpolation arithmetic, the banknote image is converted to by the optimal resolution defeated after the standard resolution
Go out, so as to improve output banknote image quality, reduce influence of the moire fringes to the banknote image quality of output, improve
The accuracy of follow-up paper money recognition.
Fig. 2 is the structural schematic diagram provided in an embodiment of the present invention for eliminating image moire fringes system.For convenience of description only
Only the parts related to this embodiment are shown.
Shown in Figure 2, elimination image moire fringes system provided in this embodiment includes:
Acquiring unit 21, for obtaining optimal resolution and preset standard resolution;Wherein, the optimal resolution is
Meet the image acquisition resolution of preset moire fringes rejection condition, the standard resolution is image output resolution ratio;
Image acquisition units 22, for acquiring banknote image using the optimal resolution;
Interpolation operation unit 23, for the banknote image carry out interpolation arithmetic, by the banknote image by it is described most
Optimal sorting resolution exports after being converted to the standard resolution.
Optionally, the acquiring unit 21 specifically includes:
Camera unit 211, a variety of image in different resolution for obtaining bank note;
Analytic unit 212, the distortion level for analyzing a variety of image in different resolution;
Selecting unit 213, for according to corresponding to the distortion level of a variety of image in different resolution and various image in different resolution
The time complexity of mathematical algorithm determine the optimal resolution.
Optionally, the selecting unit 213 includes:
Distortion level comparing unit 2131, the size of the distortion level for a variety of image in different resolution;
Time complexity comparing unit 2132, the time for the mathematical algorithm corresponding to more various image in different resolution are multiple
The size of miscellaneous degree;
Optimal resolution determination unit 2133, the figure for selecting distortion level small and the time complexity of mathematical algorithm is small
As corresponding resolution ratio is as optimal resolution.
Optionally, the interpolation operation unit 23 is specifically used for:
Bilinear interpolation operation is carried out to the banknote image, the banknote image is converted to by the optimal resolution
It is exported after the standard resolution.
It should be noted that each unit of above system provided in an embodiment of the present invention, due to real with the method for the present invention
It applies example and is based on same design, the technique effect brought is identical as the method for the present invention embodiment, and particular content can be found in the present invention
Narration in embodiment of the method, details are not described herein again.
Above as can be seen that the system provided in this embodiment for eliminating image moire fringes also due to obtain most optimal sorting first
Resolution and preset standard resolution;Wherein, the optimal resolution is to meet the image of preset moire fringes rejection condition to adopt
Collect resolution ratio, the standard resolution is image output resolution ratio;Then banknote image is acquired using the optimal resolution;Again
Interpolation arithmetic is carried out to the banknote image, the banknote image is converted into the standard resolution by the optimal resolution
After export, so as to improve output banknote image quality, reduce influence of the moire fringes to the banknote image quality of output,
Improve the accuracy of follow-up paper money recognition.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit
It is fixed.
Fig. 3 is the schematic diagram of terminal device provided in an embodiment of the present invention.As shown in figure 3, the device of the embodiment includes:
Processor 30, memory 31 and it is stored in the computer program that can be run in the memory 31 and on the processor 30
32.The processor 30 realizes the step in above-mentioned each embodiment of the method, such as Fig. 1 institutes when executing the computer program 32
The step S101 to S103 shown.Alternatively, the processor 30 realizes that above-mentioned each device is implemented when executing the computer program 32
Example in each unit function, such as module 21 to 23 shown in Fig. 2 function.
Illustratively, the computer program 32 can be divided into one or more units, one or more of
Unit is stored in the memory 31, and is executed by the processor 30, to complete the present invention.One or more of lists
Member can complete the series of computation machine program instruction section of specific function, and the instruction segment is for describing the computer journey
The implementation procedure of sequence 32 in said device.For example, the computer program 32 can be divided into acquiring unit 21, image is adopted
Collect unit 22 and interpolation operation unit 23, each unit concrete function are as follows:
Acquiring unit 21, for obtaining optimal resolution and preset standard resolution;Wherein, the optimal resolution is
Meet the image acquisition resolution of preset moire fringes rejection condition, the standard resolution is image output resolution ratio;
Image acquisition units 22, for acquiring banknote image using the optimal resolution;
Interpolation operation unit 23, for the banknote image carry out interpolation arithmetic, by the banknote image by it is described most
Optimal sorting resolution exports after being converted to the standard resolution.
The terminal device 3 can be self-service financial terminal, money-checking equipment, desktop PC, notebook and palm electricity
The computing devices such as brain.The terminal device 3 may include, but be not limited only to, processor 30, memory 31.Those skilled in the art
It is appreciated that Fig. 3 is only the example of device, the restriction to terminal device 3 is not constituted, may include more or more than illustrating
Few component, either combines certain components or different components, for example, the terminal can also include input-output equipment,
Network access equipment, bus etc..
Alleged processor 30 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng.
The memory 31 can be the internal storage unit of described device, such as the hard disk or memory of device.It is described to deposit
Reservoir 31 can also be the External memory equipment of described device, such as the plug-in type hard disk being equipped in described device, intelligent storage
Block (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..
Further, the memory 31 can also both include described device internal storage unit and also including External memory equipment.Institute
Memory 31 is stated for storing other programs and data needed for the computer program and the terminal.The memory 31
It can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work(
Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device are divided into different functional units or module, more than completion
The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used
It, can also be above-mentioned integrated during two or more units are integrated in one unit to be that each unit physically exists alone
The form that hardware had both may be used in unit is realized, can also be realized in the form of SFU software functional unit.In addition, each function list
Member, the specific name of module are also only to facilitate mutually distinguish, the protection domain being not intended to limit this application.Above system
The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, depends on the specific application and design constraint of technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be with
It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute
The division of module or unit is stated, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as
Multiple units or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately
A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be by some interfaces, device
Or INDIRECT COUPLING or the communication connection of unit, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can be stored in a computer read/write memory medium.Based on this understanding, the present invention realizes above-described embodiment side
All or part of flow in method can also instruct relevant hardware to complete, the computer by computer program
Program can be stored in a computer readable storage medium, and the computer program is when being executed by processor, it can be achieved that above-mentioned each
The step of a embodiment of the method..Wherein, the computer program includes computer program code, the computer program code
Can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium can
To include:Can carry the computer program code any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disc,
CD, computer storage, read-only memory (Read-Only Memory, ROM), random access memory (Random
Access Memory, RAM), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the meter
The content that calculation machine readable medium includes can carry out increase and decrease appropriate according to legislation in jurisdiction and the requirement of patent practice,
Such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium is including being not electric carrier signal and electricity
Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to aforementioned reality
Applying example, invention is explained in detail, it will be understood by those of ordinary skill in the art that:It still can be to aforementioned each
Technical solution recorded in embodiment is modified or equivalent replacement of some of the technical features;And these are changed
Or replace, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (10)
1. a kind of method for eliminating image moire fringes, which is characterized in that including:
Obtain optimal resolution and preset standard resolution;Wherein, the optimal resolution is to meet preset moire fringes suppression
The image acquisition resolution of condition processed, the standard resolution are image output resolution ratio;
Banknote image is acquired using the optimal resolution;
Interpolation arithmetic is carried out to the banknote image, the banknote image is converted into the standard scores by the optimal resolution
It is exported after resolution.
2. the method for eliminating image moire fringes as described in claim 1, which is characterized in that the acquisition optimal resolution packet
It includes:
Obtain a variety of image in different resolution of bank note;
Analyze the distortion level of a variety of image in different resolution;
The time of mathematical algorithm corresponding to the distortion level of a variety of image in different resolution and various image in different resolution is complicated
Degree determines the optimal resolution.
3. the method for eliminating image moire fringes as claimed in claim 2, which is characterized in that described according to a variety of image in different resolution
Distortion level and various image in different resolution corresponding to the time complexity of mathematical algorithm determine the optimal resolution packet
It includes:
Compare the size of the distortion level of a variety of image in different resolution;
The size of the time complexity of mathematical algorithm corresponding to more various image in different resolution;
Select distortion level small and image that the time complexity of mathematical algorithm is small corresponding to resolution ratio as optimal resolution.
4. the method for eliminating image moire fringes as described in claim 1, which is characterized in that described to be carried out to the banknote image
Interpolation arithmetic, the banknote image is converted to export after the standard resolution by the optimal resolution specifically includes:
Bilinear interpolation operation is carried out to the banknote image, the banknote image is converted to by the optimal resolution described
It is exported after standard resolution.
5. a kind of system for eliminating image moire fringes, which is characterized in that including:
Acquiring unit, for obtaining optimal resolution and preset standard resolution;Wherein, the optimal resolution is pre- to meet
If moire fringes rejection condition image acquisition resolution, the standard resolution be image output resolution ratio;
Image acquisition units, for acquiring banknote image using the optimal resolution;
Interpolation operation unit, for carrying out interpolation arithmetic to the banknote image, by the banknote image by the optimal resolution
Rate exports after being converted to the standard resolution.
6. the system for eliminating image moire fringes as claimed in claim 5, which is characterized in that the acquiring unit specifically includes:
Camera unit, a variety of image in different resolution for obtaining bank note;
Analytic unit, the distortion level for analyzing a variety of image in different resolution;
Selecting unit is calculated for the operation corresponding to the distortion level of a variety of image in different resolution and various image in different resolution
The time complexity of method determines the optimal resolution.
7. the system for eliminating image moire fringes as claimed in claim 6, which is characterized in that the selecting unit includes:
Distortion level comparing unit, the size of the distortion level for a variety of image in different resolution;
Time complexity comparing unit is used for the big of the time complexity of the mathematical algorithm corresponding to more various image in different resolution
It is small;
Optimal resolution determination unit, for select distortion level small and image that the time complexity of mathematical algorithm is small corresponding to
Resolution ratio as optimal resolution.
8. the system for eliminating image moire fringes as claimed in claim 6, which is characterized in that the interpolation operation unit is specifically used
In:
Bilinear interpolation operation is carried out to the banknote image, the banknote image is converted to by the optimal resolution described
It is exported after standard resolution.
9. a kind of terminal device, including memory, processor and it is stored in the memory and can be on the processor
The computer program of operation, which is characterized in that the processor realizes such as Claims 1-4 when executing the computer program
The step of any one the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, feature to exist
In when the computer program is executed by processor the step of any one of such as Claims 1-4 of realization the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810210046.4A CN108573477A (en) | 2018-03-14 | 2018-03-14 | Eliminate method, system and the terminal device of image moire fringes |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810210046.4A CN108573477A (en) | 2018-03-14 | 2018-03-14 | Eliminate method, system and the terminal device of image moire fringes |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108573477A true CN108573477A (en) | 2018-09-25 |
Family
ID=63574465
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810210046.4A Pending CN108573477A (en) | 2018-03-14 | 2018-03-14 | Eliminate method, system and the terminal device of image moire fringes |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108573477A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111586298A (en) * | 2020-05-09 | 2020-08-25 | 北京华严互娱科技有限公司 | Real-time moire removing method based on multi-scale network and dynamic feature coding |
CN112399223A (en) * | 2019-08-18 | 2021-02-23 | 海信视像科技股份有限公司 | Method for improving moire fringe phenomenon and display device |
CN112700482A (en) * | 2019-10-23 | 2021-04-23 | 深圳市优必选科技股份有限公司 | Camera depth resolution determination method and device, storage medium and intelligent device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5969757A (en) * | 1995-07-05 | 1999-10-19 | Sharp Kabushiki Kaisha | Imaging apparatus and method having enhanced moire reduction |
JP2007195108A (en) * | 2006-01-23 | 2007-08-02 | Kyodo Printing Co Ltd | Method and device for eliminating reduced moire, and printed matter |
CN102291516A (en) * | 2010-06-18 | 2011-12-21 | 华晶科技股份有限公司 | Image resolution regulation method |
CN105744358A (en) * | 2016-03-18 | 2016-07-06 | 青岛海信电器股份有限公司 | Video play processing method and device |
CN107730707A (en) * | 2017-09-28 | 2018-02-23 | 深圳怡化电脑股份有限公司 | A kind of false distinguishing method and device of valuable document |
-
2018
- 2018-03-14 CN CN201810210046.4A patent/CN108573477A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5969757A (en) * | 1995-07-05 | 1999-10-19 | Sharp Kabushiki Kaisha | Imaging apparatus and method having enhanced moire reduction |
JP2007195108A (en) * | 2006-01-23 | 2007-08-02 | Kyodo Printing Co Ltd | Method and device for eliminating reduced moire, and printed matter |
CN102291516A (en) * | 2010-06-18 | 2011-12-21 | 华晶科技股份有限公司 | Image resolution regulation method |
CN105744358A (en) * | 2016-03-18 | 2016-07-06 | 青岛海信电器股份有限公司 | Video play processing method and device |
CN107730707A (en) * | 2017-09-28 | 2018-02-23 | 深圳怡化电脑股份有限公司 | A kind of false distinguishing method and device of valuable document |
Non-Patent Citations (1)
Title |
---|
汤姆·安: "《数码摄影专业教程》", 30 November 2008 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112399223A (en) * | 2019-08-18 | 2021-02-23 | 海信视像科技股份有限公司 | Method for improving moire fringe phenomenon and display device |
CN112399223B (en) * | 2019-08-18 | 2022-11-29 | 海信视像科技股份有限公司 | Method for improving moire fringe phenomenon and display device |
CN112700482A (en) * | 2019-10-23 | 2021-04-23 | 深圳市优必选科技股份有限公司 | Camera depth resolution determination method and device, storage medium and intelligent device |
CN112700482B (en) * | 2019-10-23 | 2023-12-29 | 深圳市优必选科技股份有限公司 | Camera depth resolution determination method and device, storage medium and intelligent equipment |
CN111586298A (en) * | 2020-05-09 | 2020-08-25 | 北京华严互娱科技有限公司 | Real-time moire removing method based on multi-scale network and dynamic feature coding |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108230321A (en) | Defect inspection method and device | |
CN108875486A (en) | Recongnition of objects method, apparatus, system and computer-readable medium | |
CN109272016B (en) | Target detection method, device, terminal equipment and computer readable storage medium | |
CN108154105A (en) | Aquatic organism detects and recognition methods, device, server and terminal device | |
CN107506754A (en) | Iris identification method, device and terminal device | |
CN108573477A (en) | Eliminate method, system and the terminal device of image moire fringes | |
CN108229419A (en) | For clustering the method and apparatus of image | |
CN108734850A (en) | Paper Currency Identification, paper money identifier and terminal device | |
CN109919160A (en) | Method for recognizing verification code, device, terminal and storage medium | |
CN114998695B (en) | Method and system for improving image recognition speed | |
CN110070115A (en) | A kind of single pixel attack sample generating method, device, equipment and storage medium | |
CN110046622A (en) | A kind of attack sample generating method, device, equipment and storage medium having target | |
CN109831665A (en) | A kind of video quality detecting method, system and terminal device | |
CN109785246A (en) | A kind of noise-reduction method of non-local mean filtering, device and equipment | |
CN109492640A (en) | Licence plate recognition method, device and computer readable storage medium | |
CN110634223A (en) | Bill verification method and device | |
CN107316373A (en) | A kind of Paper Currency Identification, device, terminal device and readable storage medium storing program for executing | |
CN109784394A (en) | A kind of recognition methods, system and the terminal device of reproduction image | |
CN107578526A (en) | A kind of Paper Currency Identification, device, terminal device and readable storage medium storing program for executing | |
CN114943649A (en) | Image deblurring method, device and computer readable storage medium | |
CN113888278A (en) | Data analysis method and device based on enterprise credit line analysis model | |
CN107730707A (en) | A kind of false distinguishing method and device of valuable document | |
CN111353577B (en) | Multi-task-based cascade combination model optimization method and device and terminal equipment | |
CN111368837B (en) | Image quality evaluation method and device, electronic equipment and storage medium | |
CN109801428A (en) | Detection method, detection device and the terminal of bank note edge line |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180925 |