Movatterモバイル変換


[0]ホーム

URL:


CN109559316A - A kind of improved graph theory dividing method based on super-pixel - Google Patents

A kind of improved graph theory dividing method based on super-pixel
Download PDF

Info

Publication number
CN109559316A
CN109559316ACN201811171824.XACN201811171824ACN109559316ACN 109559316 ACN109559316 ACN 109559316ACN 201811171824 ACN201811171824 ACN 201811171824ACN 109559316 ACN109559316 ACN 109559316A
Authority
CN
China
Prior art keywords
pixel
super
distance
cluster
pixel block
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
Application number
CN201811171824.XA
Other languages
Chinese (zh)
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.)
Zhejiang University of Technology ZJUT
Original Assignee
Zhejiang University of Technology ZJUT
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 Zhejiang University of Technology ZJUTfiledCriticalZhejiang University of Technology ZJUT
Priority to CN201811171824.XApriorityCriticalpatent/CN109559316A/en
Publication of CN109559316ApublicationCriticalpatent/CN109559316A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

A kind of improved graph theory dividing method based on super-pixel, comprising the following steps: 1) super-pixel pre-processes;2) enhancement is handled;3) model training and figure building;4) segmentation result is obtained.While present invention time needed for greatly reducing program operation, the segmentation precision on most of image can also be guaranteed.

Description

A kind of improved graph theory dividing method based on super-pixel
Technical field
The invention belongs to image Segmentation Technology neighborhoods, are related to a kind of graph theory dividing method based on super-pixel.
Background technique
GrabCut method is to be handled on the basis of pixel in structure figures, there are apparent splitting speed is slow,The disadvantage of complex scene segmentation effect difference.Compact super-pixel block is obtained by carrying out super-pixel segmentation to image, these are surpassedBlock of pixels constitutes graph model as node, and this method can greatly reduce the quantity of node, reduce the complexity of figure, improvesThe segmentation efficiency of GrabCut.
Super-pixel method can extract middle layer characteristics of image, and this algorithm, which is extracted, perceives significant region in image,Usually as the pre-treatment step of partitioning algorithm, it can be used to replace the pixel grid of rigid structure.Picture is replaced using super-pixelElement is operated, and can accelerate the existing GrabCut algorithm based on pixel grid, or even improve the effect for improving some segmentationsFruit.
Super-pixel method is broadly divided into two classes: the method based on graph theory and the method based on gradient decline.Super-pixel isReferring to has this special adjacent irregular block of pixels for having certain visual meaningaaa being similarly constructed such as similar grain, color, its benefitWith the pixel between pixel, all pixels are grouped, are then substituted with a small amount of block of pixels and super-pixel a large amount ofPixel express the feature of picture, largely reduce the complexity of image procossing, so partitioning algorithm would generally be used asPre-treatment step.
Existing technological deficiency are as follows: the complexity height and segmentation low efficiency of image procossing.
Summary of the invention
Complexity in order to overcome the shortcomings of the image procossing of existing graph theory dividing method is high, segmentation low efficiency, the present inventionIn order to reduce the complexity of image procossing, the speed of service is improved, segmentation efficiency is improved, is provided a kind of improved based on super-pixelGraph theory dividing method.
The technical solution adopted by the present invention to solve the technical problems is:
A kind of improved graph theory dividing method based on super-pixel, includes the following steps:
1) simple linear iteraction cluster (SLIC) is chosen in super-pixel pretreatment, and the process of template matching passes through in original imageSleiding form real-time perfoming matches i.e. on input picture;
2) enhancement is handled
Processing, amalgamation result are merged to the fragmentary region being previously mentioned in step 1);Create a label table, member in tableElement is -1, moves towards (from left to right, sequence from top to bottom) for discontinuous super-pixel, undersized super-pixel according to " Z " typeIt is reassigned to neighbouring super-pixel, traversed pixel distributes to corresponding label, until all the points traversal finishes;
3) model training and figure building
Cutting object topography is chosen, the distribution of foreground and background is calculated using corresponding local message
4) segmentation result is obtained
Graph model is established according to conventional images, the solution of energy-minimum is carried out using max-flow/minimal cut algorithm, is obtainedFinal image segmentation result, process are as follows:
4.1) figure building is first carried out, using the above-mentioned local message that acquires come structure figures, the central point of super-pixel block has oneselfSpatial position value, calculate the distance between super-pixel block and super-pixel block by xy coordinate, calculation formula is as follows.
Wherein, (x1,y1) and (x2,y2) be respectively any two super-pixel block centre coordinate.(x1,y1).With (x2,y2)It is the centre coordinate of any two super-pixel block respectively.
Then the assignment of n-links is carried out whereby, and in addition to this assignment of t-links is still counted using data distributionIt calculates;
4.2) minimum value of energy function is solved using max-flow/minimal cut;The target circle expression of acquisition just realizesThe tracking of target.
Further, in the step 1), it is assumed that a total of N number of pixel of picture, pre-segmentation are K super-pixel, are matchedJourney is as follows:
1.1) cluster centre is initialized, the size of super-pixel is N/K, then the distance of neighboring seeds point is approximately
1.2) seed point is reselected in the n*n neighborhood of existing seed point;
1.3) to be that each pixel distributes class label in the neighborhood around each seed point;
1.4) distance metric calculates:
Wherein, dc represents color distance, and ds represents space length, and Ns is maximum space distance in class, is defined as, is suitable forEach cluster;Maximum color distance Nc was both different and different with picture, also different and different with cluster, so taking a fixationConstant m is replaced, and value range [Isosorbide-5-Nitrae 0] generally takes 10, final distance metric is as follows:
Since each pixel can be searched by multiple seed points, so each pixel can have one and surrounding kindThe distance of son point, is minimized cluster centre of the corresponding seed point as the pixel;
1.5) the step of repeating (1.2)~(1.4) is less than some minimum until error convergence, i.e. error amount, and pole has canEnergy central point remains unchanged;There is a large amount of scrappy super-pixel block in figure at this time, causes intermediate super-pixel block not compact enough.
Technical concept of the invention are as follows: the reason of selecting using the super-pixel method of SLIC in conjunction with GrabCut is:GrabCut method is handled on the basis of pixel in structure figures, if block of pixels seems rambling, meetingSo that the pixel of pixel adjoining increases, so that differing too big between block of pixels and block of pixels.And use SLIC methodMeeting is so that gap is little between block of pixels, and more easily determines adjacent pixels, while in addition this method is without increasing shape aboutBeam, so that method realization is relatively simple.
This method proposes that method is improved aiming at the problem that complexity height and segmentation low efficiency of GrabCut image procossing.It is firstFirst super-pixel pretreatment, then enhancement processing, then choose and retain the local message of cutting object, then can by xy coordinateThe assignment of n-links is carried out to calculate the distance between super-pixel block and super-pixel block.It is asked using max-flow/minimal cut tEnergy function minimum value is obtained to obtain segmentation result.
Beneficial effects of the present invention are mainly manifested in: 1, the number for carrying out the node in super-pixel treated image is obviousIt reduces, lowers the complexity of figure;2, GrabCut image segmentation algorithm efficiency is improved.
Detailed description of the invention
Fig. 1 is the flow chart of the improved graph theory dividing method based on super-pixel.
Fig. 2 is the detailed process of the segmentation application of natural image and the schematic diagram of operation, wherein (a) is extracted superBlock of pixels, (b) is amalgamation result, (c) carries out model training for selected section cutting object, (d) is to carry out figure structure after trainingIt builds, i.e. n-links, (e) is the profile diagram of image segmentation result, (f) be the binary map of image segmentation result.
Specific embodiment
The invention will be further described below in conjunction with the accompanying drawings.
Referring to Figures 1 and 2, a kind of improved graph theory dividing method based on super-pixel, includes the following steps:
1) super-pixel pre-processes: choosing simple linear iteraction cluster (SLIC)
The process of template matching by original image, that is, input picture sleiding form real-time perfoming match, it is assumed that picture is totalN number of pixel is shared, pre-segmentation is K super-pixel, and process is as follows:
1.1) cluster centre is initialized, the size of super-pixel is N/K, then the distance of neighboring seeds point is approximately
1.2) seed point is reselected in the n*n neighborhood of existing seed point;
1.3) to be that each pixel distributes class label in the neighborhood around each seed point;
1.4) distance metric calculates:
Wherein, dc represents color distance, and ds represents space length, and Ns is maximum space distance in class, is defined as, is suitable forEach cluster;Maximum color distance Nc was both different and different with picture, also different and different with cluster, so taking a fixationConstant m (value range [Isosorbide-5-Nitrae 0] generally takes and 10) replaces, and final distance metric is as follows:
Since each pixel can be searched by multiple seed points, so each pixel can have one and surrounding kindThe distance of son point, is minimized cluster centre of the corresponding seed point as the pixel;
1.5) repeat (1.2)~(1.4) the step of until error convergence (error amount be less than some minimum, it is most likely thatCentral point remains unchanged);Shown in extracted super-pixel block such as Fig. 2 (a), there is a large amount of scrappy super-pixel in figure at this timeBlock causes intermediate super-pixel block not compact enough;
2) enhancement is handled
Processing is merged to the fragmentary region being previously mentioned in step 1).A label table is created, table interior element is -1,Discontinuous super-pixel, undersized super-pixel are reassigned to according to " Z " type trend (from left to right, sequence from top to bottom)Neighbouring super-pixel, traversed pixel distribute to corresponding label, until all the points traversal finishes.Amalgamation result is such asShown in Fig. 2 (b), super-pixel pre-processed results at this time are compact, belong to ideal segmentation result;
3) model training and figure building
Selected section cutting object carries out model training and carries out figure building, n-links after training as shown in Fig. 2 (c)As shown in Fig. 2 (d);
4) segmentation result is obtained
Graph model is established according to conventional images, the solution of energy-minimum is carried out using max-flow/minimal cut algorithm, is obtainedShown in final image segmentation result such as Fig. 2 (e) (f), wherein Fig. 2 (e) is the profile diagram of image segmentation result, and 2 (f) be imageThe binary map of segmentation result, process are as follows:
4.1) figure building is first carried out, using the above-mentioned local message that acquires come structure figures.The central point of super-pixel block has oneselfSpatial position value, the distance between super-pixel block and super-pixel block, the following institute of calculation formula can be calculated by xy coordinateShow:
Wherein, (x1,y1) and (x2,y2) be respectively any two super-pixel block centre coordinate.(x1,y1) and (x2,y2) pointIt is not the centre coordinate of any two super-pixel block.
Then the assignment of n-links is carried out whereby, and in addition to this assignment of t-links is still counted using data distributionIt calculates;
4.2) minimum value of energy function is solved using max-flow/minimal cut;The target circle expression of acquisition just realizesThe tracking of target.

Claims (2)

CN201811171824.XA2018-10-092018-10-09A kind of improved graph theory dividing method based on super-pixelPendingCN109559316A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201811171824.XACN109559316A (en)2018-10-092018-10-09A kind of improved graph theory dividing method based on super-pixel

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201811171824.XACN109559316A (en)2018-10-092018-10-09A kind of improved graph theory dividing method based on super-pixel

Publications (1)

Publication NumberPublication Date
CN109559316Atrue CN109559316A (en)2019-04-02

Family

ID=65864864

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201811171824.XAPendingCN109559316A (en)2018-10-092018-10-09A kind of improved graph theory dividing method based on super-pixel

Country Status (1)

CountryLink
CN (1)CN109559316A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110827311A (en)*2019-11-052020-02-21中铁十一局集团电务工程有限公司Cable conductor sectional area measuring method and system based on imaging method
CN110910417A (en)*2019-10-292020-03-24西北工业大学Weak and small moving target detection method based on super-pixel adjacent frame feature comparison
CN112748700A (en)*2020-12-182021-05-04深圳市显控科技股份有限公司Numerical control code generation method and device, electronic equipment and storage medium
CN113242417A (en)*2021-05-102021-08-10中国人民解放军海军航空大学Method for correcting standard deviation weighted color cast digital image
CN113781402A (en)*2021-08-192021-12-10中国电子产品可靠性与环境试验研究所((工业和信息化部电子第五研究所)(中国赛宝实验室)) Chip surface scratch defect detection method, device and computer equipment
CN115188035A (en)*2022-06-202022-10-14华南理工大学 Finger vein feature fusion method based on cascaded superpixel segmentation

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103761736A (en)*2014-01-142014-04-30宁波大学Image segmentation method based on Bayes harmonious degree
WO2017004889A1 (en)*2015-07-082017-01-12北京大学深圳研究生院Jnd factor-based super-pixel gaussian filter pre-processing method
CN106952271A (en)*2017-03-082017-07-14西北工业大学 An Image Segmentation Method Based on Superpixel Segmentation and EM/MPM Processing
CN106981068A (en)*2017-04-052017-07-25重庆理工大学A kind of interactive image segmentation method of joint pixel pait and super-pixel
CN107564010A (en)*2017-09-112018-01-09新疆大学A kind of Grabcut color image segmentation methods of combination Bayes's classification and SLIC
CN107610126A (en)*2017-08-312018-01-19浙江工业大学A kind of interactive image segmentation method based on local prior distribution
US20180204088A1 (en)*2017-01-132018-07-19Beihang UniversityMethod for salient object segmentation of image by aggregating multi-linear exemplar regressors

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103761736A (en)*2014-01-142014-04-30宁波大学Image segmentation method based on Bayes harmonious degree
WO2017004889A1 (en)*2015-07-082017-01-12北京大学深圳研究生院Jnd factor-based super-pixel gaussian filter pre-processing method
US20180204088A1 (en)*2017-01-132018-07-19Beihang UniversityMethod for salient object segmentation of image by aggregating multi-linear exemplar regressors
CN106952271A (en)*2017-03-082017-07-14西北工业大学 An Image Segmentation Method Based on Superpixel Segmentation and EM/MPM Processing
CN106981068A (en)*2017-04-052017-07-25重庆理工大学A kind of interactive image segmentation method of joint pixel pait and super-pixel
CN107610126A (en)*2017-08-312018-01-19浙江工业大学A kind of interactive image segmentation method based on local prior distribution
CN107564010A (en)*2017-09-112018-01-09新疆大学A kind of Grabcut color image segmentation methods of combination Bayes's classification and SLIC

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ROTHER C 等: "GrabCut:Interactive foreground extraction using iterated graph cuts", 《ACM TRANSACTIONS ON GRAPHICS》*
董茜 等: "基于SLIC超像素的Grab Cut算法改进", 《华中科技大学学报(自然科学版)》*

Cited By (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110910417A (en)*2019-10-292020-03-24西北工业大学Weak and small moving target detection method based on super-pixel adjacent frame feature comparison
CN110827311A (en)*2019-11-052020-02-21中铁十一局集团电务工程有限公司Cable conductor sectional area measuring method and system based on imaging method
CN110827311B (en)*2019-11-052023-07-21中铁十一局集团电务工程有限公司Imaging method-based cable conductor sectional area measurement method and system
CN112748700A (en)*2020-12-182021-05-04深圳市显控科技股份有限公司Numerical control code generation method and device, electronic equipment and storage medium
CN113242417A (en)*2021-05-102021-08-10中国人民解放军海军航空大学Method for correcting standard deviation weighted color cast digital image
CN113242417B (en)*2021-05-102022-09-13中国人民解放军海军航空大学Method for correcting standard deviation weighted color cast digital image
CN113781402A (en)*2021-08-192021-12-10中国电子产品可靠性与环境试验研究所((工业和信息化部电子第五研究所)(中国赛宝实验室)) Chip surface scratch defect detection method, device and computer equipment
CN113781402B (en)*2021-08-192024-03-26中国电子产品可靠性与环境试验研究所((工业和信息化部电子第五研究所)(中国赛宝实验室))Method and device for detecting scratch defects on chip surface and computer equipment
CN115188035A (en)*2022-06-202022-10-14华南理工大学 Finger vein feature fusion method based on cascaded superpixel segmentation

Similar Documents

PublicationPublication DateTitle
CN109559316A (en)A kind of improved graph theory dividing method based on super-pixel
KR102134405B1 (en)System and Method for Improving Low Light Level Image Using Generative Adversarial Network
CN106952271B (en) An Image Segmentation Method Based on Superpixel Segmentation and EM/MPM Processing
CN104318570B (en)A kind of self adaptation camouflage painting method for designing based on background
CN103606137B (en)Keep the histogram equalization method of background and detailed information
CN102737376A (en)Improved region growing method applied to coronary artery angiography image segmentation
CN105761202B (en)A kind of color image color moving method
CN107369190B (en)Rubble-based thermodynamic diagram accelerated rendering method
CN108510562B (en)Digital camouflage pattern generation method based on image fractal texture
CN104954780A (en)DIBR (depth image-based rendering) virtual image restoration method applicable to high-definition 2D/3D (two-dimensional/three-dimensional) conversion
EP2528042B1 (en)Method and device for the re-meshing of 3D polygon models
CN110634147A (en)Image matting method based on bilateral boot up-sampling
CN109993755B (en)Jacquard fabric image weave structure segmentation method
CN109544487A (en)A kind of infrared image enhancing method based on convolutional neural networks
Yuan et al.Watershed-based superpixels with global and local boundary marching
CN103164855A (en)Bayesian Decision Theory foreground extraction method combined with reflected illumination
CN109891880A (en)The method of the automatic conversion quality of 2D to 3D is improved by machine learning techniques
CN105787932B (en)Solid matching method based on segmentation Cross-Tree
CN106127763A (en)One has extensive adaptive image binaryzation method
CN118823226A (en) A digital twin visualization method, device and storage medium for a private network park
CN101702236A (en)Multi-target foreground segmentation method
CN102467740A (en)Foreground and background interactive segmentation method of large-size color image and system thereof
CN101964911A (en)Ground power unit (GPU)-based video layering method
CN106067175B (en)A kind of solar activity object detection method based on square net structure
CN111539375B (en) A large-scale crowd behavior-aided planning method

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20190402


[8]ページ先頭

©2009-2025 Movatter.jp