CN105761260A - Skin image affected part segmentation method - Google Patents

Skin image affected part segmentation method Download PDF

Info

Publication number
CN105761260A
CN105761260A CN201610085988.5A CN201610085988A CN105761260A CN 105761260 A CN105761260 A CN 105761260A CN 201610085988 A CN201610085988 A CN 201610085988A CN 105761260 A CN105761260 A CN 105761260A
Authority
CN
China
Prior art keywords
skin
skin color
component
image
area
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
CN201610085988.5A
Other languages
Chinese (zh)
Other versions
CN105761260B (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.)
Tianjin University
Original Assignee
Tianjin 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 Tianjin University filed Critical Tianjin University
Priority to CN201610085988.5A priority Critical patent/CN105761260B/en
Publication of CN105761260A publication Critical patent/CN105761260A/en
Application granted granted Critical
Publication of CN105761260B publication Critical patent/CN105761260B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30004Biomedical image processing
    • G06T2207/30088Skin; Dermal

Landscapes

  • Image Analysis (AREA)
  • Measuring And Recording Apparatus For Diagnosis (AREA)

Abstract

The invention relates to a skin image affected part segmentation method comprising the steps that an input skin image is preprocessed, RGB component values are extracted, and the image is converted to an HSV color space; skin color areas and non-skin color areas are detected, and internal filling is performed in the skin color areas; pixel value histogram statistics is performed on the skin color area H component diagram obtained in 3), and a new skin color area H component diagram is obtained by using an Otsu threshold method; and binarization is performed on the skin color area H component diagram and morphological processing is performed. The skin image affected part segmentation method is suitable for segmentation of the affected part in multiple skin disease images and has the characteristics of high operation speed and high accuracy.

Description

A kind of skin image affected part dividing method
Technical field
The present invention relates to field of medical image processing, particularly to a kind of skin image affected part dividing method.
Background technology
Along with image processing techniques diagnoses, in the extensive use of medical domain, computer diagnosis and auxiliary, the hot topic becoming research.Dermatosis is the disease that a class is common, owing to its affected part can observe directly, so can realize dermopathic computer diagnosis and analysis by image processing techniques.The first step of dermatosis computer diagnosis is exactly split from the skin picture collected in region, dermatosis affected part, only achieves the accurate and efficient segmentation to affected part and could analyze the various features in affected part further.Current main difficulty has: (1), because skin is affected by various factors, dermopathic form and color distortion are bigger;(2) skin general red sector territory often occurs around affected part so that the interface edge of affected part and skin is also inconspicuous, by the partitioning algorithm effect not rationality based on gradient edge;(3) if the region outside there is skin in photo, this region is likely to segmentation is produced interference.
Summary of the invention
It is an object of the invention to provide a kind of speed of service fast, the skin image affected part dividing method that accuracy rate is high.Technical scheme is as follows:
1. a skin image affected part dividing method, comprises the following steps:
1) input skin image is carried out pretreatment, extract RGB component value, image is changed in HSV color space, and obtain the H component map of normalized value.
2) use the skin color detection algorithm based on rgb color space to detect area of skin color and non-area of skin color, area of skin color is carried out internal filling;
3) H-number by H component corresponding for non-area of skin color is zero, obtains the area of skin color H component map that skin is filled through inside;
4) to 3) in the area of skin color H component map that obtains carry out pixel value statistics with histogram, the point ordinate value making H component value be zero in rectangular histogram is equal to the average of front and back point ordinate value, by rectangular histogram to right translation 0.6, Otsu threshold method is used to calculate the optimal threshold T of H histogram of component;
5) to 3) in the H component value that obtains to left T+0.6, obtain new area of skin color H component map;
6) by 5) in the area of skin color H component map binaryzation that obtains, white portion is region, affected part, and black region is region, non-affected part, adopts the closed operation in Morphological scale-space eliminate white portion interior void and make edge-smoothing the image after binaryzation;
7) extract 6) in closed operation process after bianry image edge, marker edge in original image, and export image.
First input picture is transformed into HSV color space by rgb color space and obtains normalization H component by the present invention, then skin color detection algorithm is used to remove the interference of non-area of skin color, Otsu threshold method is used to calculate H histogram of component threshold value, H component is made to move to left the size of this threshold value, finally obtain segmentation result accurately by closing operation of mathematical morphology, the segmentation in the affected part suitable in multiple dermatosis image, has the speed of service fast, the feature that accuracy rate is high.
Accompanying drawing explanation
Fig. 1 is FB(flow block) of the present invention.
Fig. 2 is that the present invention is embodied as example figure.
Fig. 3 is H component exemplary plot.
Fig. 4 is Face Detection internal filling result exemplary plot.
Fig. 5 is that H component removes non-flesh tone portion exemplary plot.
Fig. 6 is exemplary plot after the translation of H component.
Fig. 7 is closing operation of mathematical morphology result exemplary plot.
Fig. 8 is affected part segmentation result output example image.
Detailed description of the invention
In order to further illustrate the present invention, provide an instantiation below in conjunction with the FB(flow block) of accompanying drawing 1 and the enforcement example figure of accompanying drawing 2-8.
Fig. 2 show a typical affected skin image.Wherein there is region, several piece affected part, in addition also have the background area outside two parts skin to interfere.Part affected part in figure and normal skin border are also inconspicuous.
Flow process shown in reference block Fig. 1, the skin image affected part cutting procedure that the present invention is concrete describes as follows:
Step one: the input picture shown in Fig. 2 is carried out noise suppression preprocessing.Image is transformed in HSV color space, obtains normalized H component map I1, namely the value of H component is between 0 to 1.By R, G, B component calculate normalized H component formula be:
H = 0 , i f m a x = m i n 1 6 &times; G - B max - min , i f m a x = R a n d G &GreaterEqual; B 1 6 &times; G - B max - min + 1 , i f m a x = R a n d G < B 1 6 &times; B - R max - min + 1 3 , i f max = G 1 6 &times; R - G max - min + 2 3 , i f max = B
Wherein max=max{R, G, B}, min=min{R, G, B}.Fig. 3 show the H component map after normalization.
Step 2: use the skin color detection algorithm based on rgb color space to detect the area of skin color in image and non-area of skin color.Face Detection discrimination formula is as follows:
[yj(1)>95&&yj(2)>40&&yj(3)>20&&yj(1)-yj(3)>15&&yj(1)-yj(2)>15]
||[yj(1)>200&&yj(2)>210&&yj(1)>170&&abs(yj(1)-yj(3)]
≤ [15&&yj(1)>yj(3)&&yj(2)>yj(3)]
Wherein yj(1), yj(2), yj(3) R, G, B color component value of respectively each image pixel.The pixel meeting above-mentioned discriminant is judged to skin area, and in binary map, assignment is 1, is otherwise non-skin region, and in binary map, assignment is 0.Skin area inside is filled with, exports binary map I2.Fig. 4 show the binary map after Face Detection and internal filling
Step 3: from I2Statistical value is the position of 0, at I1Middle correspondence position makes the H-number of this subregion be 0, obtains I3, to remove the impact of non-area of skin color.Fig. 5 show I3
Step 4: to I3In H component value carry out statistics with histogram, the some ordinate value making H component value be 0 in rectangular histogram is equal to the average of front and back point ordinate value.Due to the color character of the colour of skin and affected part, it is between 0-0.35 and 0.87-1 that the distribution of H histogram of component concentrates on value, when using Otsu threshold method to calculate threshold value, it is necessary to histogram distribution is adjusted.Consider that skin image is about 0.6 without pixel distribution at H component, by rectangular histogram to right translation 0.6.Otsu threshold method is used to calculate the optimal threshold T of H histogram of component.Namely the computational methods of threshold value T seek T value during following object function maximum.
&delta; 2 ( T ) = &lsqb; &mu; w ( T ) - &mu; ( T ) &rsqb; 2 w ( T ) &lsqb; 1 - w ( T ) &rsqb;
Wherein w (T) is H component value probability of occurrence between 0 to T, and μ (T) is threshold value is H component meansigma methods during T, and μ is the H component meansigma methods of general image.
Step 5: to I3In H component value to left T+0.6, obtain new H component map I4.Fig. 6 show the image after the translation of H component.
Step 6: by I4Binaryzation obtains I5, white portion is region, affected part, and black region is region, non-affected part.In order to eliminate white portion interior void and make edge-smoothing, the image after binaryzation is adopted the closed operation in Morphological scale-space, namely first expands post-etching:
Wherein B (x) is structural element.Finally obtain bianry image and be designated as I6.Fig. 7 show the bianry image after Morphological scale-space.
Step 7: extract I6Edge, mark edge in original image, and export image.Fig. 8 show output result images, and affected part segmenting edge uses green line labelling in the drawings.

Claims (1)

1. a skin image affected part dividing method, comprises the following steps:
1) input skin image is carried out pretreatment, extract RGB component value, image is changed in HSV color space, and obtain the H component map of normalized value.
2) use the skin color detection algorithm based on rgb color space to detect area of skin color and non-area of skin color, area of skin color is carried out internal filling;
3) H-number by H component corresponding for non-area of skin color is zero, obtains the area of skin color H component map that skin is filled through inside;
4) to 3) in the area of skin color H component map that obtains carry out pixel value statistics with histogram, the point ordinate value making H component value be zero in rectangular histogram is equal to the average of front and back point ordinate value, by rectangular histogram to right translation 0.6, Otsu threshold method is used to calculate the optimal threshold T of H histogram of component;
5) to 3) in the H component value that obtains to left T+0.6, obtain new area of skin color H component map;
6) by 5) in the area of skin color H component map binaryzation that obtains, white portion is region, affected part, and black region is region, non-affected part, adopts the closed operation in Morphological scale-space eliminate white portion interior void and make edge-smoothing the image after binaryzation;
7) extract 6) in closed operation process after bianry image edge, marker edge in original image, and export image.
CN201610085988.5A 2016-02-15 2016-02-15 A kind of skin image affected part dividing method Expired - Fee Related CN105761260B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610085988.5A CN105761260B (en) 2016-02-15 2016-02-15 A kind of skin image affected part dividing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610085988.5A CN105761260B (en) 2016-02-15 2016-02-15 A kind of skin image affected part dividing method

Publications (2)

Publication Number Publication Date
CN105761260A true CN105761260A (en) 2016-07-13
CN105761260B CN105761260B (en) 2018-09-28

Family

ID=56330773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610085988.5A Expired - Fee Related CN105761260B (en) 2016-02-15 2016-02-15 A kind of skin image affected part dividing method

Country Status (1)

Country Link
CN (1) CN105761260B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106875391A (en) * 2017-03-02 2017-06-20 深圳可思美科技有限公司 The recognition methods of skin image and electronic equipment
CN107392904A (en) * 2017-07-28 2017-11-24 陆杰 A kind of partitioning algorithm of the medical image based on mathematical morphology
CN107788948A (en) * 2016-09-02 2018-03-13 卡西欧计算机株式会社 The storage medium of diagnosis supporting device, the image processing method of diagnosis supporting device and storage program
CN108961295A (en) * 2018-07-27 2018-12-07 重庆师范大学 Purple soil image segmentation extracting method based on normal distribution H threshold value
CN109035289A (en) * 2018-07-27 2018-12-18 重庆师范大学 Purple soil image segmentation extracting method based on Chebyshev inequality H threshold value
CN110490844A (en) * 2019-07-24 2019-11-22 广州三得医疗科技有限公司 A kind of recognition methods, system, device and the therapeutic equipment of electromagnetic therapeutic apparatus tank print
CN110766713A (en) * 2019-10-30 2020-02-07 上海微创医疗器械(集团)有限公司 Lung image segmentation method and device and lung lesion region identification equipment
CN112037235A (en) * 2020-08-27 2020-12-04 平安科技(深圳)有限公司 Injury picture automatic auditing method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102479322A (en) * 2010-11-30 2012-05-30 财团法人资讯工业策进会 System, apparatus and method for analyzing facial defect by facial image with angle
CN103632132A (en) * 2012-12-11 2014-03-12 广西工学院 Face detection and recognition method based on skin color segmentation and template matching
CN103646398A (en) * 2013-12-04 2014-03-19 山西大学 Demoscopy focus automatic segmentation method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102479322A (en) * 2010-11-30 2012-05-30 财团法人资讯工业策进会 System, apparatus and method for analyzing facial defect by facial image with angle
CN103632132A (en) * 2012-12-11 2014-03-12 广西工学院 Face detection and recognition method based on skin color segmentation and template matching
CN103646398A (en) * 2013-12-04 2014-03-19 山西大学 Demoscopy focus automatic segmentation method

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107788948B (en) * 2016-09-02 2022-01-04 卡西欧计算机株式会社 Diagnosis support device, image processing method for diagnosis support device, and storage medium storing program
CN107788948A (en) * 2016-09-02 2018-03-13 卡西欧计算机株式会社 The storage medium of diagnosis supporting device, the image processing method of diagnosis supporting device and storage program
US11769255B2 (en) 2016-09-02 2023-09-26 Casio Computer Co., Ltd. Diagnosis assisting device, and image processing method in diagnosis assisting device
US11379958B2 (en) 2016-09-02 2022-07-05 Casio Computer Co., Ltd. Diagnosis assisting device, and image processing method in diagnosis assisting device
CN106875391A (en) * 2017-03-02 2017-06-20 深圳可思美科技有限公司 The recognition methods of skin image and electronic equipment
CN107392904A (en) * 2017-07-28 2017-11-24 陆杰 A kind of partitioning algorithm of the medical image based on mathematical morphology
CN108961295A (en) * 2018-07-27 2018-12-07 重庆师范大学 Purple soil image segmentation extracting method based on normal distribution H threshold value
CN109035289B (en) * 2018-07-27 2021-11-12 重庆师范大学 Purple soil image segmentation and extraction method based on Chebyshev inequality H threshold
CN109035289A (en) * 2018-07-27 2018-12-18 重庆师范大学 Purple soil image segmentation extracting method based on Chebyshev inequality H threshold value
CN110490844A (en) * 2019-07-24 2019-11-22 广州三得医疗科技有限公司 A kind of recognition methods, system, device and the therapeutic equipment of electromagnetic therapeutic apparatus tank print
CN110766713A (en) * 2019-10-30 2020-02-07 上海微创医疗器械(集团)有限公司 Lung image segmentation method and device and lung lesion region identification equipment
CN112037235A (en) * 2020-08-27 2020-12-04 平安科技(深圳)有限公司 Injury picture automatic auditing method and device, electronic equipment and storage medium
CN112037235B (en) * 2020-08-27 2023-01-10 平安科技(深圳)有限公司 Injury picture automatic auditing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN105761260B (en) 2018-09-28

Similar Documents

Publication Publication Date Title
CN105761260A (en) Skin image affected part segmentation method
Song et al. A deep learning based framework for accurate segmentation of cervical cytoplasm and nuclei
Jiang et al. A novel white blood cell segmentation scheme using scale-space filtering and watershed clustering
Gómez-Moreno et al. Goal evaluation of segmentation algorithms for traffic sign recognition
CN102968782B (en) In a kind of coloured image, remarkable object takes method automatically
CN103473739B (en) A kind of Leukocyte Image Accurate Segmentation method and system based on support vector machine
Wu et al. A novel color image segmentation method and its application to white blood cell image analysis
CN105787929B (en) Skin rash point extracting method based on spot detection
CN104751142A (en) Natural scene text detection algorithm based on stroke features
Duan et al. A WBC segmentation methord based on HSI color space
CN108009472A (en) A kind of finger back arthrosis line recognition methods based on convolutional neural networks and Bayes classifier
TWI711008B (en) A method for positioning bone marrow white blood cells based on saturation clustering
CN109446984A (en) Traffic sign recognition method in natural scene
CN104021566A (en) GrabCut algorithm-based automatic segmentation method of tongue diagnosis image
CN104766316A (en) Novel lip segmentation algorithm for traditional Chinese medical inspection diagnosis
CN108335294A (en) The power distribution room abnormality image-recognizing method of complex condition
Zhang et al. A combined algorithm for video text extraction
Lin et al. Image segmentation based on edge detection and region growing for thinprep-cervical smear
Garg et al. Color based segmentation using K-mean clustering and watershed segmentation
Zhou et al. A novel adaptive local thresholding approach for segmentation of HEp-2 cell images
CN105913434A (en) Leukocyte positioning and iterative segmentation method
Rege et al. Automatic leukemia identification system using otsu image segmentation and mser approach for microscopic smear image database
Li et al. Automatic detection of leukocytes for cytometry with color decomposition
Vidal et al. A fully automated approach to prostate biopsy segmentation based on level-set and mean filtering
Kumar et al. Segmentation of retinal lesions in fundus images: a patch based approach using encoder-decoder neural network

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180928

Termination date: 20200215

CF01 Termination of patent right due to non-payment of annual fee