CN105005791A - Half-tone image classification method - Google Patents

Half-tone image classification method Download PDF

Info

Publication number
CN105005791A
CN105005791A CN201510397559.7A CN201510397559A CN105005791A CN 105005791 A CN105005791 A CN 105005791A CN 201510397559 A CN201510397559 A CN 201510397559A CN 105005791 A CN105005791 A CN 105005791A
Authority
CN
China
Prior art keywords
tone image
half tone
block
classification
neural network
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.)
Granted
Application number
CN201510397559.7A
Other languages
Chinese (zh)
Other versions
CN105005791B (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.)
SHANGHAI ADD CORPORATION
Original Assignee
Xian University of Technology
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 Xian University of Technology filed Critical Xian University of Technology
Priority to CN201510397559.7A priority Critical patent/CN105005791B/en
Publication of CN105005791A publication Critical patent/CN105005791A/en
Application granted granted Critical
Publication of CN105005791B publication Critical patent/CN105005791B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • G06F18/2413Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on distances to training or reference patterns
    • G06F18/24147Distances to closest patterns, e.g. nearest neighbour classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Molecular Biology (AREA)
  • Computational Linguistics (AREA)
  • Biophysics (AREA)
  • Biomedical Technology (AREA)
  • Mathematical Physics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses a half-tone image classification method. The method is carried according to the following steps of: connecting a sparse self-encoding depth neural network with a Softmax classifier to serve as a classification model of a half-tone image; partitioning the half-tone image for training, and training the model by using the blocks; extracting valid blocks from the half-tone image to be classified, and classifying the valid blocks; and counting type numbers of each valid block of the half-tone image to be classified, and taking a type with maximum type number as the type of the half-tone image to be classified. By the half-tone image classification method, the problem that manual selection and extraction is required for the characteristics of the half-tone image in the prior art is solved, the half-tone image classification method can be applicable for various types of half-tone images, and the classification accuracy is improved.

Description

A kind of half tone image sorting technique
Technical field
The invention belongs to printing technology, be specifically related to a kind of half tone image sorting technique.
Background technology
Half-tone picture similarly is that a class only comprises two contrasts, but can present the image adjusting continuously visual effect during eye-observation, and it is widely used in the fields such as traditional printing industry, digital publishing system, the display of various binaryzation and print out equipment.For the half tone image that various halftoning method generates, if will reuse, must remove the visual noises such as the reticulate pattern produced in halftoning process, this technology is called as inverse halftone technique.Current various high-quality inverse halftoning method all requires first to know corresponding half tone image classification, and namely this kind of half-tone picture similarly is by which kind of halftoning method produced.Therefore, classifying to the method that half tone image produces according to it, is key one step in various inverse halftone technique.
Current half tone image sorting technique is mostly first by artificial selection feature extracting method, the spatial feature of statistics half tone image texture or spectrum signature, carry out the expression of half tone image shallow-layer external performance, as method, covariance matrix feature extraction etc. that one dimension auto-relativity function method, gray level co-occurrence matrixes and run-length matrix combine, carry out the expression of half tone image shallow-layer external performance; The methods such as recycling BP neural network, Bayes classifier are classified.The feature extracting method of artificial selection is wasted time and energy, and does not have versatility, the pattern of the various half tone image of more difficult Efficient Characterization, and its shortcoming is Limited Number that is lower to the classification accuracy rate of various half tone image, classification.
Summary of the invention
The object of this invention is to provide a kind of half tone image sorting technique, solve the problem that existing half tone image sorting technique accuracy is low.
The technical solution adopted in the present invention is, a kind of half tone image sorting technique, specifically implements according to following steps:
Step 1, adopt sparse own coding deep neural network as the Feature Selection Model of half tone image, sparse own coding deep neural network connects Softmax sorter;
Step 2, to training half tone image carry out piecemeal, train sparse own coding deep neural network and Softmax sorter with each block image;
Step 3, piecemeal is carried out to half tone image to be sorted, extract its active block;
Step 4, using the input of the active block extracted from half tone image to be sorted as the sparse own coding deep neural network trained, carry out feature extraction, determined the classification of the active block extracted from half tone image to be sorted by Softmax sorter;
Step 5, add up the class number of the active block of half tone image to be sorted, the classification that class number is maximum is the classification of half tone image to be sorted.
Feature of the present invention is also:
In step 1, sparse own coding deep neural network comprises 4 layers, and ground floor is input layer, and the second layer and third layer are hidden layers, and the 4th layer is output layer, and output layer is connected with Softmax sorter.
In step 1, the output valve of Softmax sorter is the classification number of half tone image to be sorted.
The concrete steps of step 2 are:
Step 2.1, be divided into size to be the image block of m × n each width half tone image of training, the classification of image block is the classification of divided half tone image;
Step 2.2, the image block using the half tone image of training to mark off train sparse own coding deep neural network;
Step 2.3, the image block using the half tone image of training to mark off and classification thereof, training Softmax sorter, and adopt the parameter of method to sparse own coding deep neural network of overall fine setting to finely tune.
In step 2.1, non-overlapped block division methods is adopted to the division of the half tone image of training.
Sparse own coding deep neural network is trained to adopt gradient descent algorithm in step 2.2.
The concrete steps extracting active block in step 3 are:
Step 3.1, to each pixel in each piece, centered by pixel, choose the regional area of its M × M, calculate the local entropy H of pixel ij:
H i j = Σ k = 0 1 p k logp k i = 1 , 2 , ... , m j = 1 , 2 , ... , n - - - ( 1 )
P in formula (1) kit is the probability that in the regional area of M × M, pixel value gets k;
Step 3.2, to each piece, calculate average value mu and the variances sigma of all local entropys in this block:
μ = 1 m × n Σ i = 1 m Σ j n H i j - - - ( 2 )
σ = 1 m × n Σ i = 1 m Σ j n ( H i j - μ ) 2 - - - ( 3 )
Step 3.3, to each piece, if it meets μ >=0.5 and σ≤0.1, then judge that this block is as active block.
The invention has the beneficial effects as follows: a kind of half tone image sorting technique, half tone image feature is extracted by designed sparse own coding deep neural network, overcome existing artificial selection feature extracting method bad adaptability, the feature of extraction more can characterize different classes of half tone image feature; Extracted by image block and active block, improve the accuracy of half tone image classification, decrease the time required for classification.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of a kind of half tone image sorting technique of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in detail.
A kind of half tone image sorting technique of the present invention, flow process as shown in Figure 1, is specifically implemented according to following steps:
Step 1, adopt sparse own coding deep neural network as the Feature Selection Model of half tone image, sparse own coding deep neural network connects Softmax sorter;
Wherein, sparse own coding deep neural network comprises 4 layers, and ground floor is input layer, and the neuron number of ground floor is the number of pixel in image block, and if tile size is 16 × 16pixel, i.e. the neuron number of ground floor input is 256; The second layer and third layer are hidden layers, and the neuron number of the second layer and third layer is respectively 200 and 100, and the 4th layer is output layer, and output layer is connected with Softmax sorter.
The output valve of Softmax sorter is the classification number of half tone image to be sorted, has 13 classifications in the present embodiment.
Step 2, to training half tone image carry out piecemeal, train sparse own coding deep neural network and Softmax sorter with each block image, concrete steps are:
Step 2.1, adopt non-overlapped block division methods to be divided into size to be the image block of m × n each width half tone image of training, the classification of image block is the classification of divided half tone image;
Step 2.2, the image block using the half tone image of training to mark off adopt gradient descent algorithm to train sparse own coding deep neural network;
Step 2.3, the image block using the half tone image of training to mark off and classification thereof, training Softmax sorter, and adopt the parameter of method to sparse own coding deep neural network of overall fine setting to finely tune.
Step 3, piecemeal is carried out to half tone image to be sorted, extract its active block;
The concrete steps wherein extracting active block are:
Step 3.1, to each pixel in each piece, centered by pixel, choose its regional area of 9 × 9, calculate the local entropy H of pixel ij:
H i j = Σ k = 0 1 p k logp k i = 1 , 2 , ... , m j = 1 , 2 , ... , n - - - ( 1 )
P in formula (1) kit is the probability that in the regional area of 9 × 9, pixel value gets k;
Step 3.2, to each piece, calculate average value mu and the variances sigma of all local entropys in this block:
μ = 1 m × n Σ i = 1 m Σ j n H i j - - - ( 2 )
σ = 1 m × n Σ i = 1 m Σ j n ( H i j - μ ) 2 - - - ( 3 )
Step 3.3, to each piece, if it meets μ >=0.5 and σ≤0.1, then judge that this block is as active block.
Step 4, using the input of the active block extracted from half tone image to be sorted as the sparse own coding deep neural network trained, carry out feature extraction, determined the classification of the active block extracted from half tone image to be sorted by Softmax sorter;
Step 5, add up the class number of the active block of half tone image to be sorted, the classification that class number is maximum is the classification of half tone image to be sorted.
A kind of half tone image sorting technique of the present invention, is a kind of feature extracting method of unsupervised learning, adapts to the feature extraction of all kinds of half tone image; The active block sorting technique simultaneously proposed, decreases the interference of invalid block to classification, improves the accuracy of classification; By extracting active block, decreasing the number of to be sorted piece, also just decreasing the time required for classification.By the classification to 13 class half tone images, average correct classification rate can reach 99.62%, achieves very satisfied effect.

Claims (7)

1. a half tone image sorting technique, is characterized in that, specifically implements according to following steps:
Step 1, adopt sparse own coding deep neural network as the Feature Selection Model of half tone image, sparse own coding deep neural network connects Softmax sorter;
Step 2, to training half tone image carry out piecemeal, train sparse own coding deep neural network and Softmax sorter with each block image;
Step 3, piecemeal is carried out to half tone image to be sorted, extract its active block;
Step 4, using the input of the active block extracted from half tone image to be sorted as the sparse own coding deep neural network trained, carry out feature extraction, determined the classification of the active block extracted from half tone image to be sorted by Softmax sorter;
Step 5, add up the class number of the active block of half tone image to be sorted, the classification that class number is maximum is the classification of half tone image to be sorted.
2. a kind of half tone image sorting technique according to claim 1, is characterized in that, in described step 1, sparse own coding deep neural network comprises 4 layers, ground floor is input layer, the second layer and third layer are hidden layers, and the 4th layer is output layer, and output layer is connected with described Softmax sorter.
3. a kind of half tone image sorting technique according to claim 1, is characterized in that, in described step 1, the output valve of Softmax sorter is the classification number of half tone image to be sorted.
4. according to claim 1 in described a kind of half tone image sorting technique, it is characterized in that, the concrete steps of described step 2 are:
Step 2.1, be divided into size to be the image block of m × n each width half tone image of training, the classification of image block is the classification of divided half tone image;
Step 2.2, the image block using the half tone image of training to mark off train sparse own coding deep neural network;
Step 2.3, the image block using the half tone image of training to mark off and classification thereof, training Softmax sorter, and adopt the parameter of method to sparse own coding deep neural network of overall fine setting to finely tune.
5. according to claim 4 in described a kind of half tone image sorting technique, it is characterized in that, in described step 2.1, non-overlapped block division methods is adopted to the division of half tone image of training.
6. according to claim 4 in described a kind of half tone image sorting technique, it is characterized in that, train in described step 2.2 sparse own coding deep neural network adopt gradient descent algorithm.
7. according to claim 1 in described a kind of half tone image sorting technique, it is characterized in that, the concrete steps extracting active block in described step 3 are:
Step 3.1, to each pixel in each piece, centered by pixel, choose the regional area of its M × M, calculate the local entropy H of pixel ij:
H i j = Σ k = 0 1 p k logp k , ( i = 1 , 2 , ... , m , j = 1 , 2 , ... , n ) - - - ( 1 )
P in formula (1) kit is the probability that in the regional area of M × M, pixel value gets k;
Step 3.2, to each piece, calculate average value mu and the variances sigma of all local entropys in this block:
μ = 1 m × n Σ i = 1 m Σ j n H i j - - - ( 2 )
σ = 1 m × n Σ i = 1 m Σ j n ( H i j - μ ) 2 - - - ( 3 )
Step 3.3, to each piece, if it meets μ >=0.5 and σ≤0.1, then judge that this block is as active block.
CN201510397559.7A 2015-07-08 2015-07-08 A kind of half tone image sorting technique Active CN105005791B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510397559.7A CN105005791B (en) 2015-07-08 2015-07-08 A kind of half tone image sorting technique

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510397559.7A CN105005791B (en) 2015-07-08 2015-07-08 A kind of half tone image sorting technique

Publications (2)

Publication Number Publication Date
CN105005791A true CN105005791A (en) 2015-10-28
CN105005791B CN105005791B (en) 2018-07-06

Family

ID=54378456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510397559.7A Active CN105005791B (en) 2015-07-08 2015-07-08 A kind of half tone image sorting technique

Country Status (1)

Country Link
CN (1) CN105005791B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104408469A (en) * 2014-11-28 2015-03-11 武汉大学 Firework identification method and firework identification system based on deep learning of image
US9135241B2 (en) * 2010-12-08 2015-09-15 At&T Intellectual Property I, L.P. System and method for learning latent representations for natural language tasks

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9135241B2 (en) * 2010-12-08 2015-09-15 At&T Intellectual Property I, L.P. System and method for learning latent representations for natural language tasks
CN104408469A (en) * 2014-11-28 2015-03-11 武汉大学 Firework identification method and firework identification system based on deep learning of image

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
林海龙: ""数字半色调图像的分类研究"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
王勇等: ""基于稀疏自编码深度神经网络的林火图像分类"", 《计算机工程与应用》 *

Also Published As

Publication number Publication date
CN105005791B (en) 2018-07-06

Similar Documents

Publication Publication Date Title
CN104113789B (en) On-line video abstraction generation method based on depth learning
CN104182772B (en) A kind of gesture identification method based on deep learning
CN103824309B (en) Automatic extracting method of urban built-up area border
CN104123561B (en) Fuzzy C-mean algorithm remote sensing image automatic classification method based on spatial attraction model
CN104881677B (en) Method is determined for the optimum segmentation yardstick of remote sensing image ground mulching classification
CN106960176B (en) Pedestrian gender identification method based on transfinite learning machine and color feature fusion
CN104680180B (en) Classification of Polarimetric SAR Image method based on K mean values and sparse own coding
CN108052980A (en) Air quality grade detection method based on image
CN107038416B (en) Pedestrian detection method based on binary image improved HOG characteristics
CN106022355A (en) 3DCNN (three-dimensional convolutional neural network)-based high-spectral image space spectrum combined classification method
CN103295191A (en) Multi-scale vision self-adaptation image enhancing method and evaluating method
CN104268590B (en) The blind image quality evaluating method returned based on complementary combination feature and multiphase
CN101101669A (en) Image reinforcement method for self-adaptive regulation according to edge and brightness
CN103870818A (en) Smog detection method and device
CN107993200A (en) Picture noise level estimation method based on deep learning
CN104778472B (en) Human face expression feature extracting method
CN102880859A (en) Method for recognizing number plate
CN107481209A (en) A kind of image or video quality Enhancement Method based on convolutional neural networks
CN106203444A (en) Classification of Polarimetric SAR Image method based on band ripple Yu convolutional neural networks
CN101930607B (en) Method for judging quality of image
CN104951795A (en) Image classification identifying and judging method
CN103700077B (en) A kind of method for adaptive image enhancement based on human-eye visual characteristic
CN103325123A (en) Image edge detection method based on self-adaptive neural fuzzy inference systems
CN103065298B (en) A kind of vision significance detection method of simulating retina filtering
CN104574352A (en) Crowd density grade classification method based on foreground image

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190527

Address after: 201108 No. 6, Lane 508, Yindu Road, Minhang District, Shanghai

Patentee after: SHANGHAI ADD CORPORATION

Address before: 710048 No. 5 Jinhua South Road, Shaanxi, Xi'an

Patentee before: Xi'an University of Technology