A method for removing small area noises in a binary image based on a stack theory

A binary image, small-area technology, applied in image enhancement, image data processing, instruments, etc., to achieve short running time, low complexity, and good denoising effect

Inactive Publication Date: 2014-03-19
DALIAN OCEAN UNIV
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, so far, there is no relevant report on the removal

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method for removing small area noises in a binary image based on a stack theory
  • A method for removing small area noises in a binary image based on a stack theory
  • A method for removing small area noises in a binary image based on a stack theory

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0019] Based on stack theory to remove such as figure 1 For the method of small area noise in the binary image shown, set the threshold to 5000, and proceed as follows:

[0020] a. When the stack is empty, sequentially scan each pixel in the binary image that is not stacked;

[0021] b. If the current pixel is black, push the current pixel to the stack and mark that the pixel is already on the stack;

[0022] c. The stack is not empty at this time, the top of the stack is popped out and the area of ​​the connected area is incrementally recorded, and at the same time, eight points around the marked pixels are scanned sequentially;

[0023] d. Cycle steps b and c, scan the entire connected area, determine whether the connected area is less than the set threshold, if yes, remove the connected area; if not, keep it.

[0024] Repeat steps a~d until the entire binary image is scanned once to remove all noise.

[0025] Because the number of pixels in the small noise area (generally the number o...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for removing small area noises in a binary image based on a stack theory, and the method can reduce operation complexity, decrease operation time and has relatively high robustness. The method comprises the following steps: a, when a stack is empty, each pixel which does not enter the stack in the binary image is scanned sequentially; b, if a present pixel is black, the present pixel is put into the stack and it is marked that the pixel which is already put into the stack; c, in the moment, the stack is not empty; a stack top is enabled to be out of the stack and areas of communicated regions are recorded in a progressive increasing mode, and eight points around the pixel which is marked to be in the stack are sequentially scanned; d, the step b and the step c are cycled to complete scanning of the whole communicated region; whether the communicated region is smaller than a set threshold is determined; if the communicated region is smaller than the set threshold, the communicated region is removed; and if the communicated region is not smaller than the set threshold, the communicated region is saved.

Description

technical field [0001] The invention relates to a method for removing small-area noise in a binary image, in particular to a method for removing small-area noise in a binary image based on stack theory, which can reduce running complexity, reduce running time, and has better robustness. Background technique [0002] At present, for the method of removing small-area noise in binary images, the threshold area method described by Professor Yang Shuying in the course "VC++ Image Processing Programming" can be adopted and can achieve rational results. All the connected regions in the algorithm are numbered separately and the area of ​​each region is counted at the same time, and then the regions whose area is smaller than the threshold are divided and eliminated multiple times according to the label. Although the denoising effect of this method is good, the complexity is high (for an image with a size of 256×256, the complexity is equal to the number of scans multiplied by 256 2...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06T5/00
Inventor 郭显久耿春云
Owner DALIAN OCEAN UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products