Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
A SEMI-AUTOMATIC SEGMENTATION SYSTEM FOR PARTICLE MEASUREMENTS FROM MICROSCOPY IMAGES
Document Type and Number:
WIPO Patent Application WO/2023/208973
Kind Code:
A1
Abstract:
A method of computer-based small particle measurement for drug formulation, in which digital microscopy images (6) of the small particles (10) used for the drug formulation are created by an image sensor (5) and provided to a computer (2) performing a measurement software (8), the software (8) is segmenting the small particles (10) in the digital microscopy images (6) and calculating properties of the small particels (10) according to specific parameter sets, wherein the software (8) samples different candidate parameter sets, applies them automatically for the segmentation and/or calculation process and shows the results via a display (4) to a user (1), wherein the user (1) picks the candidate parameter set with the best results, the software (8) establishes and trains an internal machine learning model (7) with this user feedback and applies the trained model (7) to reiterate the automatic segmentation and/or calculation and user feedback obtaining process until an optimal parameter set has been approved by the user (1).

Inventors:
PLOETZ TOBIAS (DE)
Application Number:
PCT/EP2023/060869
Publication Date:
November 02, 2023
Filing Date:
April 26, 2023
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
MERCK PATENT GMBH (DE)
International Classes:
G06F18/40; G06N3/08; G06V20/69
Foreign References:
US20200134831A12020-04-30
US20210264589A12021-08-26
Other References:
BRITTAIN HARRY ET AL.: "Physical Characterization of Pharmaceutical Solids", 1 August 1991 (1991-08-01), pages 1 - 11, XP093053397, Retrieved from the Internet [retrieved on 20230612]
WEI CHU ET AL: "Preference learning with Gaussian processes", PROCEEDINGS / TWENTY-SECOND INTERNATIONAL CONFERENCE ON MACHINE LEARNING, BONN, GERMANY, 7 - 11 AUGUST, 2005, ASSOCIATION FOR COMPUTING MACHINERY, NEW YORK, 7 August 2005 (2005-08-07), pages 137 - 144, XP058203903, ISBN: 978-1-59593-180-1, DOI: 10.1145/1102351.1102369
PEDRO F. FELZENSZWALB ET AL: "Efficient Graph-Based Image Segmentation", INTERNATIONAL JOURNAL OF COMPUTER VISION, vol. 59, no. 2, 1 September 2004 (2004-09-01), pages 167 - 181, XP055013351, ISSN: 0920-5691, DOI: 10.1023/B:VISI.0000022288.19776.77
Download PDF:
Claims:
Patent claims A method of computer-based small particle measurement for drug formulation, in which digital microscopy images (6) of the small particles (10) used for the drug formulation are created by an image sensor (5) and provided to a computer (2) performing a measurement software (8), the software (8) is segmenting the small particles (10) in the digital microscopy images (6) and calculating properties of the small particels (10) according to specific parameter sets, wherein the software (8) samples different candidate parameter sets, applies them automatically for the segmentation and/or calculation process and shows the results via a display (4) to a user (1 ), wherein the user (1 ) picks the candidate parameter set with the best results, the software (8) establishes and trains an internal machine learning model (7) with this user feedback and applies the trained model (7) to reiterate the automatic segmentation and/or calculation and user feedback obtaining process until an optimal parameter set has been approved by the user (1 ). A method according to claim 1 , wherein Active Pharmaceutical Ingredient particles (API) (10) are used as small particles (10). A method according to one of the preceding claims wherein the measured properties comprise of the structure and fractality of the small API particle surface to determine the surface smoothness of small API particles and of the particle size distributions. A method according to one of the preceding claims wherein the small particles (10) comprise of highly variable particle shapes and sizes. A method according to one of the preceding claims wherein the digital microscopy images (6) are created under variable lighting conditions. A system to perform a computer-based small particle measurement for drug formulation comprising of a computer (2) performing a measurement software (8), a display (4) to show information to a user (1 ), means for the user (1 ) to input data and/or instructions to the software (8) and an image sensor (5) wherein the system (11 ) is arranged to create digital microscopy images (6) of the small particles (10) used for the drug formulation via the image sensor (5), to segmentate the small particles (10) in the digital microscopy images

(6) and calculating properties of the small particels (10) via the software (8) according to specific parameter sets, and wherein the software (8) samples different candidate parameter sets, applies them automatically for the segmentation and/or calculation process and shows the results via the display (4) to the user (1 ), wherein the user (1 ) picks the candidate parameter set with the best results, the software (8) establishes and trains an internal machine learning model

(7) with this user feedback and applies the trained model (7) to reiterate the automatic segmentation and/or calculation and user feedback obtaining process until an optimal parameter set has been approved by the user (1 ). A system according to claim 6, wherein the image sensor (5) is an scanning electron or bright field microscope creating microscopy images as digital images (6). A system according to claim 6 or 7, wherein the software (8) comprise of either two connected software components, one component responsible for the particle segmentation and the other one for the property calculation, or of one software component performing both tasks.

Description:
A semi-automatic segmentation system for particle measurements from microscopy images

The hereby described invention discloses a method and a system for a software based semi-automatic particle measurement.

Technical Field

The invention deals with the technological area of digital image processing and drug formulation.

Background and description of the prior art

In drug formulation, especially for solid dose products, the final product, e.g. the final pill, should have certain desired properties, e.g. hardness, surface smoothness, etc. In order to tailor the production process such that these requirements are met the characteristics of the individual components need to be taken into account. For example, the surface smoothness of small API particles will influence how they agglomerate with other excipients. And the surface properties of the agglomerates will influence the properties of a pressed pill. Hence, there is a need to measure various properties of small particles and depending on the property a suitable measurement device should be chosen. Scanning electron or bright field microscopy can be used to measure the structure and fractal ity of the particle surface. Since microscopy images usually show many particles it is necessary to segment and isolate each particle before calculating measurements on the particle level.

There are established particle segmentation workflows implemented in open software packages like Imaged I Fiji or llastik as well as commercial software such as Zeiss ZEN lite. However, these workflows require extensive training and expertise of the user. Furthermore, segmenting particles with these workflows require tuning of various parameters of the user and other user interventions for each image that should be analyzed, rendering the whole process time consuming.

For certain properties that can be assessed through microscopy images, there are also other commercial tools that rely on other measurement approaches. For example, particle size distributions can also be obtained from devices from Beckman Coulter Life Sciences or Thermofisher that employ laser diffraction. However, these do not allow for a direct visual analysis of surface properties like the surface smoothness.

Summary of the invention

The task of this patent application is therefore to provide a more efficient particle measurement approach for drug formulation which also requires less specific user expertise about the measurement process.

This task has been solved by a method of computer-based small particle measurement for drug formulation, in which digital microscopy images of the small particles used for the drug formulation are created by an image sensor and provided to a computer performing a measurement software, the software is segmentating the small particles in the digital microscopy images and calculating properties of the small particels according to specific parameter sets, wherein the software samples different candidate parameter sets, applies them automatically for the segmentation and/or calculation process and shows the results via a display to a user, wherein the user picks the candidate parameter set with the best results, the software establishes and trains an internal machine learning model with this user feedback and applies the trained model to reiterate the automatic segmentation and/or calculation and user feedback obtaining process until an optimal parameter set has been approved by the user. Proposed is a general framework for optimizing parameters of a workflow. Specifically, the system samples different candidate parameter sets and runs the workflow automatically. The user sees the respective results, e.g. the particle segmentation corresponding to a parameter set, and picks the best one. Then the system learns from this feedback and builds an internal model about what parameter combinations are leading to good results. Then, new, more promising candidate set of parameters is sampled. Again, the user picks the best result, the system learns from this feedback, and this process is continued for a few iterations until the system has converged on a good parameter set. From a user perspective this process is quite intuitive, since the user only has to compare final results instead of tuning individual workflow parameters.

Advantageous and therefore preferred further developments of this invention emerge from the associated subclaims and from the description and the associated drawings.

One of those preferred further developments of the disclosed method comprise that Active Pharmaceutical Ingredient (API) particles are used as small particles. The invention is not restricted to API-particels though. Other suitable types of small particles can also be measured with it.

Another one of those preferred further developments of the disclosed method comprise that the measured properties comprise of the structure and fractal ity of the small API particle surface to determine the surface smoothness of small API particles and of the particle size distributions. Those properties which are taken from the digital images are two of several possible properties which can be used. Other ones are suitable as well, but the structure and fractality of the small API particle surface and the particle size distributions are most preferred options to be applied in the segmentation process. Another one of those preferred further developments of the disclosed method comprise that the small particles comprise of highly variable particle shapes and sizes. That’s why it is so difficult to perform a reliable segmentation process and therefore measurement. It is one of the advantages of the invented method that it can handle those different particle shapes and sizes.

Another one of those preferred further developments of the disclosed method comprise that the digital microscopy images are created under variable lighting conditions. If the measurement software cannot operate with a specific lighting setting, a different setting can be used. Or it is possible to create the digital images always with a specific set of different lighting conditions and use those different exposed digital images then for the software. The different lighting conditions can be provided by a suitable lamp installation which has to be able to illuminate the test sample with the small particles which are to be measured. Different light devices with different light sources are possible - from standard LED installations up until specific laboratory devices, emitting standard white light but also light with specific wavelengths.

Another solution to the assigned task comprises of a system to perform a computer-based small particle measurement for drug formulation comprising of a computer performing a measurement software, a display to show information to a user, means for the user to input data and/or instructions and an image sensor wherein the system is arranged to create digital microscopy images of the small particles used for the drug formulation via the image sensor, to segmentate the small particles in the digital microscopy images and calculating properties of the small particels via the software according to specific parameter sets, and wherein the software samples different candidate parameter sets, applies them automatically for the segmentation and/or calculation process and shows the results via a display to a user, wherein the user picks the candidate parameter set with the best results, the software establishes and trains an internal machine learning model with this user feedback and applies the trained model to reiterate the automatic segmentation and/or calculation and user feedback obtaining process until an optimal parameter set has been approved by the user. For this system the computer is usually a separate device, but it is also possible to use a light sensor with an integrated calculation device which is then able to perform the measurement software. In any case the different devices have to be linked via a data connection, e.g. a suitable data network like LAN, wifi, Bluetooth are other. The digital images can be stored in a memory which belongs to the computer or in a separate database which is connected via the data network.

One of the preferred further developments of the disclosed system comprise that the image sensor is an scanning electron or bright field microscope creating microscopy images as digital images. Those digital images are then stored in the memory and provided to the measurement software which analyzes them according to the invented method.

Another one of the preferred further developments of the disclosed system comprise that the software comprise of either two connected software components, one component responsible for the particle segmentation and the other one for the property calculation, or of one software component performing both tasks. Which embodiment is preferred in the end depends on the used environment, like the applied programming language, available and used software libraries and/or frameworks, the used hardware etc.

The proposed solution allows to generate particle measurements in an intuitive way with minimal user interaction and less training time.

Detailed description of the invention The method and system according to the invention and functionally advantageous developments of those are described in more detail below with reference to the associated drawings using at least one preferred exemplary embodiment. In the drawings, elements that correspond to one another are provided with the same reference numerals.

The drawings show:

Figure 1 : A schematical overview about the used system components

Figure 2: Step 1 : Uploading a microscopy image through a user interface

Figure 3: Step 2a: Derive a suitable segmentation of the microscopy image

Figure 4: Step 2b: Visualizing the progress of the internal optimization Figure 5: Step 3: Filter background segments

The system for the Scanning Electron Microscopy (SEM) 11 in its preferred embodiment comprises of several components which are shown in Figure 1 . These components include a control unit 2 in form of any kind of suitable computer 2 which has access to a memory 3. Connected to the computer 2 is a microscope 5, preferably a scanning electron or bright field microscope, capable of creating digital microscopy images 6 of small particles 10, in particular Active Pharmaceutical Ingredient (API) particles 10 used for drug formulation of pressed pills etc. The digital microscopy images 6 are preferably stored on the memory after creation. They can also be stored on any other available memory, be it a local memory or any server like in a cloud. Also stored on preferably but not exclusively the local memory is a software 8 in form of a control program 8 which also provides a machine learning model (Al model) 7 which can be trained with and process the digital microscopy images 6. Furthermore the system 11 comprise a display which shows a User Interface 9, preferably a GUI 9, to the user 1 to whom any process relevant information, like the digital microscopy images 6 or any calculation result from the software 8 respective the Al model 7 can be shown via a display 4. The user 1 is also able to enter commands or any other data to the software 8 via the User Interface 9.

The invented method in one preferred embodiment is now shown in the figures 2 to 5 and described more detailed in the following chapters.

The software application 8 performed by the described computer 2 implements the invented method. The basic workflow of this application consists therefore of three main steps:

1 . Uploading a microscopy image 6 which has been created by examing a test sample with API particles 10 with a digital microscopy 5 and stored on a memory 3 through a User Interface 9. Here basic information of the uploaded image 6 gets automatically extracted (see Figure 2)

2. Derive a suitable segmentation of the microscopy image 6 through the iterative “best candidate” selection as outlined in the previous section. To this end, the user 1 gets presented with candidate segmentations and selects the candidate that he deems best (see Figure 3).

The progress of the internal optimization is visualized via the display 4 as shown in Figure 4, e.g. the user 1 has feedback which parts of the parameter space are recognized to produce good segmentations. Once the user 1 is satisfied with the segmentation he proceeds to the next step.

3. The User Interface 9 allows to filter background segments based on the convexity, area and texture variance of the segments, as can be seen in Figure 5. Once the user 1 is satisfied with the final result, different particle measurements, e.g. size, diameter, elongation, etc, are calculated and the result can be exported - e.g. via an Excel sheet for further analysis.

In more detail, step 2 of the above mentioned workflow is based on a Bayesian optimization in the parameter space of a segmentation algorithm. Preferably, the Felzenszwalb segmentation algorithm is used but any other segmentation algorithm with a moderate amount of parameters can be used. In the Bayesian optimization framework a Gaussian process over the parameter space is used to model some form of utility of parameter sets. In this example case the Gaussian process models the quality of the resulting segmentation. Since it is desired to use pairwise comparisons as user feedback to learn the utility, the preference learning Gaussian process proposed by Chu & Ghahramani in their paper “Preference Learning with Gaussian Processes” from 2005 is leveraged. The goal of the optimization is then to find a set of parameters of the segmentation algorithm that leads to a good segmentation of physical particles in the digital input image 6. To this end, the optimization procedure works as follows:

1. The Gaussian process of the Bayesian optimization is initialized with an uninformative prior.

2. The following steps are iterated until the user finds a segmentation that is sufficiently accurate a. The current posterior likelihood over segmentation parameters (given by the current Gaussian process) is used together with an acquisition function to randomly sample a small set of new parameter settings. Here, any acquisition function can be used, it is preferred to employ an acquisition function that promotes a certain degree of diversity of the samples, e.g. batch expected improvements. b. Each sampled parameter set is used to create a segmentation of the physical particles in the input image 6. c. The current best segmentation is found by looking at all previously used parameter sets and taking the segmentation of the parameter set that achieves highest utility as modeled by the current Gaussian process. d. In a user interface each of the segmentations, i.e. those associated with the newly sampled parameter set as well as the current best segmentation, are shown to the user 1 . The user 1 is asked to indicate among those displayed segmentations the one that she deems best. e. Once the user 1 has selected the best segmentation among those displayed, this induces a set of pairwise comparisons in the sense that the chosen segmentation is better then each of the other segmentations. With these pairwise comparisons the Gaussian process is updated.

List of references

1 User

2 Computer / Control Unit

3 Memory

4 Display

5 Image Sensor / Microscope

6 Digital Microscopy Images

7 Al I Machine Learning Model

8 Software I Control Program

9 User Interface (GUI)

10 Active Pharmaceutical Ingredient particles (API)

11 System for Scanning Electron Microscopy (SEM)