Senior Fitness - Exercise and Nutrition for Aging Men and Women
FREE Article Feed for your website.
Home Ownership Magazine
Party Planning Information
Article Marketing Resources
Bio-Medical Research Article Database
Informative Articles on Life, Love and Happiness
Tutorials on Business to Writing
Famous Quotes from Famous People
Song Lyric Information
New US Patent Information
Comprehensive List of Content by Category
Online Auctions and Shopping Related Articles
Article Search
Most Recent Articles
Title: Oblique angled suspension caster fork for wheelchairs
Patent Number: 6,892,421 Issued on 05/17/2005 to Cooper,   et al.

Title: Methods and systems for implementing a profitability model
Patent Number: 7,124,104 Issued on 10/17/2006 to Casciano,   et al.

Title: Process for the preparation of aryl-pyridinyl compounds
Patent Number: 6,765,097 Issued on 07/20/2004 to Giordano,   et al.

Title: Removable mother/daughter peripheral card
Patent Number: 6,893,268 Issued on 05/17/2005 to Harari,   et al.

Title: Feed conveyor/rock trap and header drive for an agricultural combine
Patent Number: 6,705,067 Issued on 03/16/2004 to Schroeder,   et al.

Title: Computer-generated hologram and its fabrication process, reflector using a computer-generated hologram, and reflective liquid crystal display
Patent Number: 7,054,044 Issued on 05/30/2006 to Hamano,   et al.

Title: Station identification for a local area augmentation system on a visual display
Patent Number: 6,950,036 Issued on 09/27/2005 to Snodgrass,   et al.

Title: Phenol resin forming material for pulley used in motor vehicles and phenol resin pulley for motor vehicles
Patent Number: 6,765,051 Issued on 07/20/2004 to Yazawa,   et al.

Title: Method and apparatus for dithering or undithering data words in a data stream
Patent Number: 7,054,037 Issued on 05/30/2006 to Mevissen

Title: Methods and apparatus for controlling a motor/generator
Patent Number: 7,116,073 Issued on 10/03/2006 to Sorkin

Title: Unified control of vehicle dynamics using force and moment control
Patent Number: 6,892,123 Issued on 05/10/2005 to Hac

Title: Polygon mirror and optical scanning device having the same
Patent Number: 7,054,047 Issued on 05/30/2006 to Tamaru

Title: Copy protection apparatus and method
Patent Number: 6,865,553 Issued on 03/08/2005 to Morito,   et al.

Title: Stacked polysilicon layer for boron penetration inhibition
Patent Number: 6,762,454 Issued on 07/13/2004 to Ibok,   et al.

Title: Optical sub-assembly module for suppressing optical back-reflection and effectively guiding light from light source to optical waveguide
Patent Number: 6,945,710 Issued on 09/20/2005 to Chen,   et al.

Title: Low-contaminative hose and rubber composition for use in making the same
Patent Number: 6,737,480 Issued on 05/18/2004 to Ikeda,   et al.

Title: Cup lid having combined straw slot depression and tear back lid retainer
Patent Number: 6,948,633 Issued on 09/27/2005 to Freek,   et al.

Title: High-accuracy capacitor digital-to-analog converter
Patent Number: 7,123,072 Issued on 10/17/2006 to Bu,   et al.

Title: Apparatus for adaptively adjusting a data receiver
Patent Number: 7,123,046 Issued on 10/17/2006 to Keeth

Title: Method of making multilevel MEMS structures
Patent Number: 6,861,363 Issued on 03/01/2005 to Harchanko,   et al.

Title: Marine vessel monitoring system
Patent Number: 6,816,088 Issued on 11/09/2004 to Knoska,   et al.

Title: Router bit system
Patent Number: 7,140,817 Issued on 11/28/2006 to Phillips,   et al.

Title: Concrete stamping apparatus
Patent Number: 7,140,804 Issued on 11/28/2006 to Gregg

Title: Imaging apparatus having a carrier support and drive arrangement
Patent Number: 7,140,793 Issued on 11/28/2006 to Cook

Title: Joint structure for power transmitting member and method for producing the same
Patent Number: 7,140,800 Issued on 11/28/2006 to Sugiyama,   et al.

Title: Casing arrangement
Patent Number: 7,140,836 Issued on 11/28/2006 to Balsdon

Title: Rotary-die-method and fill wedge for producing capsules, in particular soft capsules
Patent Number: 6,935,090 Issued on 08/30/2005 to Stolz

Title: Restraint coupling
Patent Number: 6,962,394 Issued on 11/08/2005 to Anthony,   et al.

Title: Corner cooled turbine nozzle
Patent Number: 7,140,835 Issued on 11/28/2006 to Lee,   et al.

Title: Attachment for forming shapes following excavation
Patent Number: 7,140,831 Issued on 11/28/2006 to Wollgast,   et al.

Title: Optical disc drive and optical disc discriminating method
Patent Number: 6,956,801 Issued on 10/18/2005 to Horimoto

Title: Method of drilling lateral wellbores from a slant well without utilizing a whipstock
Patent Number: 6,964,308 Issued on 11/15/2005 to Zupanick

Title: Manufacturing method of semiconductor device
Patent Number: 7,105,400 Issued on 09/12/2006 to Imai,   et al.

Title: Damper system with sealing plug
Patent Number: 6,796,328 Issued on 09/28/2004 to Myles

Title: Mixture fitting for a combustible gas burner system
Patent Number: 6,796,302 Issued on 09/28/2004 to Butler,   et al.

Title: Duct repairing material, repairing structure, and repairing method
Patent Number: 6,796,334 Issued on 09/28/2004 to Ishikawa,   et al.

Title: Optical viewer instrument with photographing function
Patent Number: 6,914,636 Issued on 07/05/2005 to Hirunuma,   et al.

Title: Internal combustion engine with valve train
Patent Number: 6,796,281 Issued on 09/28/2004 to Shimoyama,   et al.

Title: Method for diagnosing a network
Patent Number: 6,795,941 Issued on 09/21/2004 to Nickels

Title: Priority coloring for VLSI designs
Patent Number: 6,795,961 Issued on 09/21/2004 to Liebmann,   et al.

Title: Methods and apparatus for ManArray PE-PE switch control
Patent Number: 6,795,909 Issued on 09/21/2004 to Barry,   et al.

Title: Prevention of power state change in response to chassis intrusion when computer system is not in powered up power state
Patent Number: 6,795,926 Issued on 09/21/2004 to Matula,   et al.

Title: Ignition spark enhancing device
Patent Number: 6,796,298 Issued on 09/28/2004 to Kiker

Title: Intake pressure sensor arrangement for engine
Patent Number: 6,796,291 Issued on 09/28/2004 to Suzuki,   et al.

Title: Method and system for setting optical drive write strategies
Patent Number: 6,915,374 Issued on 07/05/2005 to Pereira

Title: Inductor and method for producing the same
Patent Number: 6,909,350 Issued on 06/21/2005 to Uriu,   et al.

Title: Diaphragm system
Patent Number: 6,796,336 Issued on 09/28/2004 to Ijspeert

Title: Fuel injection system for an internal combustion engine
Patent Number: 6,796,290 Issued on 09/28/2004 to Boehland,   et al.

Title: Handheld massager
Patent Number: 7,141,030 Issued on 11/28/2006 to Chen

Title: Use of inhaled NO as anti-inflammatory agent
Patent Number: 6,811,768 Issued on 11/02/2004 to Zapol,   et al.

Title: Multivalent MHC class II--peptide chimeras
Patent Number: 6,811,785 Issued on 11/02/2004 to Brumeanu,   et al.

Title: Support for an LCD monitor
Patent Number: 6,796,541 Issued on 09/28/2004 to Lu

Title: Multimedia interface for a communications network
Patent Number: 6,934,278 Issued on 08/23/2005 to Champa,   et al.

Title: Projection system using spatial filter
Patent Number: 7,140,737 Issued on 11/28/2006 to Kim,   et al.

Title: Helicobacter pylori proteins useful for vaccines and diagnostics
Patent Number: 7,141,244 Issued on 11/28/2006 to Covacci,   et al.

Title: High frequency coaxial jack
Patent Number: 6,932,634 Issued on 08/23/2005 to Cooper,   et al.

Title: Light source assembly, backlight assembly and liquid crystal display apparatus having the same
Patent Number: 7,140,750 Issued on 11/28/2006 to Kim

Title: Actuator for a micro-electromechanical valve assembly
Patent Number: 7,140,719 Issued on 11/28/2006 to Silverbrook

Title: Device for the continuous cabling and setting of yarns followed by additional heat treatment
Patent Number: 6,986,242 Issued on 01/17/2006 to Antouly

Title: Recessed lamp mount
Patent Number: 7,140,749 Issued on 11/28/2006 to Culbert

Title: Surface-mount semiconductor lighting apparatus
Patent Number: 7,140,742 Issued on 11/28/2006 to Pohlert,   et al.

Title: Pressure-contact type semiconductor device
Patent Number: 6,995,464 Issued on 02/07/2006 to Oota,   et al.

Title: Film bulk acoustic resonator (FBAR) with high thermal conductivity
Patent Number: 7,164,222 Issued on 01/16/2007 to Wang

Title: Trailer wheel lock
Patent Number: 6,796,154 Issued on 09/28/2004 to Gebow,   et al.

Title: Light beam adjusting device for vehicle
Patent Number: 7,140,759 Issued on 11/28/2006 to Tsai,   et al.

Title: Vehicle mirror assembly that includes light unit
Patent Number: 7,140,757 Issued on 11/28/2006 to Sakai

Title: Exterior rear view mirror having a chin strap and a repeater
Patent Number: 7,140,756 Issued on 11/28/2006 to McCloy,   et al.

Title: Process gas conditioning for tobacco dryers
Patent Number: 6,880,814 Issued on 04/19/2005 to Pluckhahn,   et al.

Title: Systems and methods using phonon mediated intersubband laser
Patent Number: 6,829,269 Issued on 12/07/2004 to Goodhue,   et al.

Title: Method of processing a proteinous material, a product so obtained, and use thereof
Patent Number: 6,866,879 Issued on 03/15/2005 to Vaarala,   et al.

Title: Method and apparatus for providing efficient application-level switching for multiplexed internet protocol media streams
Patent Number: 6,829,254 Issued on 12/07/2004 to Rajahalme,   et al.

Title: Fiber laser apparatus as well as optical multi/demultiplexer and image display apparatus therefor
Patent Number: 6,829,256 Issued on 12/07/2004 to Sugiyama,   et al.

Title: Semiconductor laser array
Patent Number: 6,829,265 Issued on 12/07/2004 to Nakatsuka,   et al.

Title: Synchronous servo control for a tunable laser
Patent Number: 6,829,268 Issued on 12/07/2004 to Pontis,   et al.

Title: Radiation system with inner and outer gantry parts
Patent Number: 6,865,254 Issued on 03/08/2005 to Nafstadius

Method for extracting feature of binary image Number:6,973,259 from the United States Patent and Trademark Office (PTO) owispatent

Home    Author Login    Submit Article    Article Search    Add Your Link    Edit Your Link    Contact Us    Advertising    Disclaimer

   

 
Web LinkGrinder.com

Top Breaking News
     Greek, Cypriot Leaders Resume Unification Talks in Nicosia by Nathan Morley
     Indonesia Tobacco Sales Grow, Raising Health Fears
     South Korea Allows Top Defector to Travel Overseas by VOA News

Title: Method for extracting feature of binary image

Abstract: Feature quantities such as an area, a circumferential length, end points, the center of gravity, and a moment are extracted for each image area. When one of the pixel immediately preceding the detected pixel on the same line and the pixel that is on the immediately preceding line and right above the detected pixel belongs to a prescribed image area after a pixel having a prescribed density is detected in scanning one line, the area number of the image area is inherited. The processing is performed sequentially on the succeeding pixels to store resulting image data are stored in a line buffer.

Patent Number: 6,973,259 Issued on 12/06/2005 to Todaka


Inventors: Todaka; Chiaki (Tokyo, JP)
Assignee: Nippon Chemi-Con Corporation (Tokyo, JP)
Appl. No.: 913937
Filed: February 18, 2000
PCT Filed: February 18, 2000
PCT NO: PCT/JP00/00949
371 Date: August 20, 2001
102(e) Date: August 20, 2001
PCT PUB.NO.: WO00/49569
PCT PUB. Date: August 24, 2000

Foreign Application Priority Data

Feb 19, 1999[JP]11-042295

Current U.S. Class: 392/190; 382/192; 382/193; 382/194
Intern'l Class: G06K 009/46
Field of Search: 382/180-190,191-192,199,201 358/404,444,474


References Cited [Referenced By]

U.S. Patent Documents
4183013Jan., 1980Agrawala et al.
5748777May., 1998Katayama et al.
6483942Nov., 2002Curry.
Foreign Patent Documents
5-120425May., 1993JP.
5-258056Oct., 1993JP.
7-175925Jul., 1995JP.
7-175932Jul., 1995JP.

Primary Examiner: Ahmed; Samir
Assistant Examiner: Le; Brian
Attorney, Agent or Firm: Young & Thompson

Claims



1. A method for extracting feature quantities of a binary image by scanning, image data that is a binary image to be displayed in one frame, comprising the steps of:

A) in scanning one line of image data, when a detected pixel has a prescribed density, checking an image area content of each of a first pixel immediately preceding the detected pixel on the one line and a content of a second pixel that is on an immediately preceding line and right above the detected pixel to determine, based on the image area content, if the detected pixel belongs to an image area of the first pixel or an image area of the second pixel;

B) when the detected pixel belongs to the image area of the first pixel or the image area of the second pixel, having the detected pixel inherit an area number of the image area of the first pixel and the second pixel to which the detected pixel was determined to belong;

C) performing the above processing steps A)-B) sequentially on succeeding pixels to store resulting image data in a line buffer;

D) after the scanning of the one line has been completed, scanning the line buffer in a reverse direction and modifying the image area content of consecutive pixels having different area numbers to have a same area number when the consecutive pixels belong to respective image areas but have different area numbers; and

E) repeating the line scanning of steps A)-D) to a last line of one frame to store feature quantities for each image area.

2. A method for extracting feature quantities of a binary image according to claim 1, comprising the steps of:

when step A) determines that the detected pixel belongs to both the image area of the first pixel and the image area of the second pixel, having the detected pixel inherit the area number of the image area of the second pixel right above the detected pixel, the first pixel and the second pixel belonging to different image areas.

3. A method for extracting feature quantities of a binary image according to claim 1, further comprising a step of, after step B), performing scanning of the one line of the image data to identify N pixels (N being an integer greater than or equal to 1) that follows a first image area having a prescribed first area number that has just terminated, the N pixels forming semi-image areas adjacent the first image area.

4. A method for extracting feature quantities of a binary image according to claim 1, further comprising a step of performing, after step B), scanning one line of the image data, on the immediately preceding line, to identify N pixels (N being an integer greater than or equal to 1) that follows an image area having the same area number that has just terminated as semi-image areas of an image area that is adjacent from right above when the image area having a prescribed area number terminated at the pixel that is located right above on immediately preceding line.

5. A method for extracting feature quantities of a binary image further comprising a step of scanning, after the scanning of the one line has completed according to claim 3, the line buffer in a reverse direction and modifying the different area numbers to a common area number when identifying consecutive pixels belong to respective image areas and semi-image areas but have having different area numbers.

6. A method for extracting feature quantities of a binary image according to claim 2, further comprising a step of, after step B), performing scanning of the one line of the image data to identify N pixels (N being an integer greater than or equal to 1) that follows a first image area having a prescribed first area number that has just terminated, the N pixels forming semi-image areas adjacent the first image area.

7. A method for extracting feature quantities of a binary image according to claim 2, further comprising a step of performing, after step B), scanning one line of the image data, on the immediately preceding line, to identify N pixels (N being an integer greater than or equal to 1) that follows an image area having the same area number that has just terminated as semi-image areas of an image area that is adjacent from right above when the image area having a prescribed area number terminated at the pixel that is located right above on immediately preceding line.

8. A method for extracting feature quantities of a binary image further comprising a step of scanning, after the scanning of the one line has completed according to claim 4, the line buffer in a reverse direction and modifying the different area numbers to a common area number when identifying consecutive pixels belong to respective image areas and semi-image areas but having different area numbers.

9. The method for extracting feature quantities of a binary image of claim 1, wherein, the feature quantities are an area, a circumferential length, end points, a center of gravity, and a moment of an image area.

10. The method for extracting feature quantities of a binary image of claim 1, wherein, the scanning is a raster scanning method.

11. A method for extracting feature quantities of a binary image by scanning, image data that is a binary image to be displayed in one frame, comprising the steps of:

A) scanning one line of image data, when a detected pixel has a prescribed density, checking an image area content of only each of a first pixel immediately preceding the detected pixel on the one line and a content of a second pixel that is on an immediately preceding line and right above the detected pixel to determine, based on the image area content, if the detected pixel belongs to a first image area of the first pixel or a second image area of the second pixel;

B) when the detected pixel belongs to one of the first and second image areas, having the detected pixel inherit an area number of one of the first and second image areas to which the detected pixel was determined to belong;

C) performing the above processing steps A)-B) sequentially on succeeding pixels to store resulting image data in a line buffer;

D) after the scanning of the one line has been completed, scanning the line buffer in a reverse direction and modifying the image area content of consecutive pixels having different area numbers to have a same area number when the consecutive pixels belong to respective image areas but have different area numbers; and

E) repeating the line scanning of steps A)-D) to a last line of one frame to store feature quantities for each image area.

12. A method for extracting feature quantities of a binary image according to claim 1, comprising the further step of:

when step A) determines that the detected pixel belongs to both the first image area of the first pixel and the second image area of the second pixel, having the detected pixel inherit the area number of the second image area of the second pixel right above the detected pixel.

13. A method for extracting feature quantities of a binary image according to claim 11, further comprising a step of, after step B), performing scanning of the one line of the image data to identify N pixels (N being an integer greater than or equal to 1) that follows a just-terminated image area having a prescribed area number that has just terminated, the N pixels forming semi-image areas adjacent the just-terminated image area.

14. A method for extracting feature quantities of a binary image according to claim 11, further comprising a step of performing, after step B), scanning one line of the image data, on the immediately preceding line, to identify N pixels (N being an integer greater than or equal to 1) that follows an image area having the same area number that has just terminated as semi-image areas of an image area that is adjacent from right above when the image area having a prescribed area number terminated at the pixel that is located right above on immediately preceding line.

15. A method for extracting feature quantities of a binary image further comprising a step of scanning, after the scanning of the one line has completed according to claim 13, the line buffer in a reverse direction and modifying the different area numbers to a common area number when identifying consecutive pixels belong to respective image areas and semi-image areas but having different area numbers.

16. A method for extracting feature quantities of a binary image according to claim 12, further comprising a step of, after step B), performing scanning of the one line of the image data to identify N pixels (N being an integer greater than or equal to 1) that follows a just-terminated image area having a prescribed first area number that has just terminated, the N pixels forming semi-image areas adjacent the just-terminated image area.

17. A method for extracting feature quantities of a binary image according to claim 12, further comprising a step of performing, after step B), scanning one line of the image data, on the immediately preceding line, to identify N pixels (N being an integer greater than or equal to 1) that follows an image area having the same area number that has just terminated as semi-image areas of an image area that is adjacent from right above when the image area having a prescribed area number terminated at the pixel that is located right above on immediately preceding line.

18. A method for extracting feature quantities of a binary image further comprising a step of scanning, after the scanning of the one line has completed according to claim 14, the line buffer in a reverse direction and modifying the different area numbers to a common area number when identifying consecutive pixels belong to respective image areas and semi-image areas but having different area numbers.

19. The method for extracting feature quantities of a binary image of claim 11, wherein, the feature quantities are an area, a circumferential length, end points, a center of gravity, and a moment of an image area.

20. The method for extracting feature quantities of a binary image of claim 1, wherein, the scanning is a raster scanning method.
Description



TECHNICAL FIELD

The present invention relates to a method for extracting feature quantities of image data that is used in an image processing apparatus etc. In particular, the invention relates to a binary image feature quantity extracting method capable of extracting, properly and smoothly, an area, a circumferential length, end point coordinates, coordinates of the center of gravity, a second moment, etc. of each image area by scanning binary image data once.

BACKGROUND ART

Conventionally, various methods were proposed for a means for extracting desired feature quantities from binary image data obtained by binarizing an image signal received from an imaging device such as a CCD camera.

For example, a method is known in which feature quantities such as an area, the center of gravity, and a principle axis angle are extracted in real time by preprocessing (binarizing) an image signal in the same time series as of a video signal, scanning the pixels of resulting binary data by a raster scanning method or the like, detecting an image from a "1" and "0" arrangement of the pixels, and performing various calculations such as surface integral on the pixels belonging to a region of the image.

However, in this extracting method, surface integral is performed by extracting (accessing) all pixels to extract feature quantities such as an area and hence this method includes a number of processing steps. As such, this method is not suitable for high-speed processing.

In view of the above, conventionally, a binary image feature quantity extracting apparatus was proposed having a binary image storing means for storing a binary image; an outline tracing means for obtaining, as a closed loop, position coordinates of outline pixels by tracing the outline of the binary image that is stored in the binary image storing means; and a feature quantity calculating means for extracting feature quantities relating to a figure that is enclosed by the closed loop by integrating, along the closed loop representing the outline, a monomial relating to the position coordinates of the outline pixels obtained by the outline tracing means. The outline tracing means extracts an outline of an object or the like that exists in image data and traces the outline. The feature quantity calculating means calculates a 0th moment, a first moment, etc. based on position coordinate data of the pixels that constitute the outline, and calculates an area based on the 0th moment and calculates the center of gravity of the image based on the 0th moment and the first moment. In this manner, feature quantities such as an area and the center of gravity are detected based on a small number of pixels, that is, pixel data that constitute an outline, while outline tracing (image detection) is performed.

The above conventional binary image quantity extracting apparatus extracts an outline of an image that exists in image data and traces the outline, and performs calculations such as calculating several kinds of moments based on position coordinate data of the pixels that constitute the outline, calculating an area based on a 0th moment, and calculating the center of gravity of the image based on the 0th moment and the first moment. Although the data processing amount can be reduced, the calculation processing is still complex and there are certain limits in the facilitation and the speed increase of the data processing for extracting feature quantities.

In general, the following feature quantities of image data are known.

1. Area S

This feature quantity can be represented by the total number of pixels of a subject image area. With this feature quantity, very small noise can be eliminated easily because it has small values. FIG. 8 shows the areas S1 and S2 of image areas A1 and A2, respectively.

2. Circumferential Length L

This feature quantity can be represented by the number of end pixels of a subject image area (four-side adjacency). Rather than used independently, its value is effective when used as a ratio to the area, that is, a feature quantity representing the degree of roundness. FIG. 8 shows the circumferential lengths L1 and L2 of the image areas A1 and A2, respectively.

3. End Point Coordinates (Top End, Bottom End, Right End, Left End)

These feature quantities represent the coordinates of the top end, bottom end, right end, and left end of a subject image area. Their values provide position information of the subject image area and are useful for accessing the image data directly. FIG. 9 shows top coordinates (X1u, Y1u), left end coordinates (X1l, Y1l), bottom coordinates (X1d, Y1d), and right end coordinates (X1r, Y1r) of the image area A1 and top coordinates (X2u, Y2u), left end coordinates (X2l, Y2l), bottom coordinates (X2d, Y2d), and right end coordinates (X2r, Y2r) of the image area A2.

4. Center of Gravity Coordinates

This feature quantity can be represented by center of gravity coordinates of a subject image area. These coordinate values are not necessarily located inside the subject image area. Their values can be calculated according to the following equation and serve to calculate the distance between image areas, for example. ##EQU1## ##EQU2##

FIG. 10 shows center of gravity coordinates (X1g, Y1g) of the image area A1 and center of gravity coordinates (X2g, Y2g) of the image area A2.

5. Second Moment

This feature quantity can be represented by the major axis length a, minor axis length b, and angle θ of an ellipse having the same moment with calculation of a second moment of a subject image area. The values of these parameters can be calculated according to the following formulae: ##EQU3## ##EQU4## ##EQU5## ##EQU6## ##EQU7## ##EQU8## ##EQU9## ##EQU10##

FIG. 11 shows a second moment (a1, b1, θ1) of the image area A1 and a second moment (a2, b2, θ2) of the image area A2.

After intensive studies and investigations, the inventor has found that an area, a circumferential length, end point coordinates, center of gravity coordinates, a second moment, etc. can be extracted properly and smoothly for each image area by the following method. That is, in extracting feature quantities such as an area, a circumferential length, end points, the center of gravity, and a moment of an image area by scanning, by a raster scanning method or the like, image data that is a binary to be displayed in one frame, setting is so made that when a pixel having a prescribed density is detected in scanning one line of the image data, the content of each of a pixel immediately preceding the detected pixel on the same line and a pixel that is on an immediately preceding line and right above the detected pixel is checked, and that an area number of the one image area is inherited when the detected pixel belongs to the same image area as one of the above pixels. The above processing is performed sequentially on the succeeding pixels to store resulting image data in a line buffer, whereby the scanning of the one line is finished. At this time, when consecutive pixels belong to respective image areas but have different area numbers after the scanning of the one line has completed, the line buffer in the reverse direction is scanned to modified the different area numbers to the same area number. Setting is so made that line scanning is performed over the entire one frame, that is, to its last line, in the same manner as performed above, whereby feature quantities are stored for each image area.

Therefore, an object of the invention is to a binary image feature quantity extracting method capable of extracting, properly and easily, necessary feature quantities of each image area by scanning binary image data once.

DISCLOSURE OF THE INVENTION

To attain the above object, the present invention provides A method for extracting feature quantities of a binary image for extracting feature quantities such as an area, a circumferential length, end points, a center of gravity, and a moment of an image area by scanning, by a raster scanning method or the like, image data that is a binary image to be displayed in one frame, characterized by comprising the steps of checking a content of each of a pixel immediately preceding the detected pixel on the same line and a pixel that is on an immediately preceding line and right above the detected pixel when a pixel having a prescribed density is detected in scanning one line of image data, inheriting an area number of the one image area when the detected pixel belongs to the same image area as one of the above pixels, performing the above processing sequentially on succeeding pixels to store resulting image data in a line buffer, scanning the line buffer in a reverse direction and modifying the different area numbers to the same area number when consecutive pixels belong to respective image areas but have different area numbers after the scanning of the one line has completed, and repeating the same line scanning to a last line of one frame to store feature quantities for each image area.

The above method may further comprise the steps of checking a content of each of a pixel immediately preceding the detected pixel on the same line and a pixel that is on an immediately preceding line and right above the detected pixel when a pixel having a prescribed density is detected in scanning one line of the image data, and inheriting an area number of the image area of the pixel right above the detected pixel with priority given to it when the detected pixel belongs to image areas of both of the above pixels.

The binary image feature quantity extracting method according to the invention, may further comprise a step of performing scanning one line of the image data to provide N pixels (N being an integer greater than or equal to 1) that follows an image area having a prescribed area number that has just terminated as semi-image areas of an adjacent image area.

The above method may further comprise a step of performing scanning one line of the image data to provide N pixels (N being an integer greater than or equal to 1) that follows an image area having the same area number that has just terminated as semi-image areas of an image area that is adjacent from right above when the image area having a prescribed area number terminated at the pixel that is located right above on an immediately preceding line.

The above method may further comprise a step of scanning the line buffer in a reverse direction and modifying the different area numbers to the common area number when consecutive pixels belong to respective image areas and semi-image areas but have different area numbers after the scanning of the one line has completed.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is an explanatory diagram showing a data structure of feature quantities of image data on which a binary image feature quantity extracting method according to the present invention is practiced, that is, a memory format to be used for storing feature quantities of image data;

FIG. 2 is an image data explanatory diagram showing how an image area of image data is generated in the binary image feature quantity extracting method according to the invention;

FIGS. 3(a)-3(c) are image data explanatory diagrams showing different ways an image area of image data is inherited in the binary image feature quantity extracting method according to the invention;

FIGS. 4(a) and 4(b) are image data explanatory diagrams showing how image areas of image data are combined with each other in the binary image feature quantity extracting method according to the invention;

FIG. 5 is an image data explanatory diagram showing how a connection image area of image data is generated in the binary image feature quantity extracting method according to the invention;

FIG. 6 is an image data explanatory diagram showing how a connected image area of image data is inherited in the binary image feature quantity extracting method according to the invention;

FIGS. 7(a) and 7(b) are image data explanatory diagrams showing how connected image areas of image data are combined with each other in the binary image feature quantity extracting method according to the invention;

FIG. 8 is an image data explanatory diagram showing areas and circumferential lengths of respective subject image areas of image data in a binary image feature quantity extracting method;

FIG. 9 is an image data explanatory diagram showing end point coordinates of subject image areas of image data in a binary image feature quantity extracting method;

FIG. 10 is an image data explanatory diagram showing center of gravity coordinates of subject image areas of image data in a binary image feature quantity extracting method; and

FIG. 11 is an image data explanatory diagram showing second moments of respective subject image areas of image data in a binary image feature quantity extracting method.

BEST EMBODIENT FOR CARRYING OUT THE INVENTION

Next, the best embodiment for carrying out a binary image feature quantity extracting method according to the present invention will be described in detail with reference to the accompanying drawings.

FIG. 1 shows a binary image feature quantity extracting method according to an embodiment of the invention. Specifically, FIG. 1 shows a data structure for each image area for which feature quantities should be extracted, that is, a memory format to be used for storing feature quantities of image data. In this embodiment, the feature quantities of a binary image are an area, a circumferential length, end point coordinates, center of gravity coordinates, and a second moment of each image area An.

Therefore, for an image area An shown in FIG. 1, with an image area effectiveness flag as the head, feature quantities of image data are arranged in order of an area, a circumferential length, a top point x coordinate, a top point y coordinate, a bottom point x coordinate, a bottom point y coordinate, a left end point x coordinate, a left end point y coordinate, a right end point x coordinate, a right end point y coordinate, the sum of x's, the sum of y's, the sum of x*x's, the sum of y*y's, and the sum of x*y's.

Next, a method of extracting feature quantities of a binary image will be described.

1. Data Processing Relating to Feature Quantities

When image data of one picture is line-scanned, if a black pixel (any one of an effective image area) exists at coordinates (Xj, Yj), for example, the following writing processing is performed on a memory (line buffer) and data are stored there for feature quantities of the image data:
    • (1) Increment the area of the image area to which the pixel belongs.
    • Increment the circumferential length if the pixel belongs to the boundary of the image area.
    • Perform replacement if the pixel is located at an end of the image area (end point coordinates).
    • (4) Update the sum of x's (used for calculation of center of gravity coordinates).
    • (5) Update the sum of y's (used for calculation of center of gravity coordinates).
    • (6) Update the sum of x*x's (used for calculation of a second moment).
    • (7) Update the sum of y*y's (used for calculation of a second moment).
    • (8) Update the sum of x*y's (used for calculation of a second moment).
      2. Generation of Feature Quantities


  • In a scan of one line of image data, if a black pixel An is detected as mentioned above, as shown in FIG. 2 what image area the subject pixel An belongs to is determined by checking a pixel An-1 that immediately precedes the pixel An on the same line and a pixel An+1 that is located on the immediately preceding line and right above the pixel An. If neither pixel has an image area, a new image area A1 is generated.

    3. Inheritance of Feature Quantities

    In a scan of one line of image data, as shown in FIGS. 3(a)-3(c), the pixel An-1 immediately preceding the subject pixel An and/or the pixel An+1 right above the subject pixel An is checked and what image area each pixel belongs to is determined. If the pixel An-1 immediately preceding the subject pixel An has an image area A2, the subject pixel An inherits the image area A2 at its side (see FIG. 3(a)).

    If the pixel An+1 right above the subject pixel An has an image area A2, the subject pixel An inherits the image area A2 located right above (see FIG. 3(b)).

    If the pixel An-1 immediately preceding the subject pixel An and the pixel An+1 right above the subject pixel An have image areas A1 and A2, respectively, the subject pixel An inherits the image area A2 of the pixel An+1 right above the subject pixel An with priority given to it (upwardness priority; see FIG. 3(c)).

    4. Combining of Feature Quantities

    When a scan of one line of image data has finished after repetition of the above-described generation and inheritance of feature quantities, there may be a case that consecutive image areas have different area numbers as shown in FIG. 4(a). In this case, to combine the image areas, the line buffer is scanned in the reverse direction. Then, as shown in FIG. 4(b), all the pixels adjacent to each other are caused to belong to the same image area A2 and the image areas to be used for the data processing for feature quantities are combined with each other. Portions that have been emptied of data are initialized and are subjected to used in the next data processing.

    By performing the generation, inheritance, and combining of feature quantities for each one-line scan of the image data in the above-described manner to the last line, individual feature quantities can be stored in the memory (line buffer) according to the data structure (memory format) shown in FIG. 1 on an image area basis.

    5. Connection of Feature Quantities

    It is effective to regard, as belonging to the same image area, image areas that have been obtained as a result of the above processing of generation, inheritance, and combining of feature quantities and that do not satisfy the conditions of combining and distant from each other by several pixels. That is, this is necessary for image data of "dot marking," "blurring," or the like.

    Specifically, two image areas that are distance from each other by N pixels, say, two pixels (N=2), are connected to each other to form the same area with the two adjacent pixels regarded as belong to respective semi-image areas. This connection technique is used in the same manner as the above processing of generation, inheritance, and combining of feature quantities.

    (a) Generation of Connected Image Area

    As shown in FIG. 5, after generation of an image area A2.0 at a subject pixel An, semi-image areas A2.1 and A2.2 (N=2) are generated at the two following pixels An+1 and An+2 and distance information is stored in the line buffer together with the information of the image area A2.0.

    (b) Inheritance of Connected Image Area

    Similarly, if the pixel An+1 right above a subject pixel An has an image area A2.0, inheritance is made with semi-image areas A2.1 and A2.2 generated at two pixels adjacent to each other, that is, the subject pixel An and the immediately following pixel An+1, respectively.

    (c) Combining of Connected Image Areas

    If consecutive image areas have different area numbers as shown in FIG. 7(a), the line buffer is scanned in the reverse direction and adjacent pixels are caused to belong to the same area (or its semi-image areas) as shown in FIG. 7(b).

    Therefore, the above-described binary image feature quantity extracting method according to the invention makes it possible to extract, properly and smoothly, feature quantities that are an area, a circumferential length, end point coordinates, center of gravity coordinates, and a second moment of each image area based on data relating to feature quantities that have been extracted for the image area.

    Although the best embodiment for carrying out the embodiment has been described above, the invention is not limited to the above embodiment and various design modifications are possible without departing from the spirit and scope of the invention.

    INDUSTRIAL APPLICABILITY

    The invention provides a method for extracting feature quantities of a binary image for extracting feature quantities such as an area, a circumferential length, end points, a center of gravity, and a moment of an image area by scanning, by a raster scanning method or the like, image data that is a binary image to be displayed in one frame, characterized by comprising the steps of checking a content of each of a pixel immediately preceding the detected pixel on the same line and a pixel that is on an immediately preceding line and right above the detected pixel when a pixel having a prescribed density is detected in scanning one line of image data, inheriting an area number of the one image area when the detected pixel belongs to the same image area as one of the above pixels, performing the above processing sequentially on succeeding pixels to store resulting image data in a line buffer, scanning the line buffer in a reverse direction and modifying the different area numbers to the same area number when consecutive pixels belong to respective image areas but have different area numbers after the scanning of the one line has completed, and repeating the same line scanning to a last line of one frame to store feature quantities for each image area. In this manner, an area, a circumferential length, end point coordinates, center of gravity coordinates, a second moment, etc. can be extracted properly and smoothly for each image area by scanning binary image data once.

    *


    Free Web Sudoku Puzzles.
    Solve with your browser.
                1    
    8   3 7       4  
      6 1 5     2    
            8 1     6
        5       8    
    9     3 6        
        4     8 5 2  
      3       7 4   9
        8            
    What is it?



    Add Your Site · Terms Of Service · Privacy Policy


    DISCLAIMER
    Linkgrinder is a free service that searches the Internet and indexes all files found so that you may search quickly and easily for shared files. These files are created and made available individually by users whose identity we are not aware of and who we have no control over. In essence we function like a search engine tool; these files ARE NOT STORED OR SERVED BY OUR NETWORK. We are not responsible for any materials obtained by using our service. We do not monitor any of the contents of these files. These files may contain viruses, illegal materials, materials inappropriate for minors, offensive files and the like. BY USING OUR SERVICE, YOU ASSUME FULL RESPONSIBILITY FOR DOWNLOADING THESE MATERIALS AND WILL INDEMNIFY US FOR ANY DAMAGES THAT MAY BE INCURRED.

    For More Specific Information VIEW OUR TERMS OF SERVICE.

    Thank you and Enjoy!