Optimal binarization of gray-scaled digital images via fuzzy reasoning
First Claim
1. A computer-based method for converting a gray-scale multiple pixel image to a binary image comprising the steps of:
- a) loading a gray-scale image from an external source of images into an operating memory of a computer;
b) determining an optimal threshold value for converting said gray scale image to binary by executing an application with said computer, said application carrying out the steps of;
1) forming a fuzzy membership function which identifies a membership value for each pixel in said image, said membership function including a first group of gray level values at or below a selected intensity threshold that are designated as corresponding to pixels belonging to a first characteristic class of the image and a second group of gray level values above said selected intensity threshold that are designated as corresponding to pixels belonging to a second characteristic class of said image, said first and second classes being selected from the group comprising a background class and a foreground class;
2) calculating an entropy factor for each possible membership value by applying a linear entropy factor function to said membership values;
3) employing said entropy factor to calculate a fuzzy entropy measure for said image with said selected intensity threshold;
4) repeating steps (1)-(3) for a plurality of additional selected intensity thresholds;
5) selecting as optimal, a one of said intensity thresholds that provides the lowest fuzzy entropy measure; and
c) converting said gray scale image to a binary image using said optimal intensity threshold by assigning any pixels in said gray scale image having a gray level above said optimal intensity threshold to a first binary value and assigning any pixels in said gray scale image having a gray level at or below said optimal intensity threshold to a second binary value.
1 Assignment
0 Petitions
Accused Products
Abstract
A technique for finding an optimal threshold for binarization of a gray scale image employs fuzzy reasoning. A triangular membership function is employed which is dependent on the degree to which the pixels in the image belong to either the foreground class or the background class. Use of a simplified linear fuzzy entropy factor function facilitates short execution times and use of membership values between 0.0 and 1.0 for improved accuracy. To improve accuracy further, the membership function employs lower and upper bound gray level limits that can vary from image to image and are selected to be equal to the minimum and the maximum gray levels, respectively, that are present in the image to be converted. To identify the optimal binarization threshold, an iterative process is employed in which different possible thresholds are tested and the one providing the minimum fuzzy entropy measure is selected.
50 Citations
18 Claims
-
1. A computer-based method for converting a gray-scale multiple pixel image to a binary image comprising the steps of:
-
a) loading a gray-scale image from an external source of images into an operating memory of a computer; b) determining an optimal threshold value for converting said gray scale image to binary by executing an application with said computer, said application carrying out the steps of; 1) forming a fuzzy membership function which identifies a membership value for each pixel in said image, said membership function including a first group of gray level values at or below a selected intensity threshold that are designated as corresponding to pixels belonging to a first characteristic class of the image and a second group of gray level values above said selected intensity threshold that are designated as corresponding to pixels belonging to a second characteristic class of said image, said first and second classes being selected from the group comprising a background class and a foreground class; 2) calculating an entropy factor for each possible membership value by applying a linear entropy factor function to said membership values; 3) employing said entropy factor to calculate a fuzzy entropy measure for said image with said selected intensity threshold; 4) repeating steps (1)-(3) for a plurality of additional selected intensity thresholds; 5) selecting as optimal, a one of said intensity thresholds that provides the lowest fuzzy entropy measure; and c) converting said gray scale image to a binary image using said optimal intensity threshold by assigning any pixels in said gray scale image having a gray level above said optimal intensity threshold to a first binary value and assigning any pixels in said gray scale image having a gray level at or below said optimal intensity threshold to a second binary value. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer-based method for converting a gray-scale multiple pixel image to a binary image comprising the steps of:
-
a) loading a gray-scale image from an external source of images into an operating memory of a computer; b) determining an optimal threshold value for converting said gray scale image to binary by executing an application with said computer, said application carrying out the steps of; 1) forming a fuzzy membership function which identifies a membership value for each gray level in said image, said membership function including a first group of gray level values at or below a selected intensity threshold that are designated as corresponding to pixels belonging to a first characteristic class of the image and a second group of gray level values above said selected intensity threshold that are designated as corresponding to pixels belonging to a second characteristic class of said image, said first and second classes being selected from the group comprising a background class and a foreground class;
a graph of said membership function including a first triangle representing gray levels belonging to said first characteristic class and having a lower bound at a lowest gray level MinZ that is present in said image where a membership value of 0.0 is assigned to MinZ, an upper bound at said selected threshold intensity T and a peak at an average gray level intensity of said first characteristic class where said membership value is 1.0; and
, a second triangle representing gray levels belonging to said second characteristic class and having a lower bound at said selected threshold intensity T, an upper bound at a highest gray level MaxZ that is present in said image and a peak membership value at an average gray level intensity of said second characteristic class where said membership value is 1.0;2) calculating an entropy factor for each possible membership value by applying a linear entropy factor function, Se[μ
I(z)], to said membership values, μ
i(z), where SE[μ
I(z)]=1−
I(z) for each gray level z in said image;3) employing said entropy factor to calculate a fuzzy entropy measure S(T) for said image with said selected intensity threshold T by using the equation; where, M=number of pixel row in said image;
N=number of pixel columns in said image; and
,H(z)=number of pixels in said image having gray level z; 4) repeating steps
1)-3) for a plurality of additional selected intensity thresholds; and5) selecting as optimal, a one of said intensity thresholds that provides the lowest fuzzy entropy measure; and c) converting said gray scale image to a binary image using said optimal intensity threshold by assigning any pixels in said gray scale image having a gray level above said optimal intensity threshold to a first binary value and assigning any pixels in said gray scale image having a gray level at or below said optimal intensity threshold to a second binary value.
-
-
10. A computer system for converting for converting a gray-scale multiple pixel image to a binary image comprising:
-
a) a processor; b) an operating memory readable by said processor; c) an external source of multiple pixel gray scale digital images; and d) a program embodied in said operating memory and executable by said processor for performing process steps for retrieving a multiple pixel gray scale digital image from said external source and converting said multiple pixel gray scale digital image into a binary image, said process steps comprising; 1) forming a fuzzy membership function which identifies a membership value for each pixel in said image, said membership function including a first group of gray level values at or below a selected intensity threshold that are designated as corresponding to pixels belonging to a first characteristic class of the image and a second group of gray level values above said selected intensity threshold that are designated as corresponding to pixels belonging to a second characteristic class of said image, said first and second classes being selected from the group comprising a background class and a foreground class; 2) calculating an entropy factor for each possible membership value by applying a linear entropy factor function to said membership values; 3) employing said entropy factor to calculate a fuzzy entropy measure for said image with said selected intensity threshold; 4) repeating steps
1)-3) for a plurality of additional selected intensity thresholds;5) selecting as optimal, a one of said intensity thresholds that provides the lowest fuzzy entropy measure; and 6) converting said gray scale image to a binary image using said optimal intensity threshold by assigning any pixels in said gray scale image having a gray level above said optimal intensity threshold to a first binary value and assigning any pixels in said gray scale image having a gray level at or below said optimal intensity threshold to a second binary value. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
-
-
18. A computer system for converting for converting a gray-scale multiple pixel image to a binary image comprising:
-
a) a processor; b) an operating memory readable by said processor; c) an external source of multiple pixel gray scale digital images; and d) a program embodied in said operating memory and executable by said processor for performing process steps for retrieving a multiple pixel gray scale digital image from said external source and converting said multiple pixel gray scale digital image into a binary image said process steps comprising;
;1) forming a fuzzy membership function which identifies a membership value for each gray level in said image, said membership function including a first group of gray level values at or below a selected intensity threshold that are designated as corresponding to pixels belonging to a first characteristic class of the image and a second group of gray level values above said selected intensity threshold that are designated as corresponding to pixels belonging to a second characteristic class of said image, said first and second classes being selected from the group comprising a background class and a foreground class;
a graph of said membership function including a first triangle representing gray levels belonging to said first characteristic class and having a lower bound at a lowest gray level MinZ that is present in said image where a membership value of 0.0 is assigned to MinZ, an upper bound at said selected threshold intensity T and a peak at an average gray level intensity of said first characteristic class where said membership value is 1.0; and
, a second triangle representing gray levels belonging to said second characteristic class and having a lower bound at said selected threshold intensity T, an upper bound at a highest gray level MaxZ that is present in said image and a peak membership value at an average gray level intensity of said second characteristic class where said membership value is 1.0;2) calculating an entropy factor for each possible membership value by applying a linear entropy factor function, Se[μ
I(z)], to said membership values, μ
I(z), where Se[μ
I(z)]=1−
μ
I(z) for each gray level z in said image;3) employing said entropy factor to calculate a fuzzy entropy measure S(T) for said image with said selected intensity threshold T by using the equation; where, M=number of pixel row in said image;
N=number of pixel columns in said image; and
, H(z)=number of pixels in said image having gray level z;4) repeating steps
1)-3) for a plurality of additional selected intensity thresholds;5) selecting as optimal, a one of said intensity thresholds that provides the lowest fuzzy entropy measure; and 6) converting said gray scale image to a binary image using said optimal intensity threshold by assigning any pixels in said gray scale image having a gray level above said optimal intensity threshold to a first binary value and assigning any pixels in said gray scale image having a gray level at or below said optimal intensity threshold to a second binary value.
-
Specification