A method and device for image segmentation

An image segmentation and image technology, applied in the detection field, can solve problems such as blurred edges, single color of segmented objects, low contrast, etc., achieve fast and accurate segmentation, save time and manpower and material resources

Active Publication Date: 2019-09-24
CHINA AGRI UNIV
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The watershed algorithm has good robustness, but it is easily affected by noise; the over-segmentation phenomenon of the adaptive watershed algorithm is very serious, which can easily lead to the loss of image target information or too much segmentation; the LazySnapping algorithm performs segmentation, which can realize the extraction of specific colors
[0004] For segmentation objects with single color, fuzzy edges and low contrast, complex background objects may be similar to target feature values, and the problem that the specific target that the user wants to select is not easy to segment is still unsolved.

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 and device for image segmentation
  • A method and device for image segmentation
  • A method and device for image segmentation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0052] figure 1 It is a flowchart of an image segmentation method provided by an embodiment of the present invention.

[0053] Such as figure 1 A kind of image segmentation method shown, comprises:

[0054] S101. Acquire the same first to-be-processed image and second to-be-processed image; the first to-be-processed image and the second to-be-processed image include at least one first area and one second area, and in the at least one first area including at least one target region to be segmented;

[0055] It can be understood that to obtain the same first image to be processed and the second image to be processed can be to take a color image and then copy it, then two...

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 present invention provides an image segmentation method and apparatus. The method comprises the steps of acquiring a first to-be-processed image and a second to-be-processed image that are identical; pre-processing the first to-be-processed image and then converting the pre-processed first to-be-processed image into a gradient image; acquiring a mark point set of each first area in the gradient image and coordinate values and a gray value of a pixel of the gradient image; and determining coordinate values of each pixel on a contour line of a to-be-segmented target area according to the foregoing parameters, a pre-established foreground grayscale histogram and a pre-established background grayscale histogram, and setting a color different from the to-be-segmented target area for an area except the to-be-segmented target area on the second to-be-processed image, so as to segment the to-be-segmented target area. Through adoption of the method and apparatus, rapid yet accurate segmentation is realized.

Description

technical field [0001] The invention relates to the technical field of detection, in particular to an image segmentation method and device. Background technique [0002] With the development of my country's economy and society, people's quality of life has been significantly improved. The demand for meat products is not only satisfied in quantity, but also has high requirements for the quality of meat products. The quality and safety of pork products are closely related to the people's expectations The quality of life is closely related. Pig breeding is not only related to the development of my country's economy, but also related to people's livelihood and national economy and social stability. However, epidemics pose a serious threat to pig breeding and production. Therefore, segmenting specific pig images is of great significance for future pig target detection, recognition, and disease diagnosis and treatment. With the development of image processing technology, image seg...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06T7/11G06T5/00
CPCG06T2207/20152G06T5/73
Inventor 孙龙清李玥邹远炳李亿杨
Owner CHINA AGRI 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