Nova Patents
EP1507232A2

Method for classifying a digital image

Abstract

A method (Img_Class) for associating with a digital image (ImgRGB) a class of a plurality of predefined classes characterized by respective models. The method comprises the following phases: dividing (Reg_Detect) the digital image pixel by pixel into one or more regions belonging to a set of predefined regions that differ from each other on account of their type of content, the division being effected by establishing whether or not a pixel of the image belongs to a respective region on the basis of an operation of analyzing the parameters this pixel, the analysis operation being carried out by verifying that the parameters satisfy predefined conditions and/or logicomathematical relationships of belonging to the respective region,acquiring (f1) from the digital image divided into regions (ImgReg) information regarding the regions that are present in it,comparing (Cmp) this information with at least one model characterizing a respective class of said plurality,associating (SetCL1) with the digital image a class (I_Class) on the basis of the comparison phase.

EP1507232A2, drawing sheet 1
Sheet 1 of 11

Term

Term ended

Projected expiry passed 6 July 2024, 2.2 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

28 claims: 3 independent, 25 dependent

  1. 1
    A method (Img_Class) for associating with a digital image (Img RGB ) a class of a plurality of classes (CL 1 , CL 2 , CL 3 ) characterized by respective models, the method comprising the following phases in sequence:- dividing (Reg_Detect) the digital image pixel by pixel into one or more regions belonging to a set of regions that are predefined and different from each other on the basis of their type of content, said division being effected by establishing whether or not a pixel of said image belongs to a respective region on the basis of an operation of analyzing the parameters of this pixel, the analysis operation being carried out by verifying that said parameters satisfy pre-established conditions and/or logico-mathematical relationships of belonging to the respective region, - acquiring (f 1 ) from the digital image divided into regions (Img Reg ) information relating to the regions to be found in it, - comparing (Cmp) the acquired information with at least one model characterizing a respective class of said plurality, - associating (Set_CL 1 ) with the digital image a class of said plurality on the basis of said comparison phase.
  2. 2
    A method in accordance with Claim 1, including also a phase of segmenting (Img_Seg) the digital image prior to the division phase (Reg_Detect), the digital output image (Img s ) of the segmentation phase being divided into one or more areas that are chromatically substantially homogeneous and comprising a reduced range of colours as compared with the input image of the segmentation phase.
  3. 3
    A method (Img_Class) in accordance with Claim 1, including also prior to the division phase (Reg_Detect) a phase of chromatic reconstruction (Col_Rec) that, starting from an input image (Img CFA ) in CFA format, provides an output image (Img RGB ).
  4. 4
    A method in accordance with Claim 3, wherein the chromatic reconstruction phase (Col_Rec) comprises an operation of sub-sampling the digital image (Img CFA ) in CFA format in such a manner as to obtain a digital output image (Img RGB ) having a smaller resolution than the input image.
  5. 5
    A method in accordance with Claim 2, wherein the segmentation phase (Img_Seg) is substantially carried out in accordance with the "mean shift algorithm" technique.
  6. 6
    A method in accordance with Claim 2, wherein the segmentation phase (Img_Seg) employs a low segmentation resolution, the digital output image (Img s ) of the segmentation phase comprising a significantly reduced range of colours as compared with its digital input image (Img RGB ) and including the predominant colours present in the input image.
  7. 7
    A method in accordance with Claim 1, wherein said pre-established conditions and/or logico-mathematical relationships are empirically derived from a statistical observation of images of real scenes.
  8. 8
    A method in accordance with Claim 1, wherein said pre-established conditions and/or logico-mathematical relationships comprise conditions for ascertaining whether [given] parameters belong to intervals in combination with mathematical relationships between parameters.
  9. 9
    A method in accordance with Claim 1, wherein said parameters correspond to digital values representative of at least one of the following pixel components:red chromatic component, green chromatic component, blue chromatic component, hue, intensity and similar.
  10. 10
    A method in accordance with Claim 1, wherein said set of predefined regions includes at least one of the following regions characterized by their respective contents:"Sky", "Farthest mountain", "Far mountain", "Near mountain", "Land".
  11. 11
    A method in accordance with Claim 1, wherein the division phase (Reg_Detect) includes an operation of assigning to said pixel a data item identifying the respective region to which the pixel belongs.
  12. 12
    A method in accordance with Claim 11, wherein said identifying data item comprises a digital value, i.e. a grey level, the set of digital values assigned to the pixel of the digital image in said assignment operation corresponding to a digital grey-level image divided into regions.
  13. 13
    A method in accordance with Claim 12, wherein with pixels belonging to regions that on the basis of their content are closer to an image observation point there are associated respective grey levels that are darker than those associated with pixels belonging to more distant regions.
  14. 14
    A method in accordance with Claim 12, wherein the phase of dividing into regions comprises the following operations:- application of a median filter to the digital image to obtain a filtered digital image;- extraction of the digital values associated with the RGB and HSI components of the filtered digital image;- assignment to each pixel of the filtered digital image of a respective grey level for obtaining a provisional grey-level image divided into regions;- application of a median filter to said provisional grey-level image for obtaining a final image divided into gray-level regions.
  15. 15
    A method in accordance with Claim 1, wherein said set of predefined classes comprises at least one of the following classes:"outdoor with geometric appearance", "outdoor without geometric appearance" (panorama), "Indoor".
  16. 16
    A method in accordance with Claim 1, wherein each predefined class is characterized by means of an suitable simplified model obtained on the basis of a statistical observation of some characteristics typically present in images belonging to the class.
  17. 17
    A method in accordance with Claim 1, wherein at least one predefined class is characterized by a respective model comprising one or more predefined sequences typically detected along a predetermined scanning direction in images forming part of said predefined class.
  18. 18
    A method in accordance with Claim 13, wherein a predefined sequence includes a string of identifying labels assigned to regions typically detected along the predetermined scanning direction.
  19. 19
    A method in accordance with Claim 1, wherein the information acquired in the acquisition phase regards the number of regions and/or their type and/or the respective order in which they are arranged along a predetermined scanning direction.
  20. 20
    A method in accordance with Claim 1, wherein the information acquisition phase (f 1 ) comprises an operation (S_Scan) of acquiring one or more sequences (S j ) of regions from the image (Img Reg ) divided into regions by means of an operation of scanning the image divided into regions along at least one predetermined scanning direction.
  21. 21
    A method in accordance with Claim 20, wherein a string (S j ) of identifying label characters assigned to regions encountered during the scanning is memorized during said operation of scanning along the predetermined scanning direction.
  22. 22
    A method in accordance with Claim 20, wherein said scanning is a scanning of the vertical type of pixels belonging to one or more columns of the images divided into regions.
  23. 23
    A method in accordance with Claim 1, wherein said information acquisition phase includes an operation (J_Count) of counting the number of transitions between different regions along at least one predetermined direction of the image divided into regions.
  24. 24
    A method in accordance with Claims 7 and 20, wherein said comparison operation verifies whether said one or more acquired sequences are present among the predefined sequences comprised in the model characterizing said predefined class.
  25. 25
    A method in accordance with Claim 24, wherein said predefined class is associated with the digital image when among the predefined sequences of the model characterizing said predefined class there is present a number of acquired sequences greater than a predetermined percentage of the total number of said acquired sequences.
  26. 26
    A digital image acquisition device inclusive of a classification block (Img_Class) for associating a class of a plurality of predefined classes with an acquired digital image, characterized in that said classification block operates on the basis of a method in accordance with any one of the preceding claims.
  27. 27
    A computer program or part of a computer program that upon being executed in a computer makes it possible to associate with a digital image a class of a predefined plurality of classes in accordance with a method based on any one of Claims 1 to 26.
  28. 28
    A storing support comprising a computer program in accordance with Claim 27.
Independent claims28