Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD FOR FACILITATING AN IDENTIFICATION OF AN OPTICAL MARK AND DATA PROCESSING DEVICE
Document Type and Number:
WIPO Patent Application WO/2024/038170
Kind Code:
A2
Abstract:
A computer-implemented method (100) for facilitating an identification of an optical mark (410) in an image (400) of a spectacle lens (402) is provided. The method (100) is characterized in that it comprises a step of generating (104) enhancement information based on the image (400) of the spectacle lens (402), wherein the enhancement information is configured to enhance a detectability of the optical mark (410) in an automated identification process when an impairing structure (406) impairs the detectability of the optical mark (410) in the image (400). Furthermore, the method (100) comprises a step of providing (106) the generated enhancement information to the automated identification process for identifying the optical mark (410) using the enhancement information.

Inventors:
SCHOEBEL DANIEL (DE)
BINDER NIKLAS (DE)
ARUNACHALA VIVEK (DE)
BUERGIN JENS (DE)
BOLIUS VANESSA (DE)
Application Number:
PCT/EP2023/072748
Publication Date:
February 22, 2024
Filing Date:
August 17, 2023
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
ZEISS CARL VISION INT GMBH (DE)
International Classes:
B24B13/005; G02C7/02; G06K7/14; G06T7/00
Foreign References:
US7508502B22009-03-24
EP3382445B12020-05-27
JP2002001638A2002-01-08
JP2002296144A2002-10-09
DE102016009810A12018-02-15
US20080231794A12008-09-25
Other References:
HANSEN ET AL., PROCEEDINGS OF THE 9TH INTERNATIONAL JOINT CONFERENCE ON COMPUTATIONAL INTELLIGENCE, 2017, pages 321 - 327
KARRACH ET AL., J. IMAGING, vol. 7, 2021, pages 163
Attorney, Agent or Firm:
TAUTZ & SCHUHMACHER (DE)
Download PDF:
Claims:
Claims

1 . Computer-implemented method (100) for facilitating an identification of an optical mark (410) in an image (400) of a spectacle lens (402), characterized in that the method (100) comprises the steps:

- generating (104) enhancement information based on the image (400) of the spectacle lens (402), wherein the enhancement information is configured to enhance a detectability of the optical mark (410) in an automated identification process when an impairing structure (406) impairs the detectability of the optical mark (410) in the image (400); and

- providing (106) the generated enhancement information to the automated identification process for identifying the optical mark (410) using the enhancement information.

2. Method according to claim 1 , further comprising a step of determining (102) whether an impairing structure (406) is present in the image (400) of the spectacle lens (402) prior to generating (104) the enhancement information, wherein the step of generating (104) the enhancement information is carried out only, if the presence of an impairing structure is determined.

3. Method (100) according to claim 1 or 2, characterized in that:

- the step of generating (104) the enhancement information includes localizing the optical mark (410) in the image (400) of the spectacle lens (402) and generating localization information of the optical mark (410); and

- the step of providing (106) the generated enhancement information to the automated identification process includes providing (106) the localization information of the optical mark (410) to the automated identification process for identifying the optical mark (410) using the localization information.

4. Method (100) according to claim 3, wherein the localization information includes at least one coordinate of the optical mark (410) with respect to the spectacle lens (402) or with respect to the image (400) of the spectacle lens (402). 5. Method (100) according to claim 3 or 4, wherein the generated enhancement information is provided to the automated identification process together with or without the image (400) of the spectacle lens (402).

6. Method (100) according to any one of the preceding claims, characterized in that:

- the step of generating (104) the enhancement information includes preprocessing the image (400) of the spectacle lens (402) to enhance a detectability of the optical mark (410) for the automated identification process of the optical mark (410); and

- the step of providing (106) the generated enhancement information to the automated identification process includes providing the pre-processed image (408) to the automated identification process for identifying the optical mark (410) based on the pre-processed image (408).

7. Method (100) according to claim 6, wherein the pre-processing of the image (400) comprises at least one of adaptive thresholding on the image (400), reducing noise in the image (400), enhancing a contrast of the image (400), or carrying out a Fourier-transformation and frequency-filtering.

8. Method (100) according to claim 6 or 7, wherein identifying the optical mark (410) is carried out solely based on the pre-processed image (408).

9. Method (100) according to any one of the preceding claims, wherein generating (104) the enhancement information is carried out at least partly based on conventional pattern recognition or at least based on artificial-intelligence based pattern recognition.

10. Method (200) for identifying an optical mark (410) in a spectacle lens (402), the method comprising:

- capturing an image (202) of the spectacle lens (402); - facilitating (204) the identification of the optical mark (410) in the captured image (400) of the spectacle lens (402) by carrying out a method (100) according to claim 1 ; and

- identifying (206) the optical mark (410) in the spectacle lens (402) using the provided enhancement information.

11 . Computer program comprising instructions which, when the program is executed by a computer, cause the computer to carry out the method (100, 200) of any one of the preceding claims.

12. Computer-readable storage medium having stored thereon the computer program of claim 11 .

13. Data signal carrying the computer program of claim 11 .

14. Data processing system (302) comprising a processor (304) configured for the purpose of facilitating an identification of an optical mark (410) in an image (400) of a spectacle lens (402) and configured to perform the steps:

- generating (104) enhancement information based on the image (400) of the spectacle lens (402), wherein the enhancement information is configured to enhance a detectability of the optical mark (410) in an automated identification process when an impairing structure (406) impairs the detectability of the optical mark (410) in the image (400); and

- providing the generated enhancement information to the automated identification process for identifying the optical mark (410) using the enhancement information.

15. Device (300) configured to carry out at least one of controlling a quality of a spectacle lens (402), engraving a brand mark into the spectacle lens (402), stamping marks onto the spectacle lens (402), blocking a spectacle lens (402) to a blocking piece, retrieving information from an optical mark (410) of the spectacle lens (402), or edging the spectacle lens, characterized in that the device (300) comprises a data processing system (300) according to claim 14.

16. Computer-implemented method (200) for identifying an optical mark (410) in a spectacle lens (402), the method comprising: a) capturing an image (202) of the spectacle lens (402); b) determining whether the spectacle lens comprises an impairing structure; c) generating enhancement information, if the presence of an impairing structure is determined, wherein generating the enhancement information comprises processing the captured image to detect the optical mark and generating a pre-processed image of the spectacle lens with an inserted representation of the detected optical mark; d) identifying (206) the optical mark (410) in the spectacle lens (402) using the provided enhancement information.

17. Method according to claim 16, wherein the steps a), b) and d) are carried out as an identification process and step c) is carried out as a facilitation process, wherein the identification process continues in step d) using the enhancement information generated in step c).

18. Method according to claim 16 or 17, wherein step c) is carried out only if the presence of an impairing structure is determined.

19. Method according to any one of claims 16 to 18, wherein determining, whether the spectacle lens comprises an impairing structure, in step b) is based on receiving information regarding the spectacle lens.

20. Method according to any one of claims 16 to 19, wherein processing the captured image in step c) includes a process for model recognition based on artificial intelligence. 21 . Method according to any one of claims 16 to 20, wherein processing the captured image comprises an object detection process and/or a segmentation process.

22. Method according to any one of the claims 16 to 20, wherein generating the pre-processed image comprises generating an image including a reduced level of structural details as compared to the captured image and inserting the representation of the detected optical mark to the pre-processed image.

23. Computer-implemented method (200) for identifying an optical mark (410) in a spectacle lens (402), the method comprising:

- capturing an image (202) of the spectacle lens (402);

- detecting a contour of the spectacle lens based on the captured image and determining coordinates of a center of the spectacle lens based on the detected contour of the spectacle lens;

- detecting the optical mark in the captured image using an artificial intelligence and determining coordinates of the optical mark in the spectacle lens;

- providing the coordinates of the optical mark and the coordinates of the center of the spectacle lens as enhancement information and identifying (206) the optical mark (410) in the spectacle lens (402) using the captured image and the enhancement information.

24. Method according to claim 23, wherein detecting the optical mark in the captured image is carried out using an artificial intelligence.

25. Method according to claim 23 or 24, wherein determining the coordinates of the optical mark in the spectacle lens comprises determining the coordinates of a center of the optical mark.

26. Method according to any one of claims 23 to 25, wherein detecting the optical mark further comprises determining a size and/or an area of the optical mark based on the captured image and comparing the determined size and/or area of the optical mark with a predetermined size value.

27. Method according to claim 26, wherein the predetermined size value comprises a size range for the optical mark for one or more dimensions.

28. Method according to any one of the claims 23 to 27, wherein detecting the optical mark comprises determining a distance between the optical mark and the center of the spectacle lens in the spectacle lens based on the captured image and comparing the relative position with a predetermined distance value.

29. Data processing system (302) comprising a processor (304) configured for the purpose of facilitating an identification of an optical mark (410) in an image (400) of a spectacle lens (402) and configured to carry out a method according to any one of the claims 16 to 28.

30. Device (300) configured to carry out at least one of controlling a quality of a spectacle lens (402), engraving a brand mark into the spectacle lens (402), stamping marks onto the spectacle lens (402), blocking a spectacle lens (402) to a blocking piece, retrieving information from an optical mark (410) of the spectacle lens (402), or edging the spectacle lens, characterized in that the device (300) comprises a data processing system (300) configured to carry out a method according to any one of the claims 16 to 28.

31 . Computer-implemented method (100) for facilitating an identification of an optical mark (410) in an image (400) of a spectacle lens (402), characterized in that the method (100) comprises the steps:

- generating (104) enhancement information based on the image (400) of the spectacle lens (402), wherein the enhancement information is configured to enhance a detectability of the optical mark (410) in an automated identification process when an impairing structure (406) impairs the detectability of the optical mark (410) in the image (400); and - providing (106) the generated enhancement information to the automated identification process for identifying the optical mark (410) using the enhancement information, wherein the method further comprises a step of determining (102) whether an impairing structure (406) is present in the spectacle lens (402) prior to generating (104) the enhancement information, wherein the step of generating (104) the enhancement information is carried out only, if the presence of an impairing structure is determined.

32. Method (100) according to claim 31 , characterized in that:

- the step of generating (104) the enhancement information includes localizing the optical mark (410) in the image (400) of the spectacle lens (402) and generating localization information of the optical mark (410); and

- the step of providing (106) the generated enhancement information to the automated identification process includes providing (106) the localization information of the optical mark (410) to the automated identification process for identifying the optical mark (410) using the localization information.

33. Method (100) according to claim 32, wherein the localization information includes at least one coordinate of the optical mark (410) with respect to the spectacle lens (402) or with respect to the image (400) of the spectacle lens (402).

34. Method (100) according to claim 32 or 33, wherein the generated enhancement information is provided to the automated identification process together with or without the image (400) of the spectacle lens (402).

35. Method (100) according to any one of the claims 31 to 34, characterized in that:

- the step of generating (104) the enhancement information includes preprocessing the image (400) of the spectacle lens (402) to enhance a detectability of the optical mark (410) for the automated identification process of the optical mark (410); and - the step of providing (106) the generated enhancement information to the automated identification process includes providing the pre-processed image (408) to the automated identification process for identifying the optical mark (410) based on the pre-processed image (408).

36. Method (100) according to claim 35, wherein the pre-processing of the image (400) comprises at least one of adaptive thresholding on the image (400), reducing noise in the image (400), enhancing a contrast of the image (400), or carrying out a Fourier-transformation and frequency-filtering.

37. Method (100) according to claim 35 or 36, wherein identifying the optical mark (410) is carried out solely based on the pre-processed image (408).

38. Method (100) according to any one of the claims 31 to 37, wherein generating (104) the enhancement information is carried out at least partly based on conventional pattern recognition or at least based on artificial-intelligence based pattern recognition.

39. Method (200) for identifying an optical mark (410) in a spectacle lens (402), the method comprising:

- capturing an image (202) of the spectacle lens (402);

- facilitating (204) the identification of the optical mark (410) in the captured image (400) of the spectacle lens (402) by carrying out a method (100) according to claim 31 ; and

- identifying (206) the optical mark (410) in the spectacle lens (402) using the provided enhancement information.

40. Computer program comprising instructions which, when the program is executed by a computer, cause the computer to carry out the method (100, 200) of any one of the claims 31 to 39. 41 . Computer-readable storage medium having stored thereon the computer program of claim 40.

42. Data signal carrying the computer program of claim 40.

43. Data processing system (302) comprising a processor (304) configured for the purpose of facilitating an identification of an optical mark (410) in an image (400) of a spectacle lens (402) and configured to perform the steps:

- generating (104) enhancement information based on the image (400) of the spectacle lens (402), wherein the enhancement information is configured to enhance a detectability of the optical mark (410) in an automated identification process when an impairing structure (406) impairs the detectability of the optical mark (410) in the image (400); and

- providing the generated enhancement information to the automated identification process for identifying the optical mark (410) using the enhancement information, wherein the processor is further configured to perform the step of determining (102) whether an impairing structure (406) is present in the image (400) of the spectacle lens (402) prior to generating (104) the enhancement information, wherein the step of generating (104) the enhancement information is carried out only, if the presence of an impairing structure is determined.

44. Device (300) configured to carry out at least one of controlling a quality of a spectacle lens (402), engraving a brand mark into the spectacle lens (402), stamping marks onto the spectacle lens (402), blocking a spectacle lens (402) to a blocking piece, retrieving information from an optical mark (410) of the spectacle lens (402), or edging the spectacle lens, characterized in that the device (300) comprises a data processing system (300) according to claim 43.

45. Computer-implemented method (100) for facilitating an identification of an optical mark (410) in an image (400) of a spectacle lens (402), characterized in that the method (100) comprises the steps: - generating (104) enhancement information based on the image (400) of the spectacle lens (402), wherein the enhancement information is configured to enhance a detectability of the optical mark (410) in an automated identification process when an impairing structure (406) impairs the detectability of the optical mark (410) in the image (400); and

- providing (106) the generated enhancement information to the automated identification process for identifying the optical mark (410) using the enhancement information, wherein:

- the step of generating (104) the enhancement information includes localizing the optical mark (410) in the image (400) of the spectacle lens (402) and generating localization information of the optical mark (410); and

- the step of providing (106) the generated enhancement information to the automated identification process includes providing (106) the localization information of the optical mark (410) to the automated identification process for identifying the optical mark (410) using the localization information.

46. Method according to claim 45, further comprising a step of determining (102) whether an impairing structure (406) is present in the image (400) of the spectacle lens (402) prior to generating (104) the enhancement information, wherein the step of generating (104) the enhancement information is carried out only, if the presence of an impairing structure is determined.

47. Method (100) according to claim 45, wherein the localization information includes at least one coordinate of the optical mark (410) with respect to the spectacle lens (402) or with respect to the image (400) of the spectacle lens (402).

48. Method (100) according to claim 45 or 46, wherein the generated enhancement information is provided to the automated identification process together with or without the image (400) of the spectacle lens (402). 49. Method (100) according to any one of the claims 45 to 48, characterized in that:

- the step of generating (104) the enhancement information includes preprocessing the image (400) of the spectacle lens (402) to enhance a detectability of the optical mark (410) for the automated identification process of the optical mark (410); and

- the step of providing (106) the generated enhancement information to the automated identification process includes providing the pre-processed image (408) to the automated identification process for identifying the optical mark (410) based on the pre-processed image (408).

50. Method (100) according to claim 49, wherein the pre-processing of the image (400) comprises at least one of adaptive thresholding on the image (400), reducing noise in the image (400), enhancing a contrast of the image (400), or carrying out a Fourier-transformation and frequency-filtering.

51 . Method (100) according to claim 49 or 50, wherein identifying the optical mark (410) is carried out solely based on the pre-processed image (408).

52. Method (100) according to any one of the claims 45 to 51 , wherein generating (104) the enhancement information is carried out at least partly based on conventional pattern recognition or at least based on artificial-intelligence based pattern recognition.

53. Method (200) for identifying an optical mark (410) in a spectacle lens (402), the method comprising:

- capturing an image (202) of the spectacle lens (402);

- facilitating (204) the identification of the optical mark (410) in the captured image (400) of the spectacle lens (402) by carrying out a method (100) according to claim 1 ; and

- identifying (206) the optical mark (410) in the spectacle lens (402) using the provided enhancement information. 54. Computer program comprising instructions which, when the program is executed by a computer, cause the computer to carry out the method (100, 200) of any one of the claims 45 to 53.

55. Computer-readable storage medium having stored thereon the computer program of claim 54.

56. Data signal carrying the computer program of claim 54.

57. Data processing system (302) comprising a processor (304) configured for the purpose of facilitating an identification of an optical mark (410) in an image (400) of a spectacle lens (402) and configured to perform the steps:

- generating (104) enhancement information based on the image (400) of the spectacle lens (402), wherein the enhancement information is configured to enhance a detectability of the optical mark (410) in an automated identification process when an impairing structure (406) impairs the detectability of the optical mark (410) in the image (400); and

- providing the generated enhancement information to the automated identification process for identifying the optical mark (410) using the enhancement information, wherein:

- the step of generating (104) the enhancement information includes localizing the optical mark (410) in the image (400) of the spectacle lens (402) and generating localization information of the optical mark (410); and

- the step of providing (106) the generated enhancement information to the automated identification process includes providing (106) the localization information of the optical mark (410) to the automated identification process for identifying the optical mark (410) using the localization information.

58. Device (300) configured to carry out at least one of controlling a quality of a spectacle lens (402), engraving a brand mark into the spectacle lens (402), stamping marks onto the spectacle lens (402), blocking a spectacle lens (402) to a blocking piece, retrieving information from an optical mark (410) of the spectacle lens (402), or edging the spectacle lens, characterized in that the device (300) comprises a data processing system (300) according to claim 57.

59. Computer-implemented method (100) for facilitating an identification of an optical mark (410) in an image (400) of a spectacle lens (402), characterized in that the method (100) comprises the steps:

- generating (104) enhancement information based on the image (400) of the spectacle lens (402), wherein the enhancement information is configured to enhance a detectability of the optical mark (410) in an automated identification process when an impairing structure (406) impairs the detectability of the optical mark (410) in the image (400); and

- providing (106) the generated enhancement information to the automated identification process for identifying the optical mark (410) using the enhancement information, wherein:

- the step of generating (104) the enhancement information includes localizing the optical mark (410) in the image (400) of the spectacle lens (402) and generating localization information of the optical mark (410); and

- the step of providing (106) the generated enhancement information to the automated identification process includes providing (106) the localization information of the optical mark (410) to the automated identification process for identifying the optical mark (410) using the localization information, and wherein the generated enhancement information is provided to the automated identification process together with the image (400) of the spectacle lens (402).

60. Method according to claim 59, further comprising a step of determining (102) whether an impairing structure (406) is present in the image (400) of the spectacle lens (402) prior to generating (104) the enhancement information, wherein the step of generating (104) the enhancement information is carried out only, if the presence of an impairing structure is determined. 61 . Method (100) according to claim 59, wherein the localization information includes at least one coordinate of the optical mark (410) with respect to the spectacle lens (402) or with respect to the image (400) of the spectacle lens (402).

62. Method (100) according to any one of the claims 59 bis 61 , characterized in that:

- the step of generating (104) the enhancement information includes preprocessing the image (400) of the spectacle lens (402) to enhance a detectability of the optical mark (410) for the automated identification process of the optical mark (410); and

- the step of providing (106) the generated enhancement information to the automated identification process includes providing the pre-processed image (408) to the automated identification process for identifying the optical mark (410) based on the pre-processed image (408).

63. Method (100) according to claim 62, wherein the pre-processing of the image (400) comprises at least one of adaptive thresholding on the image (400), reducing noise in the image (400), enhancing a contrast of the image (400), or carrying out a Fourier-transformation and frequency-filtering.

64. Method (100) according to claim 62 or 63, wherein identifying the optical mark (410) is carried out solely based on the pre-processed image (408).

65. Method (100) according to any one of the claims 59 to 64, wherein generating (104) the enhancement information is carried out at least partly based on conventional pattern recognition or at least based on artificial-intelligence based pattern recognition.

66. Method (200) for identifying an optical mark (410) in a spectacle lens (402), the method comprising:

- capturing an image (202) of the spectacle lens (402); - facilitating (204) the identification of the optical mark (410) in the captured image (400) of the spectacle lens (402) by carrying out a method (100) according to claim 59; and

- identifying (206) the optical mark (410) in the spectacle lens (402) using the provided enhancement information.

67. Computer program comprising instructions which, when the program is executed by a computer, cause the computer to carry out the method (100, 200) of any one of the claims 59 to 66.

68. Computer-readable storage medium having stored thereon the computer program of claim 67.

69. Data signal carrying the computer program of claim 67.

70. Data processing system (302) comprising a processor (304) configured for the purpose of facilitating an identification of an optical mark (410) in an image (400) of a spectacle lens (402) and configured to perform the steps:

- generating (104) enhancement information based on the image (400) of the spectacle lens (402), wherein the enhancement information is configured to enhance a detectability of the optical mark (410) in an automated identification process when an impairing structure (406) impairs the detectability of the optical mark (410) in the image (400); and

- providing the generated enhancement information to the automated identification process for identifying the optical mark (410) using the enhancement information, wherein:

- the step of generating (104) the enhancement information includes localizing the optical mark (410) in the image (400) of the spectacle lens (402) and generating localization information of the optical mark (410); and

- the step of providing (106) the generated enhancement information to the automated identification process includes providing (106) the localization information of the optical mark (410) to the automated identification process for identifying the optical mark (410) using the localization information, and wherein the generated enhancement information is provided to the automated identification process together with or without the image (400) of the spectacle lens (402).

71 . Device (300) configured to carry out at least one of controlling a quality of a spectacle lens (402), engraving a brand mark into the spectacle lens (402), stamping marks onto the spectacle lens (402), blocking a spectacle lens (402) to a blocking piece, retrieving information from an optical mark (410) of the spectacle lens (402), or edging the spectacle lens, characterized in that the device (300) comprises a data processing system (300) according to claim 70.

72. Computer-implemented method (100) for facilitating an identification of an optical mark (410) in an image (400) of a spectacle lens (402), characterized in that the method (100) comprises the steps:

- generating (104) enhancement information based on the image (400) of the spectacle lens (402), wherein the enhancement information is configured to enhance a detectability of the optical mark (410) in an automated identification process when an impairing structure (406) impairs the detectability of the optical mark (410) in the image (400); and

- providing (106) the generated enhancement information to the automated identification process for identifying the optical mark (410) using the enhancement information, wherein generating (104) the enhancement information is carried out at least partly based on artificial-intelligence based pattern recognition.

73. Method according to claim 72, further comprising a step of determining (102) whether an impairing structure (406) is present in the image (400) of the spectacle lens (402) prior to generating (104) the enhancement information, wherein the step of generating (104) the enhancement information is carried out only, if the presence of an impairing structure is determined. 74. Method (100) according to claim 72 or 73, characterized in that:

- the step of generating (104) the enhancement information includes localizing the optical mark (410) in the image (400) of the spectacle lens (402) and generating localization information of the optical mark (410); and

- the step of providing (106) the generated enhancement information to the automated identification process includes providing (106) the localization information of the optical mark (410) to the automated identification process for identifying the optical mark (410) using the localization information.

75. Method (100) according to claim 74, wherein the localization information includes at least one coordinate of the optical mark (410) with respect to the spectacle lens (402) or with respect to the image (400) of the spectacle lens (402).

76. Method (100) according to claim 74 or 75, wherein the generated enhancement information is provided to the automated identification process together with or without the image (400) of the spectacle lens (402).

77. Method (100) according to any one of the claims 72 to 76, characterized in that:

- the step of generating (104) the enhancement information includes preprocessing the image (400) of the spectacle lens (402) to enhance a detectability of the optical mark (410) for the automated identification process of the optical mark (410); and

- the step of providing (106) the generated enhancement information to the automated identification process includes providing the pre-processed image (408) to the automated identification process for identifying the optical mark (410) based on the pre-processed image (408).

78. Method (100) according to claim 77, wherein the pre-processing of the image (400) comprises at least one of adaptive thresholding on the image (400), reducing noise in the image (400), enhancing a contrast of the image (400), or carrying out a Fourier-transformation and frequency-filtering.

79. Method (100) according to claim 77 or 78, wherein identifying the optical mark (410) is carried out solely based on the pre-processed image (408).

80. Method (200) for identifying an optical mark (410) in a spectacle lens (402), the method comprising:

- capturing an image (202) of the spectacle lens (402);

- facilitating (204) the identification of the optical mark (410) in the captured image (400) of the spectacle lens (402) by carrying out a method (100) according to claim 72; and

- identifying (206) the optical mark (410) in the spectacle lens (402) using the provided enhancement information.

81 . Computer program comprising instructions which, when the program is executed by a computer, cause the computer to carry out the method (100, 200) of any one of the claims 72 to 80.

82. Computer-readable storage medium having stored thereon the computer program of claim 81 .

83. Data signal carrying the computer program of claim 81 .

84. Data processing system (302) comprising a processor (304) configured for the purpose of facilitating an identification of an optical mark (410) in an image (400) of a spectacle lens (402) and configured to perform the steps:

- generating (104) enhancement information based on the image (400) of the spectacle lens (402), wherein the enhancement information is configured to enhance a detectability of the optical mark (410) in an automated identification process when an impairing structure (406) impairs the detectability of the optical mark (410) in the image (400); and - providing the generated enhancement information to the automated identification process for identifying the optical mark (410) using the enhancement information, wherein generating (104) the enhancement information is carried out at least based on artificial-intelligence based pattern recognition.

85. Device (300) configured to carry out at least one of controlling a quality of a spectacle lens (402), engraving a brand mark into the spectacle lens (402), stamping marks onto the spectacle lens (402), blocking a spectacle lens (402) to a blocking piece, retrieving information from an optical mark (410) of the spectacle lens (402), or edging the spectacle lens, characterized in that the device (300) comprises a data processing system (300) according to claim 84.

Description:
METHOD FOR FACILITATING AN IDENTIFICATION OF AN OPTICAL MARK AND DATA PROCESSING DEVICE

Provided are a computer-implemented method for facilitating an identification of an optical mark in an image of a spectacle lens and a data processing device. The disclosure is, thus, related to methods and devices of identifying optical marks in spectacle lenses.

In general, various machines in a spectacle lens manufacturing value chain must be able to reliably identify optical marks in the spectacle lens. Such optical marks may be provided as engravings and may serve as orientation marks, such as alignment reference marks. Moreover, optical marks may include alphanumeric codes and/or codes containing identification information, such as DataMatrix codes. The detection of such optical marks typically includes a visual detection based on conventional computer vision and computer-based pattern recognition.

Optical marks typically serve the purpose that their location is relevant as a spatial reference point and/or that their content contains information. Based on an image capturing setup and a used illumination method, interfering contours inside and/or on the lens can have a substantial impact on the quality of the taken images of the spectacle lens. The conventional implemented automated visual detection systems may fail and, thus, render the conventional device unable to automatically complete its workflow. Thus, some spectacle lenses may comprise structures in and/or on the lens body which interfere with the one or more optical marks and impair the visual detection of the optical marks. Such interfering structures are referred to as impairing structure throughout the present disclosure. For example, diffractive structures engraved into the spectacle lens and/or otherwise applied to the spectacle lens may act as impairing structures rendering the detection of optical marks challenging, in particular for an automated computer-vision based detection and identification of these optical marks. For example, a spectacle lens may comprise diffractive ring structures suitable for myopia control, which may be Fresnel rings, which may interfere with one or more optical marks of the spectacle lens and, thus, impair the automated detection and identification of the optical mark(s). Moreover, smart lenses having electronic and/or optical structures and/or elements integrated into the spectacle lens may comprise impairing structures rendering the detection and identification of optical marks challenging.

Methods and devices having the need of detecting and/or identifying one or more optical marks may be in particular such devices which are configured and used to control a quality of a spectacle lens, to engrave a brand mark into the spectacle lens, to stamp marks onto the spectacle lens, and/or to edge the spectacle lens.

Conventional methods and systems for detecting optical marks in a spectacle lens having the above-mentioned limitations are for instance described in US7508502B2 and in EP3382445B1.

JP 2002 001638 A describes a method for finding a processing center position of an eyeglass lens such as a progressive multifocal lens and to attach processing jigs to the processing center position.

JP 2002 296144 A describes a method and an apparatus for detecting a mark attached to a transparent body used for aligning a transparent body.

DE 10 2016 009810 A1 describes a method and a device for checking a centration of a spectacle lens.

US 2008/231794 A1 describes a jig mounting apparatus having a detection system that detects reference marker of an eyeglass lens.

Hansen et al., Proceedings of the 9th International Joint Conference on Computational Intelligence (IJCCI 2017), pages 321 -327 describes a method for real-time barcode detection and classification using deep learning. Karrach et al., J. Imaging 2021 , 7, 163 describes a comparative study of data matrix codes localization and recognition methods.

The problem solved by the disclosure, thus, relates to providing a method and a data processing system overcoming the limitations of the prior art.

This problem is solved by a method and a data processing device having the features of the respective independent claim. Optional embodiments are provided in the dependent claims and the description.

In a first aspect, a computer-implemented method for facilitating an identification of an optical mark in an image of a spectacle lens is provided. The method is characterized in that the method comprises a step of generating enhancement information based on the image of the spectacle lens, wherein the enhancement information is configured to enhance a detectability of the optical mark in an automated identification process when an impairing structure impairs the detectability of the optical mark in the image. The method further comprises a step of providing the generated enhancement information to the automated identification process for identifying the optical mark using the enhancement information.

In another aspect a method for identifying an optical mark in a spectacle lens is provided. The method comprises a step of capturing an image of the spectacle lens and a step of facilitating the identification of the optical mark in the captured image of the spectacle lens by carrying out an above-mentioned method according to the disclosure. Moreover, the method comprises a step of identifying the optical mark in the spectacle lens using the provided enhancement information.

In another aspect a data processing system comprising a processor configured for the purpose of facilitating an identification of an optical mark in an image of a spectacle lens is provided. The data processing system is further configured to perform a step of generating enhancement information based on the image of the spectacle lens, wherein the enhancement information is configured to enhance a detectability of the optical mark in an automated identification process when an impairing structure impairs the detectability of the optical mark in the image. Moreover, the data processing system is further configured to provide the generated enhancement information to the automated identification process for identifying the optical mark using the enhancement information.

In yet another aspect a device is provided, which is configured to carry out at least one of controlling a quality of a spectacle lens, engraving a brand mark into the spectacle lens, stamping marks onto the spectacle lens, blocking a spectacle lens to a blocking piece, retrieving information from an optical mark of the spectacle lens, or edging the spectacle lens. The device comprises a data processing system according to the disclosure.

In yet another aspect, a computer program is provided, wherein the computer program comprises instructions which, when the program is executed by a computer, cause the computer to carry out a method according to the disclosure.

In yet another aspect, a computer-readable storage medium having stored thereon the above-mentioned computer program is provided.

In yet another aspect a data signal carrying the above-mentioned computer program is disclosed. The data signal may be a data carrier signal. The data signal may be an electronically readable signal containing instructions which, when the program is executed by a computer, cause the computer to carry out a method according to the disclosure. The data signal may be provided by means of downloading it from a server via a network and/or by storing it on a physical computer-readable memory.

The method being computer-implemented means that some or all of the method steps may be carried out by a computer. A spectacle lens may be an ophthalmic lens. The spectacle lens may be a conventional corrective lens according to section 3.5.3 of the standard ISO13666:2019 or a smart lens having an additional functionality based on an electronic and/or optical signal input.

The optical mark may comprise or consist of an alignment reference mark suitable for determining an orientation of the spectacle lens. The optical mark may optionally provide information regarding the spectacle lens, the manufacturing process of the spectacle lens and/or the patient for whom the optical mark is intended. In particular, a spectacle lens may comprise more than one optical mark. The spectacle lens may comprise at least two optical marks configured as alignment reference marks which may define a horizontal axis of the spectacle lens. The optical mark may provide information due to its location in or on the spectacle lens, and may optionally act as a reference in an image-based or worldbased coordinate system of the spectacle lens or a lens blank. An optical mark may be applied to a surface of the spectacle lens and/or integrated into the bulk volume of the spectacle lens. Alternatively or additionally, the optical mark may comprise or consist of human-readable text signs, such as letters and/or numbers. The optical mark may be adapted to facilitate a recognition of the optical mark and an identification of the information provided by the optical mark using computer- based image recognition, which may involve using an artificial intelligence .

The identification of an optical mark in the image of the spectacle lens may include determining the presence of one or more optical marks in an image captured of the spectacle lens. The identification may be carried out in an automated manner by a computer program executed on a data processing device. The identification of the optical mark may involve a pattern recognition. Besides the mere determination of the presence of the optical mark, the identification may include obtaining information about the type of the optical mark. Moreover, the identification may involve retrieving information provided by the optical mark. Furthermore, the identification may include determining a position and/or an orientation of the optical mark with respect to the spectacle lens and/or with respect to the image of the spectacle lens. Determining the presence of an optical mark and/or obtaining information about a type of the optical mark may involve computer-based image recognition. The computer-based image recognition may use an artificial intelligence for possibly obtaining information from the optical mark. The image recognition may include a text recognition for extracting information of possible textual contents contained in the optical mark. Optionally, the image recognition may include an optical character recognition, also known as OCR, to associate a textual content with the visual representation of the optical mark. The optical character recognition may involve an artificial intelligence. Alternatively or additionally, determining the presence of the optical mark may include determining whether the determined object corresponds to a complete representation of an optical mark or whether the object may correspond to a partial optical mark missing one or more parts of the optical mark. In other words, determining the presence of the optical mark may include a completeness check for checking whether the detected object corresponds to a complete representation of an optical mark.

Moreover, the method may comprise determining a design of the spectacle lens. In case of a presence of ring-shaped impairing structures, this may include determining a diameter of a clear zone, i.e. a zone not having a ring-shaped impairing structure, in the center of the innermost ring-shaped impairing structure. The clear zone may, thus, correspond to a central zone of the spectacle lens. Alternatively or additionally, determining the design of the spectacle lens may include counting a number of ring-shaped impairing structures present in the spectacle lens.

The enhancement information may represent or include information facilitating the identification of the optical mark. Moreover, the enhancement information may provide such information about the optical mark which allows certain methods and/or devices to identify the optical mark, which are not or less able to identify the optical mark without the enhancement information. The enhancement information may limit the area of the image of the spectacle lens to be evaluated in the process of automatedly identifying the optical mark and/or improve the detectability of the optical mark in the image of the spectacle lens, and/or otherwise reduce the effort of identifying the optical mark in the automated identification process. Accordingly, the enhancement information may contain information for localizing one or more optical marks in the image of the spectacle lens and/or may contain a pre-processed image based on the original image of the spectacle lens. Accordingly, enhancing the detectability of the optical mark in an automated identification process may mean that the capability of the automated identification process to identify the optical mark is established or increased by the provided enhancement information.

Providing the enhancement information means that the enhancement information may be provided for its further use. The further use may comprise a use of the enhancement information by the same software program which generated the enhancement program and/or by a separate software program.

The automated identification process may be a process configured to retrieve the intended information from the one or more optical marks. In case of the optical mark(s) being alignment reference mark(s), the automated identification process may retrieve information regarding the position and/or orientation of the spectacle lens in the image. The automated identification process may be configured to use solely the enhancement information for retrieving the information of one or more of the optical marks. Alternatively or additionally the automated identification process may be configured to use the enhancement information and additional information, for instance additional information extracted from the image of the spectacle lens, to retrieve the intended information from the one or more optical marks.

An impairing structure is a structure present in or at the spectacle lens and/or in the image of the spectacle lens which impairs and/or affects the automated identification of the optical marks in the image of the spectacle lens. The impairing nature of the impairing structure may arise from parts of the impairing structure at least partly concealing the optical mark and/or at least partly interfering with the optical mark. This may render an automated identification involving an automated pattern detection difficult and may disable an automated identification.

Alternatively or additionally, the impairing nature of the impairing structure may arise from a possible confusion originating in additional structures being present in and/or at the spectacle lens and/or in the image of the spectacle lens which may be falsely considered as optical marks in the automated identification process. The impairing structure(s) may arise from an intended structural feature of the spectacle lens, such as markings not intended for the automated identification process and/or providing an intended optical property of the spectacle lens, such as a diffractive structural pattern. In particular, the impairing structure may originate in diffractive rings for myopia progression adding a diffractive power to the spectacle lens, wherein the diffractive rings interfere and/or at least partly conceal the optical mark(s) to be identified. Alternatively or additionally, the impairing structure may arise from an undesired feature present in and/or at the spectacle lens, such as a contamination of the spectacle lens and/or a damage of the spectacle lens. An impairing structure may be one or more micro lenses, and/or Fresnel structures, and/or local changes in the refractive value of the material of the spectacle lens, and/or electrical components and/or electrochemical components (in particular in smart lenses), and/or added structures made of a different material than the rest of the spectacle lens and/or crystalline structures.

The identification of an optical mark may include determining a location of the engraving referenced in a coordinate system of the spectacle lens and/or in a world-based coordinate system and/or in a coordinate system of the image of the spectacle lens. Alternatively or additionally, the identification of an optical mark may include determining the shape of the optical mark, retrieving the content of the optical mark, in particular if the optical mark contains text, a DataMatrix code and/or otherwise retrievable information, and/or determining a category of the engraving. A method for identifying an optical mark in a spectacle lens may be a method going beyond a method for facilitating an identification of an optical mark in a spectacle lens and may further include the actual identification of the optical mark. In other words, while a method for facilitating an identification of an optical mark may be directed towards preparing an identification of the optical mark by the same software program or a different software program, a method for identifying an optical mark may include said preparation and in addition also the automated identification process itself. An algorithm can be used for carrying out a workflow, wherein the workflow may be pre-configured by meta information, such as provided job data, which may include a lens blank diameter, a lens material and a lens design, and/or machine data, such as PCS data relating to the process control system. Throughout the disclosure, determining an optical mark means determining one or more optical marks. Likewise, identifying an optical mark means determining one or more optical marks.

The disclosure provides the advantage that an automated identification process for identifying an optical mark in an image of a spectacle lens may be carried out also for spectacle lenses having impairing structures. Impairing structures being present in the spectacle lens may result in conventional processes for determining optical marks not being able to determine the marks. However, the method for facilitating the identification of an optical mark allows preparing the identification of the optical mark to allow the identification of such optical marks being impaired by one or more impairing structures. Hence, the disclosure may allow using conventional automated identification processes which are regularly not enabled to identify optical marks in the presence of impairing structures by providing the enhancement information used for the automated identification process.

Thus, the disclosure provides the advantage that by providing enhancement information in a method for facilitating an identification of an optical mark in an image of a spectacle lens, conventional software programs and/or devices configured to identify optical marks in an image of a spectacle lens may be used also for such spectacle lenses having impairing structures. The method for facilitating the identification of an optical mark in an image of a spectacle lens may be carried out by a separate software program than the automated identification process using the enhancement information. The software program for the automated identification process may be a conventional software program for identifying optical marks in such spectacle lenses having no impairing structures. However, the conventional software program for identifying optical marks in such spectacle lenses may be adapted to carry out the automated identification process using the provided enhancement information. Alternatively, the method for facilitating the identification of an optical mark in an image may be combined with the automated identification process in one single software program, which may for instance replace a conventional software program for identifying optical marks in a spectacle lens having no impairing structures. Hence, the disclosure provides the advantage that a flexible adaptation of the methods and devices for carrying out an automated identification process can be provided, such that conventional devices for carrying out an automated identification process may be further used with spectacle lenses having impairing structures in combination with a software program for facilitating the identification of an optical mark in an image of a spectacle lens. Moreover, the disclosure provides the advantage that a conventional device for carrying out an automated identification process may be modified by replacing a software program such as to operate based on an abovedescribed software program for identifying an optical mark in a spectacle lens according to the disclosure.

Therefore, the disclosure provides an advantage to enable conventional methods and devices to identify optical marks in spectacle lenses having impairing structures by simply combining it with a software program for carrying out a method for facilitating an identification of an optical mark in an image of a spectacle lens or by replacing the conventional software program with a software program for identifying an optical mark in a spectacle lens according to the present disclosure. The method may further comprise a step of determining whether an impairing structure is present in the image of the spectacle lens prior to generating the enhancement information. The step of generating the enhancement information is optionally carried out only, if the presence of an impairing structure is determined. This may allow limiting an application of the method for facilitating an identification of an optical mark to such cases where one or more impairing structures are present and in which conventional automated identification processes may not be enabled to identify the optical marks without the enhancement information being provided. Hence, this provides the advantage that a modular character of the method for facilitating an identification of an optical mark in an image of a spectacle lens can be further increased. Alternatively or additionally the step of determining whether an impairing structure is present in the image may include evaluating a provided information. For instance, when providing an image for facilitating the identification of optical marks and/or for identifying an optical mark, a respective information may be provided indicating whether or not the spectacle lens in the image contains one or more impairing structure and optionally whether or not a process for facilitating the identification of optical mark(s) is recommended or required. The information may be provided from an external source. The information may include information specifying and/or characterizing the spectacle lens, such as a type of spectacle lens.

Alternatively or additionally, the captured image may be analyzed to determine by means of image analysis whether an impairing structure is present or not. For instance, a level of structural detail and/or the presence of predetermined structures, such as ring-shaped structures, may be analyzed. Optionally, an analysis in the frequency-domain and/or time -frequency domain , such as a Fourier transformation, a Laplace transformation and/or a wavelet transformation, may be carried out based on the captured image and based on the distribution of spatial frequency the presence of an impairing structure may be determined. The presence of high spatial frequencies at large intensities may be an indication for an impairing structure being present. Alternatively or additionally, the presence of an impairing structure may be concluded if a conventional identification of an optical mark without using enhancement information fails. Thus, in a first step carrying out the identification without generating and using the enhancement information may be tried. If this attempt remains unsuccessful, this may be regarded as an indication for the presence of an impairing structure.

Moreover, the method may include analyzing geometrical properties of the impairing structures. This may include analyzing a size and/or a shape and/or a position and/or a number and/or a type of the one or more impairing structures.

The step of generating the enhancement information may include localizing the optical mark in the image of the spectacle lens and generating localization information of the optical mark. Accordingly, the step of providing the generated enhancement information to the automated identification process may include providing the localization information of the optical mark to the automated identification process for identifying the optical mark using the localization information. In other words, the enhancement information may include or consist of localization information for localizing the one or more optical marks. The localization information may include at least one coordinate of at least one optical mark, in particular of a center of the respective optical mark, with respect to the spectacle lens or with respect to the image of the spectacle lens. Optionally, the localization information may identify one or more pixels corresponding to the position(s) of the one or more optical marks. This provides the advantage that a further identification can be significantly facilitated as the exact position of the one or more optical marks may be pre-determined by the enhancement information for a subsequent automated identification process. In other words, the identification of the optical mark(s) is facilitated as the image of the spectacle lens may only need to be evaluated at the position(s) identified in the localization information provided as enhancement information. Moreover, the localization information provided as enhancement information may by itself satisfy the identification of the optical mark. In this case, no further identification of the optical mark may be required but the localization information provided as enhancement information may be the result of the identification process. Thus, the generated enhancement information may be provided to the automated identification process together with or without the image of the spectacle lens. In an optional embodiment, the localization information allows limiting the evaluation of the provided image of the spectacle lens to those areas identified in the localization information which may drastically reduce the effort of the automated identification process. This approach provides the further advantages that it offers a low complexity and a high reliability and accuracy directly reflected in the performance of the used algorithm.

The enhancement information may include an adapted image of the spectacle lens, in which one or more parts of the image, in which an optical mark is present, is kept unchanged or is adapted to highlight the optical mark in order to facilitate its identification. This may for instance include amplifying the optical mark and/or changing a color of the optical marks in the adapted image. Other parts of the image, in which no optical mark is detected, may be adapted to facilitate the identification of the optical marks in the other parts. This adaptation may for instance include deleting the parts of the image not including an optical mark and/or replacing the respective contents of the image by a plain color or any other content easily recognized as background not including an optical mark. Generating this kind enhancement information may involve an artificial intelligence based system for determining and localizing the optical marks in the image. The position(s) of the optical marks may then be maintained in an unchanged manner in the adapted image, such that the positions of the optical marks in the adapted image provides a localization information when the adapted image is provided as enhancement information to an automated identification process.

Alternatively or additionally the step of generating the enhancement information may include pre-processing the image of the spectacle lens to enhance a detectability of the optical mark for the automated identification process of the optical mark. Moreover, the step of providing the generated enhancement information to the automated identification process may include providing the pre- processed image to the automated identification process for identifying the optical mark based on the pre-processed image. Hence, the image may be pre-processed and a pre-processed image may be provided as enhancement information or a part of it to the automated identification process. This allows enhancing the detectability of the optical mark(s) in the pre-processed image and, thus, to reduce the requirements for the automated identification process. In particular, the preprocessing may include increasing a visibility of the optical marks in the pre- processed image as compared to the original image of the spectacle lens. This may provide the advantage that the modular character of the method of facilitating the identification of an optical mark in the image of a spectral lens may be provided, i.e. that the method of facilitating the identification of the optical mark may optionally be carried prior to the actual automated identification process if a demand for increasing the detectability of the optical marks due to the presence of impairing structures is recognized. Moreover, this provides the advantage that modifications of the automated identification process may be obsolete or reduced to a minimum and, hence, no substantial adaptation of the automated identification process may be required. Consequently, this approach provides the further advantage that an access to the automated identification process, which may be carried out by conventional devices, for modifications may be minimized.

The pre-processing of the image comprises applying at least one of adaptive thresholding in the image, reducing noise in the image, enhancing a contrast of the image, or carrying out a Fourier-transformation and frequency-filtering. However, any other kind of pre-processing may be suitable which enhances a detectability of the optical marks in the image of the spectacle lens being at least partly impaired by an impairing structure. The pre-processing may result in reducing an impairment of the detectability and/or visibility of the optical mark(s) originating in one or more impairing structures. For instance, the pre-processing may increase the visibility of the optical mark(s) while decreasing the visibility of the impairing structures in a pre-processed image. The process of identifying the optical mark may be carried out solely based on the pre-processed image. However, according to other embodiments also other information may be provided as enhancement information, and/or the original image of the spectacle lens may be provided and/or other information may be used in the process of identifying the optical mark(s).

Generating the enhancement information may be carried out at least partly based on conventional pattern recognition or at least based on artificial-intelligence based pattern recognition. In the latter case, a particularly suitable neuronal network may be chosen for carrying out the generation of the enhancement information. Moreover, an artificial-intelligence based system may be trained for the particular purpose of generating the enhancement information. For instance, the artificial-intelligence based system may be trained to recognize the optical mark(s) in the image of the spectacle lens when at least partly impaired by at least one of one or several different types of impairing structures. In case one type of impairing structures are Fresnel rings, the artificial-intelligence based system may be trained to recognize predetermined optical marks when overlapped in the image by respective lines of the Fresnel rings. Likewise, a respective training of the artificial-intelligence based system may be provided enabling the artificialintelligence based system to identify the optical mark(s) in the presence of different impairing structures and to generate enhancement information and/or to provide localization information and/or to directly identify the optical mark(s).

The conventional pattern recognition as used in conventional computer vision, i.e. not being based on artificial intelligence, may provide the advantage that no inferencing runtime of the data processing system is needed as it would be the case for an artificial intelligence based system. Moreover, it provides the advantage that no training of the data processing system on provided images of spectacle lenses having impairing structures is required. On the other hand, using an artificial intelligence based system for generating the enhancement information may provide the advantage that the reliability for the detection of optical marks may be increased and the required computing time may be reduced. The detection of optical marks impaired by an impairing structure appears to be a well-suited task for an artificial intelligence based system. The method may further comprise retrieving an information from the optical mark, wherein the optical mark may be configured as a DataMatrix code. For instance, an alignment reference mark may be provided as a DataMatrix code providing information about the spectacle lens and/or its owner. Alternatively or additionally, an optical mark may comprise a barcode and/or a QR code and/or letters and/or digits readable by humans. The optical marks may in general provide information related to the spectacle lens, to a manufacturer of the spectacle lens, to a manufacturing process of the spectacle lens, to a manufacturing date of the spectacle lens, and/or to a patient for whom the spectacle lens is intended. Alternatively or additionally, the optical mark may include information for individualizing a spectacle lens for the patient, such as a name of the patient and/or some other information desired by the patient to be provided as an optical mark at the spectacle lens, such as a specific date, like a birth date and/or a wedding date, and/or a name of person or an animal associated with the patient.

The disclosure further comprises a computer-implemented method for preparing an automated process for identifying an optical mark on a spectacle lens, the method being characterized by comprising a step of localizing the optical mark in the image of the spectacle lens and determining localization information of the optical mark. Moreover, the method comprises a step of providing the localization information of the optical mark to the automated identification process for identifying the optical mark using the localization information. The localization information may include one or more coordinates of the optical mark with respect to the spectacle lens and/or with respect to the image of the spectacle lens.

The disclosure further comprises a computer-implemented method for identifying an optical mark in a spectacle lens. The method comprises a) capturing an image (202) of the spectacle lens (402); b) determining whether the spectacle lens comprises an impairing structure; c) generating enhancement information, if the presence of an impairing structure is determined, wherein generating the enhancement information comprises processing the captured image to detect the optical mark and generating a pre-processed image of the spectacle lens with an inserted representation of the detected optical mark; and d) identifying (206) the optical mark (410) in the spectacle lens (402) using the provided enhancement information.

The method provides the advantage that it allows adapting a conventional method for identifying an optical mark in a spectacle lens, which may be adapted to be carried out on conventional spectacle lenses not having impairing structures. Including step c) for cases, in which the presence of impairing structures in the spectacle lens is determined, allows carrying out the method for identifying an optical mark in a spectacle lens in a modified version to allow a reliable identification although the identification of the optical mark may be impaired by the impairing structure.

Moreover, this method allows carrying out the method for identifying an optical mark in a spectacle lens on a conventional device adapted to carry out a conventional method for identifying an optical mark in a spectacle lens not having an impairing structure. Hence, this method allows adapting an existing device to be able to identify an optical mark in a spectacle lens having an impairing structure.

This method, thus, further provides the advantage that the additional step c) may be carried out only if needed.

Moreover, the method may provide the advantage that no hardware modification is required for a device carrying out the identification process.

Accordingly, the steps a), b) and d) may be carried out as an identification process and step c) may be carried out as a facilitation process, wherein the identification process continues in step d) using the enhancement information generated in step c). In other words, the enhancement information generated in step c) may replace the data, on which step d) is carried out. While for a spectacle lens not having an impairing structure, step d) may be carried out based on the originally captured image, step d) may be carried out based on the enhancement information when an impairing structure is present.

Thus, step c) is optionally carried out only if the presence of an impairing structure is determined. The facilitation process of step c) may be implemented as a separate software module. Said separate software module is optionally carried out only when the presence of an impairing structure in the spectacle lens is determined.

Determining, whether the spectacle lens comprises an impairing structure, in step b) may be based on receiving information regarding the spectacle lens. In other words, information about the spectacle lens may be provided, which allows determining whether an impairing structure is present or not. The received information may include information about a type and/or category of the spectacle lens and/or a direct indication of whether or not the spectacle lens comprises an impairing structure.

Processing the captured image in step c) may include a process for model recognition based on artificial intelligence. The artificial intelligence may be trained for recognizing optical marks of one or more predetermined types. Processing the captured image may comprise an object detection process and/or a segmentation process. The processing of the captured image may be carried out directly by the device for identifying the optical mark or may be carried out by a separate device connected to the device, such as an external server.

Generating the pre-processed image may comprise generating an image including a reduced level of structural details as compared to the captured image and inserting the representation of the detected optical mark to the pre-processed image. For instance, generating the pre-processed image may comprise removing structural details from the captured image relating to the impairing structure. This may facilitate the recognition and/or identification of the optical mark based on the enhancement information as compared to the captured image. The pre- processed image may originate in the captured image.

Alternatively or additionally, generating the pre-processed image may comprise generating an artificial image. Hence, alternatively or additionally, the pre- processed image may comprise and/or be based on an artificial image, which may mimic at least partially one or more properties of the captured image. The pre- processed image may be generated from geometric shapes, such as circles, rectangles etc., and optionally without using data retrieved from the captured image.

The inserted representation of the detected optical mark may correspond to or comprise an identical representation of the detected optical mark. The inserted representation may comprise a photographic representation of the detected optical mark. Alternatively or additionally, the inserted representation of the detected optical mark may be formed of or comprise a generic template of the detected optical mark, which may be provided without using information extracted from the captured image.

The disclosure further comprises a computer-implemented method for identifying an optical mark in a spectacle lens. The method comprises capturing an image of the spectacle lens, and detecting a contour of the spectacle lens based on the captured image and determining coordinates of a center of the spectacle lens based on the detected contour of the spectacle lens. The method further comprises detecting the optical mark in the captured image using an artificial intelligence and determining coordinates of the optical mark in the spectacle lens. In addition, the method comprises providing the coordinates of the optical mark and the coordinates of the center of the spectacle lens as enhancement information and identifying the optical mark in the spectacle lens using the captured image and the enhancement information. The method provides the advantage that a conventional method for identifying optical marks in a spectacle lens not having impairing structures may be adapted to be suitable for identifying an optical mark in a spectacle lens having an impairing structure. Moreover, the method may provide the advantage that no hardware modification is necessarily required for a device carrying out the identification process.

The method further provides the advantage that only limited changes to the process, as used for identifying an optical mark in a spectacle lens not having an impairing structure, are required, since the identification process may be carried out based on the originally captured image supported by the enhancement information. Moreover, as the enhancement information includes the coordinates of the optical mark, the computational effort for identifying the optical mark may be reduced, as the area to be analyzed may be limited by using the coordinates.

Detecting the optical mark in the captured image may be carried out using an artificial intelligence.

Determining the coordinates of the optical mark in the spectacle lens may comprise determining the coordinates of a center of the optical mark.

Detecting the optical mark may further comprise determining a size and/or an area of the optical mark based on the captured image and comparing the determined size and/or area of the optical mark with a predetermined size value. This may provide a reliable criteria for excluding “false true” decisions, i.e. a reliable criteria indicating whether a found structure is likely to be an optical mark or not.

The predetermined size value may comprise a size range for the optical mark for one or more dimensions. For instance, the size range may specify that an extension of the optical mark in one or more dimensions has to be in a range from 1 mm to 5 mm and optionally from 2 mm to 3 mm. Alternatively or additionally, the size range may specify that an area of the optical mark has to be in a range from 3 mm 2 to 12 mm 2 and optionally from 4 mm 2 to 9 mm 2 . Alternatively or additionally the size range may be provided in pixels relating to the captured image. An identified object having a size not satisfying one or more of these conditions may be discarded and not considered as an optical mark to be identified.

Detecting the optical mark may comprise determining a distance between the optical mark and the center of the spectacle lens in the spectacle lens based on the captured image and comparing the relative position with a predetermined distance value. The predetermined distance value may be a predetermined distance range. For instance, the predetermined distance range may specify the distance of the optical mark to the center of the spectacle lens to be in a range from 30 mm to 40 mm and optionally from 32,5 mm to 35,5 mm. An identified object having a distance from the center of the spectacle lens not satisfying this condition may be discarded and not considered as an optical mark to be identified.

Detecting the optical mark may comprise determining a total number of detected optical marks. Based on the number of detected optical marks a plausibility check may be carried out. An identification of detected objects as optical mark may involve a plausibility check whether the number of detected objects is a reasonable number for optical marks to be detected. For instance, objects may be disregarded as optical marks if their total number exceeds a predetermined possible total number of optical marks which may be present in the spectacle lens. If the total number of detected optical marks exceeds a predetermined number of provided optical marks, the detection may be regarded as unsuccessful.

Moreover, a data processing system is provided comprising a processor configured for the purpose of facilitating an identification of an optical mark in an image of a spectacle lens and configured to carry out a method as described above.

Moreover, a device configured to carry out at least one of controlling a quality of a spectacle lens, engraving a brand mark into the spectacle lens, stamping marks onto the spectacle lens, blocking a spectacle lens to a blocking piece, retrieving information from an optical mark of the spectacle lens, or edging the spectacle lens is provided. The device comprises a data processing system configured to carry out a method as described above.

The disclosure further comprises a computer-implemented method for preprocessing an image of a spectacle lens for identifying an optical mark on a spectacle lens, the method being characterized by comprising a step of preprocessing the image of the spectacle lens to enhance a detectability of the marking for an automated identification of the optical mark. Moreover, the method comprises a step of providing the pre-processed image to the automated process for identifying the optical mark based on the pre-processed image.

The disclosure further comprises a computer program stored on a non-transitory tangible computer-readable storage medium, the computer program comprising instructions which, when the program is executed by a computer, cause the computer to carry out a method according to the disclosure.

It is understood by a person skilled in the art that the above-described features and the features in the following description and figures are not only disclosed in the explicitly disclosed embodiments and combinations, but that also other technically feasible combinations as well as the isolated features are comprised by the disclosure. In the following, several optional embodiments and specific examples are described with reference to the figures for illustrating the disclosire without limiting the disclosure to the described embodiments.

Further optional embodiments will be illustrated in the following with reference to the drawings. The Figures show:

Figure 1 a schematical diagram of a computer-implemented method for facilitating an identification of an optical mark according to an optional embodiment; Figure 2 a method for identifying an optical mark in a spectacle lens according to an optional embodiment;

Figure 3 a device comprising a data processing system according to an optional embodiment;

Figures 4A and 4B optional embodiments of spectacle lenses having impairment structures;

Figure 4C a 2D Fourier transformation of an image of a spectacle lens according to an optional embodiment;

Figures 5A to 5D a method for facilitating an identification of an optical mark according to an optional embodiment;

Figures 6 and 7 methods for identifying an optical mark in a spectacle lens according to optional embodiments.

In the drawings the same reference signs are used for corresponding or similar features in different drawings.

Figure 1 shows in a schematical diagram a computer-implemented method 100 for facilitating an identification of an optical mark 410 in an image 400 of a spectacle lens 402 according to an optional embodiment. An exemplary image 400 of a spectacle lens 402 is shown in Figures 4Aand 4B.

The method 100 comprises a step 102 of determining whether an impairing structure 406 is present in the image 400 of the spectacle lens 402 prior to generating the enhancement information.

The method 100 comprises a further step 104 of generating enhancement information based on the image 400 of the spectacle lens 402, wherein the enhancement information is configured to enhance a detectability of the optical mark 410 in an automated identification process when an impairing structure 406 impairs the detectability of the optical mark 410 in the image 400. Generating the enhancement information in step 104 is carried out only, if the presence of an impairing structure 406 is determined in step 102.

The method 100 further comprises a step 106 of providing the generated enhancement information to the automated identification process for identifying the optical mark 410 using the enhancement information.

The step 104 of generating the enhancement information may include localizing the optical mark 410 in the image 400 of the spectacle lens 402 and generating localization information of the optical mark 410. Accordingly, the step 106 of providing the generated enhancement information to the automated identification process includes providing the localization information of the optical mark 410 to the automated identification process for identifying the optical mark 410 using the localization information. The localization information may include at least one coordinate of the optical mark 410 with respect to the spectacle lens 402 or with respect to the image 400 of the spectacle lens 402. The generated enhancement information may be provided to the automated identification process together with or without the image 400 of the spectacle lens 402.

Alternatively or additionally, the step 104 of generating the enhancement information may include pre-processing the image 400 of the spectacle lens 402 to enhance a detectability of the optical mark 410 for the automated identification process of the optical mark 410. Accordingly, the step 106 of providing the generated enhancement information to the automated identification process may include providing the pre-processed image 400 to the automated identification process for identifying the optical mark 410 based on the pre-processed image 408. The pre-processing of the image 400 comprises at least one of adaptive thresholding on the image 400, reducing noise in the image 400, enhancing a contrast of the image 400, or carrying out a Fourier-transformation and frequencyfiltering. Identifying the optical mark 410 may be carried out solely based on the pre-processed image 400. Generating the enhancement information in step 104 may be carried out at least partly based on conventional pattern recognition or at least based on artificial-intelligence based pattern recognition.

Figure 2 schematically depicts a method 200 for identifying an optical mark 410 in a spectacle lens according to an optional embodiment. The method 200 comprises a step 202 of capturing an image 400 of the spectacle lens 402. Moreover, the method 200 comprises a step 204 of facilitating the identification of the optical mark 410 in the captured image 400 of the spectacle lens by carrying out the above-described method 100. Furthermore, the method 200 comprises a step 206 of identifying the optical mark 410 in the spectacle lens using the provided enhancement information.

Figure 3 schematically depicts a device 300 configured to carry out at least one of controlling a quality of a spectacle lens 402, engraving a brand mark into the spectacle lens 402, stamping marks onto the spectacle lens 402, blocking a spectacle lens to a blocking piece, retrieving information from an optical mark 410 of the spectacle lens 402, or edging the spectacle lens 402. The device 300 comprises a data processing system 302, which may comprise a processor 304 and a memory 306. The data processing system 302 may be configured for the purpose of facilitating an identification of an optical mark 410 in an image 400 of a spectacle lens 402 and in particular for carrying out a method 100 as described with reference to Figure 1 and/or a method 200 as described with reference to Figure 2. The data processing system 302 may be configured to generate an enhancement information based on the image 400 of the spectacle lens 402, wherein the enhancement information is configured to enhance a detectability of the optical mark 410 in an automated identification process when an impairing structure 406 impairs the detectability of the optical mark in the image 400. In addition, the data processing system 302 may be configured to provide the generated enhancement information to the automated identification process for identifying the optical mark 410 using the enhancement information. In the following several examples and features are disclosed in a non-limiting manner.

Figures 4A and 4B schematically illustrate images 400 of spectacle lenses 402 having optical marks 410 and impairing structures 406.

Figure 4A shows in an exemplary view an image 400 of a spectacle lens 402 having multiple small circular impairing structures 406, which are suitable to impair the detection of optical marks in the image 400 of the spectacle lens 402.

Figure 4B shows an image 400 of a spectacle lens 402 having large ring-shaped impairing structures 406, which may be Fresnel rings of a diffractive structure.

A pre-processed image may be generated based on the image 400 of the spectacle lens 402. An adaptive thresholding may be applied to the entire image 400 during pre-processing and/or a convolution to reduce noise. This may result in the pre-processed image having an enhanced visibility of the optical marks 410 and a reduced impairment by the impairing structures 406 for the detectability of the optical marks 410. The optical marks 410 may represent alignment reference marks, whose location indicates the orientation of the spectacle lens 402. According to the presented embodiment, the optical marks 410 may be formed in the shape of the letter “Z”, which may in addition indicate the manufacturer of the spectacle lens. The enlarged section in Figures 4A and 4B adjacent to the reference numeral 410 indicates several examples of optical marks 410.

A further pre-processed image having further enhanced the detectability of the optical marks 410 with respect to the impairing structures 406 may be generated. The pre-processed image may be provided as enhancement information to an automated identification process to identify the optical marks 410. While the automated identification process may be unable to identify the optical marks 410 in the original image of the spectacle lens, the automated identification process may be well suited to identify the optical marks 10 in the pre-processed image. The axes of Figure 4C may indicate the pixel numbers in the pre-processed image.

Figure 4C exemplarily shows a 2D Fourier-transform 414 of the image 400 of the spectacle lens 402 in Figure 4B. Based on the 2D Fourier-transform 414, spatial frequency components originating in the Fresnel rings 404 may be identified and a frequency filtering may be applied to eliminate the spatial frequency components of the Fresnel rings, i.e. of the impairing structures 406. Applying an inverse 2D Fourier-transformation may then generate a pre-processed image to be provided as enhancement information for identifying the optical marks 401 .

Moreover, a step of determining a design of the spectacle lens 402 may be carried out. An automated process may determine a size and a location of a central section 502 of the spectacle lens 402. The spectacle lens 402 may have multiple ring-shaped impairing structures 406. A central section 502 may form a section surrounded by an inner most ring-shaped impairing structure 406. The central section 502 may be used for determining a location of an optical mark 410. A pre- processed image of the section of the image 400 of the spectacle lens 402, which may then be used in combination with the determined spectacle lens design as enhancement information for identifying one or more optical marks 410. Indicators highlighting a determined diameter of the central section 502 and a diameter of the second innermost ring-shaped impairing structure may be provided. Moreover, the several identified optical marks 410 are indicated in the image 400 of the spectacle lens 402, two of which represent alignment reference marks.

With reference to Figures 5A to 5D, a method 100 for facilitating an identification of an optical mark according to an optional embodiment is described. According to this optional embodiment, the step 104 of generating the enhancement information is carried out using an artificial-intelligence based software algorithm. In Figure 5A, an image 400 of the spectacle lens 402 is captured. Then, for generating the enhancement information, the captured image 400 is provided to the artificialintelligence based software algorithm. Generating the enhancement information may then include determining a contour of the spectacle lens 402 (Figure 5B) and replacing the determined area confined by the contour with a pre-defined color tone (Figure 5C). For this purpose, a segmentation model “UNet” may be used to identify search areas based on a free form detection, which may work independently of a shape of the spectacle lens 410410. Moreover, based on the captured image 400 of the spectacle lens 402 the artificial-intelligence based software algorithm is used to detect the optical marks 410, which are at least partly impaired by ring-shaped impairing structures. For this purpose, an object detection model may be used, such as “ResNest101 FAST R-CNN backbone”. The optical marks 410 are indicated in an enlarged view for the convenience of the reader. The artificial-intelligence based software algorithm may use a trained model optimized for determining and/or identifying the optical marks 410 when impaired by impairing structures 406. One or more impairing structures 406 may be predetermined to specifically train the artificial-intelligence based software algorithm for localizing the optical marks 410 when impaired by said impairing structures 406. Then, an artificial image 600of the spectacle lens 402 may be generated (Figure 5D) based on an image syntheses maintaining a correct relative positioning of the optical marks 410 and the spectacle lens 402, in which most parts of the image 400 of the spectacle lens 402 are replaced by the pre-defined color tone shown in Figure 5C and only the localized optical marks 410 are provided in the artificial image 600 at the exact position where they were localized in the captured image 400. This artificial image 600 may then be provided as enhancement information to facilitate the identification of the optical marks 410 in the spectacle lens 402, which may be carried out by a separate software program optionally operated at a conventional device for engraving a brand mark into the spectacle lens 402, stamping marks onto the spectacle lens 402, blocking a spectacle lens 402 to a blocking piece, retrieving information from an optical mark 410 of the spectacle lens 402, and/or edging the spectacle lens 402. Moreover, the method may include determining other optical marks 410 and/or parts of optical marks for determining an orientation of the spectacle lens 402, such as a detection of North and South of the spectacle lens 402. For this purpose, additional information may be determined, such as a location of a product type engraving, based on which the orientation of the spectacle lens 402 may be unambiguously determined. Such a product type engraving may be adjoined to another optical mark 410 or located separately from other optical marks 410.

A method for facilitating the identification of one or more optical marks according to another optional embodiment may be carried out. Like the above-described embodiments, also this embodiment is based on a captured image 400 of the spectacle lens 402, as shown in Figure 4B. Moreover, this method uses an artificial-intelligence based software algorithm for localizing the optical marks 410. The localization information, which may include the coordinates of the optical marks 410 with respect to the image 400 or the spectacle lens 402 may be provided as enhancement information and/or may be directly used to identify the optical marks 410. In particular the localization information may include the coordinate of the center point 700 of each of the identified optical marks 410. The coordinates may be provided in a coordinate system of the spectacle lens 402 having its origin in the center of the spectacle lens 402. The origin of the coordinate system may be determined based on the determined outer contour of the spectacle lens 402 and/or based on the innermost ring-shaped impairing structure 406 confining the central section 502 of the spectacle lens 402. The coordinates of the center of the respective optical mark 410 may be determined and used as localization information of the respective optical mark 410. The localization information may then be provided as enhancement information, which may directly allow identifying the optical marks 410 and/or which may be used in a further automated identification process for identifying the optical marks 410 using a conventional device. In this respect, a software program operated by a conventional device may be adapted to receive the enhancement information and to use the provided enhancement information for the further process carried out by the conventional device and/or for carrying out and optional additional identification of the optical marks 410. The conventional device may for instance be configured to or suitable for engraving a brand mark into the spectacle lens 402, stamping marks onto the spectacle lens 402, blocking a spectacle lens 402 to a blocking piece, retrieving information from an optical mark of the spectacle lens 402, and/or edging the spectacle lens 402.

Moreover, additional information may be determined based on a relative positioning of different optical marks 410. The optical marks 410 may represent alignment reference marks. In addition, a product type engraving and a customer engraving may be present in the spectacle lens and may be automatedly determined based the image of the spectacle lens. For identifying these additional engravings, their position to the optical marks 410 representing the alignment reference marks and the axis defined by the alignment reference marks may be evaluated. The relative positioning may facilitate a classification of said engravings. The product type engraving is located at a larger distance from the axis defined by the alignment reference marks than the customer engraving, which essentially is located on the axis defined by the alignment reference marks. Hence, a threshold value for the distance of the engravings from the axis defined by the alignment reference marks may be provided to distinguish between optical marks, such as engravings, of different categories, such as product type engravings and customer engravings.

Figure 6 shows in a schematic diagram a omputer-implemented method 600 for identifying an optical mark 410 in a spectacle lens 402.

The method comprises a) capturing an image 602 of the spectacle lens 402 and b) determining 604 whether the spectacle lens comprises an impairing structure.

Moreover, the method 600 comprises generating 606 enhancement information, if the presence of an impairing structure is determined, wherein generating the enhancement information comprises processing the captured image to detect the optical mark and generating a pre-processed image of the spectacle lens with an inserted representation of the detected optical mark. The method 600 further comprises d) identifying 608 the optical mark 410 in the spectacle lens 402 using the provided enhancement information.

The steps a), b) and d) may be carried out as an identification process and step c) may be carried out as a facilitation process, wherein the identification process may continue in step d) using the enhancement information generated in step c).

Step c) may be carried out only if the presence of an impairing structure is determined.

Determining 604 whether the spectacle lens comprises an impairing structure, in step b) may be based on receiving information regarding the spectacle lens.

Processing the captured image in step c) may include a process for model recognition based on artificial intelligence. Processing the captured image may alternatively or additionally comprise an object detection process and/or a segmentation process.

Generating 606 the pre-processed image may comprise generating an image including a reduced level of structural details as compared to the captured image and inserting the representation of the detected optical mark to the pre-processed image.

Figure 7 schematically depicts a computer-implemented method 700 for identifying an optical mark 410 in a spectacle lens 402.

The method 700 comprises capturing 702 an image of the spectacle lens 402.

The method 700 further comprises detecting 704 a contour of the spectacle lens based on the captured image and determining coordinates of a center of the spectacle lens based on the detected contour of the spectacle lens. Moreover, the method 700 comprises detecting 706 the optical mark in the captured image using an artificial intelligence and determining coordinates of the optical mark in the spectacle lens.

The method further comprises providing 708 the coordinates of the optical mark and the coordinates of the center of the spectacle lens as enhancement information and identifying (206) the optical mark (410) in the spectacle lens (402) using the captured image and the enhancement information.

Detecting 706 the optical mark in the captured image may be carried out using an artificial intelligence. Detecting 706 the optical mark may further comprise determining a size and/or an area of the optical mark based on the captured image and comparing the determined size and/or area of the optical mark with a predetermined size value.

Determining the coordinates of the optical mark in the spectacle lens may comprise determining the coordinates of a center of the optical mark.

The predetermined size value may comprise a size range for the optical mark for one or more dimensions.

Detecting 706 the optical mark may comprise determining a distance between the optical mark and the center of the spectacle lens in the spectacle lens based on the captured image and comparing the relative position with a predetermined distance value. List of reference signs

100 method for facilitating an identification of an optical mark

102 - 106 method steps 200 method for identifying an optical mark in a spectacle lens according to an optional embodiment

202 - 206 method steps

300 device

302 data processing system 304 processor

306 memory

400 image of spectacle lens

402 spectacle lens

406 impairing structure 410 optical mark

414 2D Fourier-transform of image of spectacle lens

502 central section of a spectacle lens

600 artificial image