CN105741294A - Object-quantity-controllable image segmentation method - Google Patents

Object-quantity-controllable image segmentation method Download PDF

Info

Publication number
CN105741294A
CN105741294A CN201610069837.0A CN201610069837A CN105741294A CN 105741294 A CN105741294 A CN 105741294A CN 201610069837 A CN201610069837 A CN 201610069837A CN 105741294 A CN105741294 A CN 105741294A
Authority
CN
China
Prior art keywords
image
segmentation
objects
pixel
vector
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
CN201610069837.0A
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.)
Fujian Normal University
Original Assignee
Fujian Normal University
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 Fujian Normal University filed Critical Fujian Normal University
Priority to CN201610069837.0A priority Critical patent/CN105741294A/en
Publication of CN105741294A publication Critical patent/CN105741294A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20072Graph-based image processing

Landscapes

  • Image Analysis (AREA)

Abstract

The invention relates to an object-quantity-controllable image segmentation method, which comprises the following steps of 1, constructing an image I to be processed into a graph G; 2, for a segmentation objective with the preset object quantity being k, converting k objects segmented from the image I into k feature vectors of a solving graph G; 3, merging and constructing the k feature vectors solved in the step 2 into an MN*k matrix Mtr; 4, taking vectors according to the lines of the matrix Mtr in the step 3 to obtain MN 1*k line vectors and feature vectors corresponding to each pixel in the image I; 5, clustering the feature vector of each pixel in the step 4 by a clustering algorithm to obtain k segmentation objects; and 6, performing visual expression on k clustering objects in the step 5. The method solves the problem of image division object uncontrollability, and has high segmentation accuracy. The over-segmentation and the under-segmentation of the image can be well realized, and the method is applied to fixed-quantity objective extraction.

Description

The image partition method that a kind of number of objects is controlled
Technical field
The present invention relates to a kind of digital image processing field, the image partition method that specifically a kind of number of objects is controlled.
Background technology
Image segmentation is a classic problem in image procossing, is also the basic fundamental in image procossing and computer vision field.The research of image segmentation is constantly subjected to the great attention of people for many years, and partitioning algorithm also emerges in an endless stream, for the classification foundation also disunity of image segmentation algorithm.The selection of image partition method, is largely dependent upon the variable factor in specific image, imaging mode and imaging and invariant factor (such as noise and texture etc.), and these all can affect follow-up segmentation to a great extent.It addition, current partitioning algorithm there is also one problem to be solved, namely the quantity of cutting object is uncontrollable, it is difficult to adapt to some application scenario.
Summary of the invention
The invention provides the image partition method that a kind of number of objects is controlled, utilize Graph-theoretical Approach, the problem of dividing the image into is converted into characteristic vector Solve problems, has the advantage that cutting object is controlled and segmentation accuracy is high.
Target by realizing the present invention be the technical scheme is that method comprises the following steps:
Step 1: the pending image I tectonic ore-forming G of M × N will be of a size of;
Step 2: be the segmentation object of k for default number of objects, is converted into, by I is divided into k object, k the characteristic vector solving figure G;
Step 3: k the characteristic vector (column vector of MN × 1) tried to achieve in step 2 is merged the matrix Mtr being configured to MN × k;
Step 4: by the row amount of orientation of the matrix Mtr in step 3, obtain the row vector of MN 1 × k, obtains each pixel characteristic of correspondence vector in image I;
Step 5: utilize clustering algorithm that the characteristic vector of each pixel in step 4 is carried out cluster and obtain k cutting object;
Step 6: k clustering object in step 5 is carried out visual representation.
The building method of the figure G in described step 1 is: using the summit as figure of each pixel in pending image I, if the distance between two pixels is less than threshold value d, be then attached with a nonoriented edge, the weight w on limitM(m, n) is arranged by below equation:
w M ( m , n ) = w D ( m , n ) × w I ( m , n )
Wherein, wD(m, n)=exp (-| | Lm-Ln||2), represent the proximity relations of two pixels;wI(m, n)=exp (-(Im-In)2), represent the close degree of value of two pixels.
The method of k the characteristic vector solving figure G in described step 2 utilizes below equation:
(D-W) y=λ Dy
Wherein D is diagonal matrix, W = w ( 1 , 1 ) ... w ( 1 , M N ) ... ... ... w ( M N , 1 ) ... w ( M N , M N ) , Y is characteristic vector, and λ is eigenvalue.
Clustering algorithm in described step 5 is k mean algorithm.
The invention has the beneficial effects as follows: solve the uncontrollable problem of image cutting object, there is higher segmentation accuracy.Over-segmentation and the less divided of image can be realized well, be applied to the Objective extraction of fixed qty.
Accompanying drawing explanation
Fig. 1 is the overall process flow figure of the present invention.
Detailed description of the invention
The specific embodiment of the present invention is described in detail below in conjunction with accompanying drawing.
In step 101, input is of a size of the pending image I of M × N.
In step 102, by pending image I tectonic ore-forming G, by the summit as figure of each pixel in image I, if the distance between two pixels is less than threshold value 20, then it is attached with a nonoriented edge, the weight w on limitM(m, n) is arranged by below equation:
w M ( m , n ) = w D ( m , n ) × w I ( m , n )
Wherein, wD(m, n)=exp (-| | Lm-Ln||2), represent the proximity relations of two pixels;wI(m, n)=exp (-(Im-In)2), represent the close degree of value of two pixels.
In step 103, being the segmentation object of k for default number of objects, the method for k the characteristic vector solving figure G utilizes below equation:
(D-W) y=λ Dy
Wherein D is diagonal matrix, W = w ( 1 , 1 ) ... w ( 1 , M N ) ... ... ... w ( M N , 1 ) ... w ( M N , M N ) , Y is characteristic vector, and λ is eigenvalue.
In step 104, k the characteristic vector (column vector of MN × 1) tried to achieve in step 103 is merged the matrix Mtr being configured to MN × k, and the row amount of orientation to matrix Mtr, obtain the row vector of MN 1 × k, obtain each pixel characteristic of correspondence vector in image I.
In step 105, utilize k means clustering algorithm that the characteristic vector of each pixel in step 104 is carried out cluster and obtain k cutting object.
In step 106, k clustering object in step 105 is carried out visual representation.

Claims (4)

1. the image partition method that a number of objects is controlled, it is characterised in that comprise the following steps:
Step 1: the pending image I tectonic ore-forming G of M × N will be of a size of;
Step 2: be the segmentation object of k for default number of objects, is converted into, by I is divided into k object, k the characteristic vector solving figure G;
Step 3: k the characteristic vector (column vector of MN × 1) tried to achieve in step 2 is merged the matrix Mtr being configured to MN × k;
Step 4: by the row amount of orientation of the matrix Mtr in step 3, obtain the row vector of MN 1 × k, obtains each pixel characteristic of correspondence vector in image I;
Step 5: utilize clustering algorithm that the characteristic vector of each pixel in step 4 is carried out cluster and obtain k cutting object;
Step 6: k clustering object in step 5 is carried out visual representation.
2. the image partition method that a kind of number of objects according to claim 1 is controlled, it is characterized in that the building method of the figure G in step 1 is: using the summit as figure of each pixel in pending image I, if the distance between two pixels is less than threshold value d, then it is attached with a nonoriented edge, the weight w on limitM(m, n) is arranged by below equation:
w M ( m , n ) = w D ( m , n ) × w I ( m , n )
Wherein, wD(m, n)=exp (-| | Lm-Ln||2), represent the proximity relations of two pixels;wI(m, n)=exp (-(Im-In)2), represent the close degree of value of two pixels.
3. the image partition method that a kind of number of objects according to claim 1 is controlled, it is characterised in that the method for k the characteristic vector solving figure G in step 2 utilizes below equation:
(D-W) y=λ Dy
Wherein D is diagonal matrix, W = w ( 1 , 1 ) ... w ( 1 , M N ) ... ... ... w ( M N , 1 ) ... w ( M N , M N ) , Y is characteristic vector, and λ is eigenvalue.
4. the image partition method that a kind of number of objects according to claim 1 is controlled, it is characterised in that the clustering algorithm in step 5 is k mean algorithm.
CN201610069837.0A 2016-02-01 2016-02-01 Object-quantity-controllable image segmentation method Pending CN105741294A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610069837.0A CN105741294A (en) 2016-02-01 2016-02-01 Object-quantity-controllable image segmentation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610069837.0A CN105741294A (en) 2016-02-01 2016-02-01 Object-quantity-controllable image segmentation method

Publications (1)

Publication Number Publication Date
CN105741294A true CN105741294A (en) 2016-07-06

Family

ID=56241805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610069837.0A Pending CN105741294A (en) 2016-02-01 2016-02-01 Object-quantity-controllable image segmentation method

Country Status (1)

Country Link
CN (1) CN105741294A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114724133A (en) * 2022-04-18 2022-07-08 北京百度网讯科技有限公司 Character detection and model training method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101976348A (en) * 2010-10-21 2011-02-16 中国科学院深圳先进技术研究院 Image clustering method and system
US20110182517A1 (en) * 2010-01-20 2011-07-28 Duke University Segmentation and identification of layered structures in images
CN104021552A (en) * 2014-05-28 2014-09-03 华南理工大学 Multi-objective particle swarm parameter optimization method based on graph segmentation process
CN104809729A (en) * 2015-04-29 2015-07-29 山东大学 Robust automatic image salient region segmenting method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110182517A1 (en) * 2010-01-20 2011-07-28 Duke University Segmentation and identification of layered structures in images
CN101976348A (en) * 2010-10-21 2011-02-16 中国科学院深圳先进技术研究院 Image clustering method and system
CN104021552A (en) * 2014-05-28 2014-09-03 华南理工大学 Multi-objective particle swarm parameter optimization method based on graph segmentation process
CN104809729A (en) * 2015-04-29 2015-07-29 山东大学 Robust automatic image salient region segmenting method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
王梅等: "图像分割的图论方法综述", 《计算机应用与软件》 *
许晓丽: "基于聚类分析的图像分割算法研究", 《中国博士学位论文全文数据库 信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114724133A (en) * 2022-04-18 2022-07-08 北京百度网讯科技有限公司 Character detection and model training method, device, equipment and storage medium
CN114724133B (en) * 2022-04-18 2024-02-02 北京百度网讯科技有限公司 Text detection and model training method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110443842B (en) Depth map prediction method based on visual angle fusion
Kim et al. Improved simple linear iterative clustering superpixels
CN105574534A (en) Significant object detection method based on sparse subspace clustering and low-order expression
CN104778476B (en) A kind of image classification method
CN110570440A (en) Image automatic segmentation method and device based on deep learning edge detection
CN102708370A (en) Method and device for extracting multi-view angle image foreground target
CN112200115B (en) Face recognition training method, recognition method, device, equipment and storage medium
CN103903275A (en) Method for improving image segmentation effects by using wavelet fusion algorithm
CN103761515A (en) Human face feature extracting method and device based on LBP
CN105118051B (en) A kind of conspicuousness detection method applied to still image human body segmentation
CN105809182B (en) Image classification method and device
CN107909083A (en) A kind of hough transform extracting method based on outline optimization
CN105405138A (en) Water surface target tracking method based on saliency detection
CN108345835B (en) Target identification method based on compound eye imitation perception
Chen et al. EFCNet: Ensemble full convolutional network for semantic segmentation of high-resolution remote sensing images
CN113963009B (en) Local self-attention image processing method and system based on deformable block
Jang et al. Object classification using CNN for video traffic detection system
Pham et al. Spectral graph wavelet based nonrigid image registration
CN108062523B (en) Infrared far-small target detection method
CN111145196A (en) Image segmentation method and device and server
CN107766790B (en) Human behavior identification method based on local constraint low-rank coding
CN105741294A (en) Object-quantity-controllable image segmentation method
CN102663453B (en) Human motion tracking method based on second generation Bandlet transform and top-speed learning machine
CN104504692A (en) Method for extracting obvious object in image on basis of region contrast
CN111724428A (en) Depth map sampling and reconstructing method based on-map signal model

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160706