Method for partitioning area, and inspection device
Abstract:
An area partitioning method for partitioning an image into a foreground and a background includes a foreground designation step of causing a user to designate a part of pixels in an area that should be the foreground in the image as a foreground designating pixel, an estimation step of estimating a foreground color distribution and a background color distribution based on a color of the foreground designating pixel designated by the user, and an area partition step of partitioning the image into a foreground area and a background area with the estimated foreground color distribution and the estimated background color distribution as a condition. The estimation step includes dividing the color distribution of the image into a plurality of clusters, and selecting at least one cluster having a large relationship with the foreground designating pixel designated by the user in the plurality of clusters as the foreground color distribution.
Public/Granted literature
Information query
Patent Agency Ranking
0/0