Claims
- 1. A method for determining a set of binarization characteristic values representing area A.sub.0, threshold t.sub.0, and gradient .gamma..sub.0 to be used for threshold control in processing video signals of a target object comprising the steps of:
- generating a histogram for each of a plurality of reference objects representing an area of each of the objects in area percents for different values of a binary coding threshold value;
- determining whether each of the plurality of reference objects is a bright object or a dark object in accordance with the histogram for that object;
- determining a plurality of sets of reference binary coding threshold values, corresponding areas, and gradients, each of said sets corresponding to a different one of a plurality of reference objects, in accordance with the results of the bright/dark determining step;
- storing said sets of reference binary coding threshold values in a memory device;
- selecting from the memory device the stored set of reference binarization characteristic values for a reference object corresponding to the target object; and
- generating from said selected reference set of binarization characteristic values the binary coding threshold value for use in processing the video signals of the target object to inspect the target object.
- 2. The method according to claim 1, wherein the step of determining the sets of reference binary coding threshold values comprises the steps of:
- forming a reference area percent histogram associated with each of the reference objects by extracting feature data from video signals of the reference objects, said feature data including the area percents of the reference objects having a selected brightness characteristic at selected signal threshold levels; and
- deriving binary-coded characteristic parameters (A.sub.0, to, .gamma..sub.0) including a most suitable threshold value from each of said histograms.
- 3. A method according to claim 2, wherein said step of storing includes storing in the memory each of said histograms and said derived binary-coded characteristic values and threshold value derived therefrom at a processing time for threshold control.
- 4. A method according to claim 3, wherein said step of generating the binary coding threshold to control the binarization threshold comprises the steps of:
- calculating a weighted mean value as a dynamic mean value for said feature data extracted from said video signals of the reference object corresponding to the target object; and
- setting the threshold of the set of binarization characteristic values for the target object to said calculated predetermined weighted mean value.
Priority Claims (1)
| Number |
Date |
Country |
Kind |
| 59-109665 |
May 1984 |
JPX |
|
Parent Case Info
This is a Continuation-In-Part of Ser. No. 737,437, filed May 24, 1985, now abandoned.
US Referenced Citations (14)
Non-Patent Literature Citations (1)
| Entry |
| "Boundary Extraction Method and Algorithm", IBM Tech. Disclosure, Chow et al., pp. 1301-1304, Sep. 1971. |
Continuation in Parts (1)
|
Number |
Date |
Country |
| Parent |
737437 |
May 1985 |
|