SE518457C2 - Segmenting method for objects in a first category in a series of images with at least one digital microscope color image that depicts biological material for analyzing peripheral blood and bone marrow - Google Patents

Segmenting method for objects in a first category in a series of images with at least one digital microscope color image that depicts biological material for analyzing peripheral blood and bone marrow

Info

Publication number
SE518457C2
SE518457C2 SE0100142A SE0100142A SE518457C2 SE 518457 C2 SE518457 C2 SE 518457C2 SE 0100142 A SE0100142 A SE 0100142A SE 0100142 A SE0100142 A SE 0100142A SE 518457 C2 SE518457 C2 SE 518457C2
Authority
SE
Sweden
Prior art keywords
pixels
category
image
function
objects
Prior art date
Application number
SE0100142A
Other languages
Swedish (sv)
Other versions
SE0100142L (en
SE0100142D0 (en
Inventor
Bjoern Nilsson
Original Assignee
Cellavision Ab
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Cellavision Ab filed Critical Cellavision Ab
Priority to SE0100142A priority Critical patent/SE518457C2/en
Publication of SE0100142D0 publication Critical patent/SE0100142D0/en
Priority to PCT/SE2002/000050 priority patent/WO2002057997A1/en
Publication of SE0100142L publication Critical patent/SE0100142L/en
Publication of SE518457C2 publication Critical patent/SE518457C2/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/25Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N33/00Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
    • G01N33/48Biological material, e.g. blood, urine; Haemocytometers
    • G01N33/483Physical analysis of biological material
    • G01N33/487Physical analysis of biological material of liquid biological material
    • G01N33/49Blood
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/60Type of objects
    • G06V20/69Microscopic objects, e.g. biological cells or cellular parts

Landscapes

  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Biomedical Technology (AREA)
  • General Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Hematology (AREA)
  • Pathology (AREA)
  • Immunology (AREA)
  • Biochemistry (AREA)
  • Analytical Chemistry (AREA)
  • Molecular Biology (AREA)
  • Theoretical Computer Science (AREA)
  • Biophysics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Urology & Nephrology (AREA)
  • Food Science & Technology (AREA)
  • Medicinal Chemistry (AREA)
  • Ecology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)
  • Color Image Communication Systems (AREA)

Abstract

The method involves identifying a first set of pixels in a color image in a series of images using a first rough measure. A first function is identified which gives an approximate description of the relationship between the respective intensities of the two color components for pixels in the first set. A second set of pixels is identified in a color image in the series of images using a second rough measure. A second function is identified. It is determined whether a given pixel in a color image in the series of images depicts an object in the first category or not, on the basis of the given pixel's respective intensities of the two color components and the first and second functions. Independent claims are included for a computer program for segmenting objects and for a digital storage medium.

Description

annu: rvnz» lO l5 20 25 30 35 518 4 s? '* 2 förfarandet fungerar bra. Med en väl utförd segmentering av en given blodcell menas att alla bildelement, som finns i en bild och som avbildar den givna blodcellen identifieras, men inga andra bildelement. Det kan finnas flera blodceller i en bild och sammanhängande grupper av identifierade bildelement hanteras såsom ett segmenterat objekt. Det är de identifierade bildelementen som vidare- befordras för klassning av blodcellen. Om segmenteringen blir felaktig, dvs om bildelement som inte avbildar den givna blodcellen vidarebefordras, eller när bildelement som avbildar den givna blodcellen inte vidarebefordras, blir cellens utseende förvrängt, vilket kan ge en felak- tig klassning. För många felaktiga klassningar leder till att systemet blir mindre pålitligt. annu: rvnz »lO l5 20 25 30 35 518 4 s? '* 2 procedure works well. By a well-performed segmentation of a given blood cell is meant that all picture elements which are present in an image and which depict the given blood cell are identified, but no other picture elements. There can be several blood cells in an image and contiguous groups of identified pixels are handled as a segmented object. It is the identified pixels that are passed on for classification of the blood cell. If the segmentation becomes incorrect, ie if pixels that do not image the given blood cell are forwarded, or when pixels that image the given blood cell are not forwarded, the appearance of the cell is distorted, which can give an incorrect classification. Too many incorrect classifications lead to the system becoming less reliable.

En välkänd metod för utförande av segmentering är så kallad tröskling. Vid tröskling jämförs egenskaper, exem- pelvis gråskaleintensitet, hos ett givet bildelement med ett tröskelvärde, för att utröna om bildelementet har så- dana egenskaper som förväntas av de bildelement som av- bildar det sökta objektet. Om en mörk typ av sökta objekt skall urskiljas i en svart-vit bild, kan exempelvis det givna bildelementets gråskaleintensitet jämföras med ett för de sökta objekten anpassat tröskelvärde. Om det givna bildelementets gråskaleintensitet är mörkare än det sökta tröskelvärdet bedöms detta bildelement avbilda ett sökt objekt, annars inte.A well-known method for performing segmentation is so-called thresholding. When thresholding, properties, for example grayscale intensity, of a given picture element are compared with a threshold value, in order to determine whether the picture element has such properties as are expected of the picture elements which depict the object sought. If a dark type of searched object is to be distinguished in a black and white image, for example the grayscale intensity of the given pixel can be compared with a threshold value adapted to the searched objects. If the grayscale intensity of the given pixel is darker than the desired threshold value, this pixel is judged to image a searched object, otherwise not.

När färgbilder utgör indata till segmenteringsför- farandet kan färginformationen i bilderna utnyttjas. Ett givet bildelement i en bild har då vanligen en intensi- tetskomponent för var och en av de primära färgerna rött (R), grönt (G) och blått (B). bilda en färgvektor. Utifrån denna färgvektor kan en så Dessa komponenter kan sägas kallad RGB-projektion beräknas, såsom skalärprodukten av färgvektorn och en förutbestämd viktvektor.When color images constitute input data for the segmentation procedure, the color information in the images can be used. A given pixel in an image then usually has an intensity component for each of the primary colors red (R), green (G) and blue (B). form a color vector. From this color vector, a so These components can be said to be called RGB projection can be calculated, such as the scalar product of the color vector and a predetermined weight vector.

Färginformationen i en bild kan som nämnts utnyttjas för att segmentera ett objekt av viss typ ur en digital färgbild. Då kan en för denna typ av objekt anpassad .nnaø :;.|» lO 15 20 25 30 35 518 457 ' 3 viktvektor och ett för denna typ av objekt anpassat trös- kelvärde användas. Ett givet bildelements RGB-projektion, framräknad medelst viktvektorn, jämförs med tröskelvårdet för att avgöra huruvida bildelementet avbildar ett objekt av den sökta typen eller ej.As mentioned, the color information in an image can be used to segment an object of a certain type from a digital color image. Then a .nnaø:;. | » 10 15 20 25 30 35 518 457 '3 weight vector and a threshold value adapted for this type of object is used. The RGB projection of a given pixel, calculated by the weight vector, is compared with the threshold care to determine whether the pixel depicts an object of the type sought or not.

Ovan visade sätt att utföra segmentering, vid analys av ett blodutstryk, fungerar relativt väl för att korrekt urskilja en vit blodcell eller en röd blodcell mot bak- grunden i en bild. Om en röd blodcell och en vit blodcell ligger intill varandra eller delvis skymmer varandra kan det emellertid bli svårt att korrekt segmentera den vita blodcellen. Detta beror på att skillnaden i färgsamman- sättning och intensitet mellan röda blodceller och en del vita blodcellers cytoplasma år relativt liten. Kontrasten i övergången mellan röd och vit blodcell kan således vara svag. Det blir naturligtvis på samma sätt svårt att seg- mentera en röd blodcell, men som ovan nämnt är det i för- sta hand de vita blodcellerna som är av intresse.The methods shown above for performing segmentation, when analyzing a blood smear, work relatively well to correctly distinguish a white blood cell or a red blood cell against the background of an image. However, if a red blood cell and a white blood cell lie next to each other or partially obscure each other, it can be difficult to correctly segment the white blood cell. This is because the difference in color composition and intensity between red blood cells and the cytoplasm of some white blood cells is relatively small. The contrast in the transition between red and white blood cells can thus be weak. Of course, it becomes similarly difficult to segment a red blood cell, but as mentioned above, it is primarily the white blood cells that are of interest.

Det går vanligtvis att hitta ett fungerande segmen- teringsvillkor, bestående av en viktvektor för en RGB- projektion och ett tröskelvärde, med vilket villkor man kan skilja en röd och en vit blodcell åt. Ett sådant villkor år emellertid inte särskilt robust, utan fungerar enbart under närmast konstanta förhållanden. I verklig- heten kommer utstrykstjockleken att variera både inom ett provglas och mellan prov. Dessutom kan infärgningens in- tensitet och nyans variera. Vidare använder olika labora- torier många olika varianter på infärgningar. Ett fast segmenteringsvillkor kommer därför att ge felaktiga re- sultat i ett flertal fall.It is usually possible to find a working segmentation condition, consisting of a weight vector for an RGB projection and a threshold value, with which condition a red and a white blood cell can be distinguished. However, such a condition is not very robust, but only works under almost constant conditions. In reality, the smear thickness will vary both within a test tube and between samples. In addition, the intensity and hue of the dyeing may vary. Furthermore, different laboratories use many different variants of staining. A fixed segmentation condition will therefore give incorrect results in a number of cases.

Sammanfattning av uønfinninqen Ett syfte med föreliggande uppfinning är att helt eller delvis avhjälpa ovannämnda problem.SUMMARY OF THE INVENTION An object of the present invention is to completely or partially remedy the above-mentioned problems.

Detta syfte uppnås med ett sätt enligt krav l, ett arrangemang enligt krav 12 ett datorprogram enligt krav lO 15 20 25 30 35 518 457 4 13 och ett digitalt lagringsmedium innehållande enligt datorprogrammet enligt krav 14.This object is achieved with a method according to claim 1, an arrangement according to claim 12, a computer program according to claim 10 and a digital storage medium containing according to the computer program according to claim 14.

Närmare bestämt avses enligt en första aspekt av uppfinningen ett sätt att urskilja objekt ur en första kategori i en bildserie med minst en digital mikroskop- färgbild, som avbildar biologiskt material och innefattar ett flertal bildelement, vilka har åtminstone två färg- komponenter, varvid även objekt ur en andra kategori återfinns i bildserien. Sättet kännetecknas av stegen: att med ett första grovt mått identifiera en första upp- sättning bildelement i en bild i bildserien, så att bild- elementen i den första uppsättningen till övervägande del avbildar objekt ur den andra kategorin; att identifiera en första funktion, som ger en approximativ beskrivning av förhållandet mellan de två färgkomponenternas respek- tive intensiteter för bildelement i den första uppsätt- ningen; att med ett andra grovt mätt identifiera en andra uppsättning bildelement i en bild i bildserien, så att bildelementen i den andra uppsättningen till övervägande del avbildar objekt ur den första kategorin; att identi- fiera en andra funktion, som ger en approximativ beskriv- ning av förhållandet mellan de två färgkomponenternas re- spektive intensiteter för bildelement i den andra upp- sättningen; och att avgöra huruvida ett givet bildelement i en bild i bildserien avbildar ett objekt ur den första kategorin eller ej, på basis av det givna bildelementets respektive intensiteter för de två färgkomponenterna samt de första och andra funktionerna.More particularly, according to a first aspect of the invention, there is provided a method of distinguishing objects from a first category in an image series with at least one digital microscope color image, which depicts biological material and comprises a plurality of pixels having at least two color components, wherein also objects from a second category can be found in the image series. The method is characterized by the steps: to identify with a first rough measure a first set of pixels in an image in the image series, so that the pixels in the first set predominantly depict objects from the second category; identifying a first function, which gives an approximate description of the relationship between the respective intensities of the two color components for pixels in the first set; roughly identifying a second set of pixels in an image in the image series, so that the pixels in the second set predominantly depict objects from the first category; identifying a second function which provides an approximate description of the relationship between the respective intensities of the two color components for pixels in the second set; and determining whether or not a given pixel in an image in the image series depicts an object from the first category, based on the respective intensities of the given pixel for the two color components and the first and second functions.

Med ett sådant sätt anpassas urskiljningen efter provets utseende, så att effektiv segmentering kan ske även om variationer i exempelvis infärgning och skikt- tjocklek varierar kraftigt inom eller mellan bilder i bildserien. Segmenteringen blir därför så tillförlitlig att korrekt klassning kan utföras.In such a way, the discrimination is adapted to the appearance of the sample, so that effective segmentation can take place even if variations in, for example, staining and layer thickness vary greatly within or between images in the image series. The segmentation therefore becomes so reliable that correct classification can be performed.

Den första och andra funktionen kan företrädesvis vara väsentligen linjära, vilket ger ett enkelt förfar- ande. . . c .u I .uu-n - -a-v 11,1- 10 l5 20 25 30 35 51 s 457 šïï šïïí Im? " S Företrädesvis innefattar steget att avgöra huruvida det givna bildelementet avbildar ett objekt ur den första kategorin eller ej delstegen: att för det givna bildele- mentet identifiera en elementlinje, som i de tvä färgkom- ponenternas intensitetsplan skär säväl det givna bildele- mentets intensiteter för de båda färgerna som en skär- ningspunkt mellan den första och den andra funktionen; att tilldela det givna bildelementet ett vinkelvärde ba- serat pà elementlinjens vinkel i förhållande till linjer motsvarande nämnda första och andra funktion; och att av- göra huruvida det givna bildelementet avbildar ett objekt ur den första kategorin eller ej baserat pà vinkelvärdet.The first and second functions may preferably be substantially linear, providing a simple procedure. . . c .u I .uu-n - -a-v 11,1- 10 l5 20 25 30 35 51 s 457 šïï šïïí Im? Preferably, the step of determining whether the given pixel depicts an object from the first category or not includes the sub-steps: identifying for the given pixel an element line which in the intensity plane of the two color components intersects both the intensities of the given pixel for the two colors as an intersection point between the first and the second function; assigning the given pixel an angular value based on the angle of the element line relative to lines corresponding to said first and second functions; and determining whether the given pixel images an object from the first category or not based on the angular value.

Användning av sådana vinkelvärden har visat sig mycket tillförlitligt vid segmentering av biologiskt material.The use of such angular values has proven very reliable in segmenting biological material.

Enligt en föredragen utföringsform antar det givna bildelementets vinkelvärde ett första extremt värde om elementlinjen sammanfaller med den första funktionens linje eller har en vinkel i förhållande till den andra funktionens linje som är större än vinkeln mellan den första och den andra funktionens linjer; ett andra ex- tremt värde om elementlinjen sammanfaller med den andra ifunktionens linje eller har en vinkel i förhållande till den första funktionens linje som är större än vinkeln mellan den första och den andra funktionens linjer; och ett värde mellan det första och det andra extrema värdet om elementlinjen har mindre vinklar i förhållande till de första och andra funktionernas linjer än den inbördes vinkeln mellan den första och den andra funktionens lin- jer.According to a preferred embodiment, the angular value of the given pixel assumes a first extreme value if the element line coincides with the line of the first function or has an angle relative to the line of the second function which is greater than the angle between the lines of the first and second functions; a second extreme value if the element line coincides with the line of the second function or has an angle relative to the line of the first function which is greater than the angle between the lines of the first and the second function; and a value between the first and the second extreme value if the element line has smaller angles in relation to the lines of the first and second functions than the mutual angle between the lines of the first and the second function.

Enligt en föredragen utföringsform kan även avstän- det mellan det givna bildelementets intensiteter och den första och den andra funktionens skärningspunkt i de tvà färgkomponenternas plan utnyttjas för att avgöra huruvida det givna bildelementet avbildar ett objekt ur den första kategorin eller ej. Detta gör segmenteringen ännu säk- IarE . wvaz. 10 15 20 25 30 35 . uuuø s 1 s 457 2112? 6 Företrädesvis är objekten i den första kategorin vita blodceller, och objekten i den andra kategorin är röda blodceller. Sättet enligt uppfinningen har visat sig särskilt lämpligt för segmentering av vita blodceller i närvaro av röda blodceller.According to a preferred embodiment, the distance between the intensities of the given pixel and the intersection of the first and second functions in the plane of the two color components can also be used to determine whether the given pixel depicts an object from the first category or not. This makes segmentation even more secure. wvaz. 10 15 20 25 30 35. uuuø s 1 s 457 2112? Preferably, the objects in the first category are white blood cells, and the objects in the second category are red blood cells. The method of the invention has been found to be particularly suitable for segmenting white blood cells in the presence of red blood cells.

Företrädesvis är de två färgkomponenterna rött och blått. Dessa primära färgkomponenter är särskilt lämpade vid segmentering av vita blodceller i närvaro av röda blodceller åtminstone vid användande av så kallad MGG -(May-Grünwald-Giemsa)~infärgning eller så kallad Wright- infärgning.Preferably, the two color components are red and blue. These primary color components are particularly suitable for segmenting white blood cells in the presence of red blood cells, at least when using so-called MGG - (May-Grünwald-Giemsa) ~ staining or so-called Wright staining.

Företrädesvis innefattar det första grova måttet att medelst tröskling identifiera och utesluta bildelement som avbildar bakgrund. Detta ger ett enkelt och oftast tillräckligt tillförlitligt sätt att grovt identifiera en uppsättning bildelement som avbildar röda blodceller.Preferably, the first coarse measure includes by threshold identifying and excluding pixels that image background. This provides a simple and often sufficiently reliable way to roughly identify a set of pixels that depict red blood cells.

Det första grova måttet kan vidare innefatta att identifiera och utesluta områden av bildelement, vilka områden kan antas innehålla vita blodceller, vilket anta- gande baseras pá intensitet av grön färgkomponent. Detta ger en “renare” uppsättning bildelement som avbildar röda blodceller.The first coarse measure may further comprise identifying and excluding areas of pixels, which areas can be assumed to contain white blood cells, which assumption is based on the intensity of the green color component. This provides a "cleaner" set of pixels that depict red blood cells.

Företrädesvis innefattar det andra grova måttet att åtminstone ett bildelementkluster med låg intensitet av grön färgkomponent identifieras. Detta är ett enkelt sätt att identifiera bildelement som avbildar kärnor hos vita blodceller.Preferably, the second coarse measure comprises identifying at least one low intensity pixel cluster of green color component. This is a simple way to identify pixels that image nuclei in white blood cells.

Det andra grova måttet kan enligt en utföringsform vidare innefatta att utföra delstegen: att utvälja ett område associerat med bildelementklustret utväljs, vilket område har en storlek som är större än den förväntade storleken hos en vit blodcell; att åtminstone ett bild- element i området, vilket bildelement har ett utseende som skiljer sig från det förväntade utseendet hos bild- element som avbildar vita blodceller utväljs, varvid nämnda minst ett bildelement bildar en initial mängd; att objektlikhetsvärden bestäms för bildelement i området; |n»-. lO l5 20 25 30 35 s 1 s 4s7 ä? 7 och att den andra uppsättningen bildelement identifieras med utgångspunkt fràn den initiala mängden och objektlik- hetsvärdena. Detta grova mått ger fler bildelement fràn cytoplasman och därmed ett bättre urval.According to one embodiment, the second coarse measure may further comprise performing the sub-steps: selecting an area associated with the pixel cluster is selected, which area has a size larger than the expected size of a white blood cell; selecting at least one pixel in the area, which pixel has an appearance different from the expected appearance of pixels depicting white blood cells, said at least one pixel forming an initial amount; that object similarity values are determined for pixels in the area; | n »-. lO l5 20 25 30 35 s 1 s 4s7 ä? 7 and that the second set of picture elements is identified on the basis of the initial set and the object similarity values. This coarse measure gives more pixels from the cytoplasm and thus a better selection.

Enligt en andra aspekt av uppfinningen avses ett arrangemang för urskiljning av objekt ur en första kategori i en bildserie med minst en digital färgbild, som avbildar biologiskt material och innefattar ett flertal bildelement, vilka har àtminstone tvâ färgkom- ponenter, varvid även objekt ur en andra kategori åter- finns i bildserien. Arrangemanget kännetecknas av: medel för att med ett första grovt mått identifiera en första uppsättning bildelement i en bild i bildserien, sä att bildelementen i den första uppsättningen till övervägande del avbildar objekt ur den andra kategorin; medel för att identifiera en första funktion, som ger en approximativ beskrivning av förhållandet mellan de tvâ färgkomponen- ternas respektive intensiteter för bildelement i den första uppsättningen; medel för att med ett andra grovt mätt identifiera en andra uppsättning bildelement i en bild i bildserien, så att bildelementen i den andra upp- sättningen till övervägande del avbildar objekt ur den första kategorin; medel för att identifiera en andra funktion, som ger en approximativ beskrivning av för- hàllandet mellan de tvà färgkomponenternas respektive intensiteter för bildelement i den andra uppsättningen; och medel för att avgöra huruvida ett givet bildelement i en bild i bildserien avbildar ett objekt ur den första kategorin eller ej, pà basis av det givna bildelementets respektive intensiteter för de tvà färgkomponenterna samt de första och andra funktionerna.According to a second aspect of the invention, there is provided an arrangement for distinguishing objects from a first category in a series of images with at least one digital color image, which depicts biological material and comprises a plurality of picture elements, which have at least two color components, wherein also objects from a second category can be found in the image series. The arrangement is characterized by: means for identifying with a first rough measure a first set of pixels in an image in the image series, so that the pixels in the first set predominantly depict objects from the second category; means for identifying a first function, which gives an approximate description of the relationship between the respective color components' intensities of pixels in the first set; means for roughly identifying a second set of pixels in an image in the image series, so that the pixels in the second set predominantly depict objects from the first category; means for identifying a second function, which gives an approximate description of the relationship between the respective intensities of the two color components for pixels in the second set; and means for determining whether or not a given pixel in an image in the image series depicts an object of the first category, based on the respective intensities of the given pixel for the two color components and the first and second functions.

Arrangemanget innebär motsvarande fördelar som sät- tet och kan varieras i likhet med detta.The arrangement entails corresponding advantages as the method and can be varied accordingly.

Enligt en tredje aspekt av uppfinningen avses ett datorprogram för att urskilja objekt ur en första kate- gori i en bildserie med minst en digital färgbild, som avbildar biologiskt material och innefattar ett flertal >|.|| 10 l5 20 25 30 35 51 s 457 šï* ik 8 bildelement, vilka har åtminstone två färgkomponenter, varvid även objekt ur en andra kategori återfinns i bild- serien. Datorprogrammet kännetecknas av instruktioner motsvarande stegen: att med ett första grovt mått identi- fiera en första uppsättning bildelement i en bild i bild- serien, så att bildelementen i den första uppsättningen till övervägande del avbildar objekt ur den andra kate- gorin; att identifiera en första funktion, som ger en approximativ beskrivning av förhållandet mellan de två färgkomponenternas respektive intensiteter för bild- element i den första uppsättningen; att med ett andra grovt mått identifiera en andra uppsättning bildelement i en bild i bildserien, så att bildelementen i den andra uppsättningen till övervägande del avbildar objekt ur den första kategorin; att identifiera en andra funktion, som ger en approximativ beskrivning av förhållandet mellan de två färgkomponenternas respektive intensiteter för bild- element i den andra uppsättningen; och att avgöra huru- vida ett givet bildelement i en bild i bildserien avbil- dar ett objekt ur den första kategorin eller ej, pà basis av det givna bildelementets respektive intensiteter för de två färgkomponenterna samt de första och andra funk- tionerna.According to a third aspect of the invention, there is provided a computer program for distinguishing objects from a first category in a series of images with at least one digital color image, which depicts biological material and comprises a plurality of> |. || 10 l5 20 25 30 35 51 s 457 šï * ik 8 picture elements, which have at least two color components, whereby objects from a second category are also found in the picture series. The computer program is characterized by instructions corresponding to the steps: to identify with a first rough measure a first set of pixels in an image in the image series, so that the pixels in the first set predominantly depict objects from the second category; identifying a first function which gives an approximate description of the relationship between the respective intensities of the two color components for pixels in the first set; identifying with a second coarse measure a second set of pixels in an image in the image series, so that the pixels in the second set predominantly depict objects from the first category; identifying a second function which gives an approximate description of the relationship between the respective intensities of the two color components for pixels in the second set; and determining whether or not a given pixel in an image in the image series depicts an object from the first category, based on the respective intensities of the given pixel for the two color components and the first and second functions.

Enligt en fjärde aspekt av uppfinningen avser denna ett digitalt lagringsmedium innehållande ett sådant pro- gram.According to a fourth aspect of the invention, it relates to a digital storage medium containing such a program.

Datorprogrammet och därmed lagringsmediet innebär motsvarande fördelar som sättet och kan varieras i enlig- het med detta.The computer program and thus the storage medium entails corresponding advantages as the method and can be varied accordingly.

Kort figurbeskrivning Fig l visar ett exempel pä en mikroskopbild i vilken föreliggande uppfinning kan tillämpas.Brief Description of the Figures Fig. 1 shows an example of a microscope image in which the present invention can be applied.

Fig 2 visar ett diagram i vilket bildelementen i bilden i fig 1 har plottats baserat på deras respektive intensiteter för rött och blått. ,.;|| 10 15 20 25 30 35 518 457 9 Fig 3 visar ett röd-blå-plan i vilket två approxi- merande funktioner har identifierats enligt en utförings- form av uppfinningen.Fig. 2 shows a diagram in which the pixels in the image in Fig. 1 have been plotted based on their respective intensities for red and blue. ,.; || Fig. 3 shows a red-blue plane in which two approximate functions have been identified according to an embodiment of the invention.

Fig 4 visar ett exempel där vinkelvärden har be- stämts för de i bilden i fig l ingàende bildelementen.Fig. 4 shows an example where angular values have been determined for the picture elements included in the image in Fig. 1.

Fig 5a och 5b visar ett arrangemang enligt en ut- föringsform av uppfinningen.Figures 5a and 5b show an arrangement according to an embodiment of the invention.

Fig 6 visar ett flödesschema för ett sätt enligt en utföringsform av uppfinningen.Fig. 6 shows a flow chart of a method according to an embodiment of the invention.

Beskrivning av föredragna utföringsformer Fig 1 visar ett exempel pà en mikroskopbild i vilken föreliggande uppfinning kan tillämpas. I bilden äter- finns, i ett infärgat blodutstryk (infärgat enligt MGG- metoden), en uppsättning blodceller av varierande slag.Description of Preferred Embodiments Fig. 1 shows an example of a microscope image in which the present invention can be applied. In the picture again, in a stained blood smear (stained according to the MGG method), there is a set of blood cells of various kinds.

Där finns fyra vita blodceller Vl- V4, varav en (V3) san- nolikt indikerar ett sjukdomstillstånd. I bilden finns även ett stort antal röda blodceller, Rl, R2, etc. Vidare syns i bilden ett antal trombocyter T, vilka framträder som smà, mörka fläckar. Blodcellerna framträder mot en bakgrund B. Den i fig 1 visade bilden är en svartvit ver- sion av en färgbild. Såsom fackmannen vet framträder vita blodceller i en sådan färgbild som aningen mer blåa än bakgrunden och de röda blodcellerna. Kontrasten mellan de vita blodcellernas cytoplasma och bakgrunden framträder därför mer tydligt i den färgbild pà vilken ett sätt en- ligt uppfinningen utnyttjas än i den här àtergivna svart- vita bilden.There are four white blood cells V1- V4, one of which (V3) probably indicates a disease state. The image also contains a large number of red blood cells, R1, R2, etc. Furthermore, a number of platelets T can be seen in the image, which appear as small, dark spots. The blood cells appear against a background B. The image shown in Fig. 1 is a black and white version of a color image. As those skilled in the art know, white blood cells appear in such a color image as slightly more blue than the background and the red blood cells. The contrast between the cytoplasm of the white blood cells and the background therefore appears more clearly in the color image in which a method according to the invention is used than in the black-and-white image reproduced here.

Det är som nämnts särskilt svàrt att segmentera vis- sa klasser av vita blodceller när dessas cytoplasma är angränsande med röda blodceller. Detta är fallet med den vita blodcellen V1, som angränsar mot den röda blodcellen Rl. Föreliggande uppfinning avser ett tillförlitligt och effektivt sätt att utföra en sàdan segmentering.As mentioned, it is particularly difficult to segment certain classes of white blood cells when their cytoplasm is adjacent to red blood cells. This is the case with the white blood cell V1, which is adjacent to the red blood cell R1. The present invention relates to a reliable and efficient way of performing such segmentation.

Fig 2 visar ett diagram i vilket samtliga bildele- ment i bilden i fig l har plottats baserat pà deras res- pektive intensiteter för rött och blått. Röd-intensiteten |||»» ,.,-1 10 l5 20 25 30 35 518 457 . 1 ~ ' . . . . . . . 10 för ett bildelement är avsatt på den vertikala axeln och blå-intensiteten på den horisontella. I diagrammet kan de plottade bildelementen liknas vid två avlånga “moln” 11, 13, vilka möts i en upp-och-nedvänd V-form. Det visar sig att det första molnet ll, som har större variation i röd- intensitet, nästan uteslutande innehåller bildelement som avbildar vita blodceller och bakgrund. Det andra molnet 13, som är mer samlat innehåller bildelement som avbildar röda blodceller och bakgrund. De bildelement i de båda molnen som avbildar bakgrunden är samlade i ett litet om- råde runt en bakgrundstyngdpunkt 15. Även en vitcells- tyngdpunkt 16 för de bildelement som avbildar vita blod- celler kan bestämmas, liksom en motsvarande rödcells- tyngdpunkt 17 för de som avbildar röda blodceller. Man kan säga att de röda respektive vita blodcellernas bild- element avviker från bakgrundstyngdpunkten i två olika riktningar. Detta beror pá att de röda och vita blod- cellerna vid infàrgningen påverkas på sinsemellan olika sätt.Fig. 2 shows a diagram in which all the picture elements in the picture in Fig. 1 have been plotted based on their respective intensities for red and blue. The red intensity ||| »»,., - 1 10 l5 20 25 30 35 518 457. 1 ~ '. . . . . . . 10 for a pixel is deposited on the vertical axis and the blue intensity on the horizontal. In the diagram, the plotted pixels can be compared to two elongated "clouds" 11, 13, which meet in an upside-down V-shape. It turns out that the first cloud II, which has greater variation in red intensity, contains almost exclusively pixels that image white blood cells and background. The second cloud 13, which is more collected, contains pixels that depict red blood cells and background. The pixels in the two clouds depicting the background are gathered in a small area around a background center of gravity 15. A white cell center of gravity 16 for the pixels that depict white blood cells can also be determined, as well as a corresponding red cell center of gravity 17 for those depicts red blood cells. It can be said that the pixels of the red and white blood cells deviate from the background center of gravity in two different directions. This is because the red and white blood cells during staining are affected in different ways.

Enligt en utföringsform av föreliggande uppfinning skall en första funktion, en vitfunktion 12 i röd-blà- planet, vilken funktion approximativt beskriver förhål- landet mellan intensiteterna för rött och blått i bild- element som avbildar vita blodceller bestämmas. Likaså skall en motsvarande andra funktion, en rödfunktion 14 för de bildelement som avbildar röda blodceller bestäm- mas. Vita blodceller sägs då utgöra objekt av en första kategori, och röda blodceller objekt av en andra kate- gori. På basis av dessa röd- och vitfunktioner kan det därefter avgöras, med stor säkerhet, huruvida ett givet bildelement avbildar en röd eller en vit blodcell.According to an embodiment of the present invention, a first function, a white function 12 in the red-blue plane, which function approximately describes the relationship between the intensities of red and blue in pixels depicting white blood cells, is to be determined. Likewise, a corresponding second function, a red function 14 for the pixels that image red blood cells, must be determined. White blood cells are then said to be objects of a first category, and red blood cells objects of a second category. On the basis of these red and white functions, it can then be determined, with great certainty, whether a given pixel depicts a red or a white blood cell.

Dessa röd- och vitfunktioner kan bestämmas utifrån mindre uppsättningar av bildelement som avbildar röda re- spektive vita blodceller. Dessa uppsättningar kan identi- fieras med hjälp av grova mått, så att en övervägande del av bildelementen i en uppsättning avbildar objekt ur den önskade kategorin. faan» lO 15 20 25 30 35 518 457 ll IDENTIFIERING AV BILDELEMENT SOM AVBILDAR RÖDA BLODCELLER Till skillnad från vita blodceller kan det antas att röda blodceller föreligger i varje bild i en bildserie med mikroskopbilder av ett blodutstryk. Det lämpligaste sättet att finna en uppsättning bildelement, som avbildar röda blodceller, i en bild är att utesluta de bildelement som kan antas avbilda bakgrunden. Av den kvarstående mängden bildelement i en bild kommer då en klar majoritet att avbilda röda blodceller. Enstaka små trombocyter och eventuellt någon vit blodcell kan finnas, men endast en liten del av de kvarstående bildelementen avbildar sådana objekt.These red and white functions can be determined from smaller sets of pixels that image red and white blood cells, respectively. These sets can be identified by means of rough dimensions, so that a predominant part of the picture elements in a set depict objects from the desired category. faan »lO 15 20 25 30 35 518 457 ll IDENTIFICATION OF PICTURES THAT IMAGE RED BLOOD CELLS Unlike white blood cells, it can be assumed that red blood cells are present in each image in a series of images with microscope images of a blood smear. The most convenient way to find a set of pixels that image red blood cells in an image is to exclude the pixels that can be assumed to image the background. Of the remaining amount of pixels in an image, a clear majority will then image red blood cells. Occasional small platelets and possibly some white blood cell may be present, but only a small portion of the remaining pixels depict such objects.

De bildelement som avbildar bakgrunden utesluts lämpligen genom tröskling. Det antas då att de bild- element som är ljusare än ett visst tröskelvärde avbildar bakgrunden. Det kan, såsom kommer att visas senare, vara lämpligt att registrera även egenskaperna hos de bild- element som utesluts genom trösklingen. Det kan till ex- empel vara fördelaktigt att beräkna bakgrundstyngdpunkten 15, såsom kommer att visas nedan.The pixels that depict the background are suitably excluded by thresholding. It is then assumed that the pixels that are brighter than a certain threshold image depict the background. As will be shown later, it may also be appropriate to record the properties of the pixels excluded by the threshold. For example, it may be advantageous to calculate the background center of gravity 15, as will be shown below.

De icke-uteslutna bildelementen avbildar således i huvudsak röda blodceller och utgör en grovt vald uppsätt~ ning bildelement enligt en utföringsform av uppfinningen.The non-excluded pixels thus depict mainly red blood cells and constitute a roughly selected set of pixels according to an embodiment of the invention.

Det är möjligt att även utesluta bildelement som kan avbilda vita blodceller eller trombocyter för att vidare- förädla den valda uppsättningen. Trombocyter kan vanligen trösklas bort, eftersom de är mörkare i grönkomponenten än röda blodceller.It is also possible to exclude pixels that can image white blood cells or platelets to further refine the selected set. Platelets can usually be threshed away, as they are darker in the green component than red blood cells.

Kärnor i vita blodceller har även de vanligen en markant låg eller mörk grön komponent och kan därigenom vanligen hittas. Därefter är det möjligt att utesluta ett område runt sådana kärnor för att ta bort hela den vita blodcellen. Områdets storlek är då företrädesvis av den storleksordning som vita blodceller brukar ha vid aktuell förstoringsgrad, eller större. Identifiering av en upp- 10 15 20 25 30 35 518 457 12 sättning röda blodceller behöver normalt inte göras för varje bild i en bildserie.Nuclei in white blood cells also usually have a markedly low or dark green component and can thus usually be found. Thereafter, it is possible to exclude an area around such nuclei to remove the entire white blood cell. The size of the area is then preferably of the order of magnitude that white blood cells usually have at the current magnification, or larger. Identification of a set of red blood cells does not normally need to be done for each image in a series of images.

BESTÃMING AV APPROXIMATIV FUNKTION FÖR RÖDA BLODCELLER Utifrån den grovt identifierade uppsättningen bild- element som avbildar röda blodceller skall därefter en approximativ funktion, som beskriver förhållandet mellan röd och blå intensitet för bildelement i uppsättningen bestämmas. Denna benämns rödcellsfunktion 14.DETERMINATION OF APPROXIMATIVE FUNCTION FOR RED BLOOD CELLS Based on the roughly identified set of pixels depicting red blood cells, an approximate function describing the ratio of red to blue intensity for pixels in the set is then determined. This is called red cell function 14.

Funktionen kan vara väsentligen linjär, dvs på for- men R=kfB+mr, där R och B beskriver röd respektive blå intensitet. Parametrarna kr och mr skall då bestämmas.The function can be substantially linear, ie in the form R = kfB + mr, where R and B describe red and blue intensities respectively. The parameters SEK and mr must then be determined.

Detta kan för den uppsättning bildelement som avbildar röda blodceller göras medelst vanlig linjär regression, som är en för fackmannen välkänd operation.This can be done for the set of pixels that image red blood cells by ordinary linear regression, which is an operation well known to those skilled in the art.

Alternativt kan funktionen R= kfB+mr bestämmas såsom den funktion som skär både bakgrundstyngdpunkten 15 och rödcellstyngdpunkten 17.Alternatively, the function R = kfB + mr can be determined as the function that intersects both the background center of gravity 15 and the center of red cell 17.

Bakgrundstyngdpunkten beräknas såsom medelvärdena av blå- respektive rödintensiteterna för uppsättningen bild- element som avbildar bakgrund. Rödcellstyngdpunkten be- räknas såsom medelvärdena av blå- respektive rödinten- siteterna för uppsättningen bildelement som avbildar röda blodceller. Tyngdpunkterna motsvarar således medelvärden.The background center of gravity is calculated as the averages of the blue and red intensities for the set of pixels that depict the background. The red cell center of gravity is calculated as the mean values of the blue and red intensities, respectively, for the set of pixels that image red blood cells. The centers of gravity thus correspond to averages.

Alternativt kan punkter i röd-blå-planet som baseras på medianvärden eller typvärden utnyttjas. Båda dessa be- grepp är välkända för fackmannen.Alternatively, points in the red-blue plane based on median values or type values can be used. Both of these concepts are well known to those skilled in the art.

Oavsett om ovannämnda funktion bestäms medelst lin- jär regression eller under utnyttjande av ovannämnda tyngdpunkter är det fördelaktigt att i samband därmed be- stämma ett mått på osäkerheten i skattningen av funk- tionen. Detta ger ett tillförlitlighetsmått för hela ope- rationen. Ett sådant mått på osäkerheten kan baseras på medelfelet av skattningen för rödcellstyngdpunkten eller på medelfelen för respektive regressionsparameter. unß: lO 15 20 25 30 35 518 457 l3 IDENTIFIERING AV BILDELEMENT SOM AVBILDAR VITA BLODCELLER Grov identifiering av bildelement som avbildar vita blodceller och bestämning av en approximativ funktion som är associerad med dessa bildelement kan företrädesvis gö- ras för varje vit blodcell som uppträder i en bildserie.Regardless of whether the above-mentioned function is determined by means of linear regression or using the above-mentioned centers of gravity, it is advantageous in connection with this to determine a measure of the uncertainty in the estimation of the function. This provides a measure of reliability for the entire operation. Such a measure of uncertainty can be based on the mean error of the estimate of the red cell center of gravity or on the mean error of the respective regression parameters. unß: lO 15 20 25 30 35 518 457 l3 IDENTIFICATION OF PICTURES THAT IMAGE WHITE BLOOD CELLS Rough identification of pixels that image white blood cells and determination of an approximate function associated with these pixels can preferably be done for each white blood cell that appears in a series of pictures.

Detta är att föredra eftersom gruppen vita blodceller har en stor inbördes variation.This is preferable because the group of white blood cells has a large mutual variation.

En första grov metod att identifiera bildelement som avbildar vita blodceller är att utnyttja den tidigare nämnda làga grönkomponenten, som finns i den vita blod- cellens kärna. I den uppsättning bildelement som anses avbilda vita blodceller tas således bildelement med en grönintensitet under ett visst tröskelvärde med. Detta ger i huvudsak bildelement som avbildar en vit blodcells kärna.A first rough method to identify picture elements that image white blood cells is to use the previously mentioned low green component, which is found in the nucleus of the white blood cell. Thus, in the set of pixels that are considered to image white blood cells, pixels with a green intensity below a certain threshold value are included. This essentially provides pixels that image the nucleus of a white blood cell.

En andra mer exakt metod för identifiering av bild- element som avbildar vita blodceller är att utnyttja en aktiv konturmodell som är sä beskaffad att den utgår frän ett område utanför den vita blodcellen. Detta kan göras såsom följer.A second more accurate method for identifying pixels that image white blood cells is to use an active contour model that is designed to originate from an area outside the white blood cell. This can be done as follows.

Först identifieras, liksom i den första metoden, sammanhängande områden, med viss minsta storlek, av bild- element i den digitala bilden som har en grönkomponent under ett visst tröskelvärde. Dessa kan antas avbilda en vit blodcells kärna. Därefter utväljs ett område i den digitala bilden som har kärnan i sitt centrum och som är tillräckligt stor för att med stor säkerhet innesluta hela den vita blodcellen. Bildelementen i det utvalda om- rådet används för vidare bearbetning.First, as in the first method, contiguous areas, with a certain minimum size, are identified by picture elements in the digital picture that have a green component below a certain threshold value. These can be assumed to image the nucleus of a white blood cell. Then an area in the digital image is selected which has the nucleus in its center and which is large enough to enclose the entire white blood cell with great certainty. The picture elements in the selected area are used for further processing.

Därefter bestäms för bildelementen i det valda om- rådet objektlikhetsvärden med avseende på röd- och blä- intensitet. Ett bildelements objektlikhetsvärde är ett mätt pà hur likt detta bildelement är förväntade bild- element i den vita blodcellen.Then, for the picture elements in the selected area, object similarity values are determined with respect to red and blue intensity. The image similarity value of a pixel is a measure of how similar this pixel is to the expected pixels in the white blood cell.

Bestämningen av detta objektlikhetsvärde kan göras med utgångspunkt fràn den för röda blodceller redan be- stämda funktionen l4 och den för bakgrundsbildelementen »nßnu lO 15 20 25 30 35 518 457 14 bestämda tyngdpunkten 15. Varje givet bildelement i den utvalda mängden har en motsvarande position i diagrammet i fig 2. Det givna bildelementet kan tilldelas ett ob- jektlikhetsvärde som är en (inte nödvändigtvis linjär) funktion av vinkeln mellan en linje, som dragits genom denna position och bakgrundstyngdpunkten 15, och röd- cellsfunktionens 14 linje. Detta görs så att små vinklar ger små objektlikhetsvärden, och stora vinklar stora ob- jektlikhetsvärden.The determination of this object-like value can be made on the basis of the function l4 already determined for red blood cells and the center of gravity 15 determined for the background pixels »nßnu 10 15 20 25 30 35 518 457 14 Each given pixel in the selected quantity has a corresponding position in the diagram in Fig. 2. The given pixel can be assigned an object similarity value which is a (not necessarily linear) function of the angle between a line drawn through this position and the background center of gravity 15, and the line of the red cell function 14. This is done so that small angles give small object similarity values, and large angles large object similarity values.

Därefter utväljs en startmängd bland bildelementen i området. Startmängden utväljs bland de bildelement som har lägst objektlikhetsvärden, så att startmängden med stor säkerhet inte innefattar bildelement i den vita blodcellen. Bildelementen i startmängden tilldelas ett första objekttrolighetsvärde, exempelvis noll. Objekt- trolighetsvärdet är ett mätt på hur troligt det är att ett bildelement, satt i sitt sammanhang, avbildar ett sökt objekt.Then a starting amount is selected from the pixels in the area. The starting amount is selected from the pixels that have the lowest object similarity values, so that the starting amount with great certainty does not include pixels in the white blood cell. The pixels in the initial set are assigned a first object confidence value, for example zero. The object probability value is a measure of how likely it is that a picture element, set in its context, depicts a searched object.

Startmängden tillåts därefter växa genom att inklu- dera bildelement som är intilliggande startmängden. Då ett nytt bildelement inkluderas i mängden tilldelas detta ett objekttrolighetsvärde som är en funktion (exempelvis summan) av dess objektlikhetsvärde och ett intilliggande, redan inkluderat bildelements objekttrolighetsvärde. Ob- jekttrolighetsvärdena blir då allt högre, ju senare ett bildelement inkluderas.The starting amount is then allowed to grow by including pixels that are adjacent to the starting amount. When a new pixel is included in the set, it is assigned an object probability value which is a function (for example, the sum) of its object similarity value and an adjacent, already included pixel object probability value. The object confidence values then become higher and higher, the later a picture element is included.

Detta görs företrädesvis tills alla bildelement i bilden har tilldelats objekttrolighetsvärden. Ett givet bildelements objekttrolighetsvärde beror då av avståndet till startmängden innan denna har börjat växa, av dess objektlikhetsvärde och av objektlikhetsvärden tillhörande eventuella bildelement som ligger mellan det givna bild- elementet och startmängden innan denna har börjat växa.This is preferably done until all pixels in the image have been assigned object fidelity values. The object confidence value of a given pixel then depends on the distance to the starting amount before it has started to grow, on its object similarity value and on any object similarity values belonging to any picture element that lies between the given picture element and the starting amount before it has started to grow.

Det är även möjligt att utföra ovannämnda bestämning av objekttrolighetsvärden approximativt medelst en modi- fierad avståndstransform. Avständstransformen skall då vara modifierad så, att den för ett givet bildelement be- 10 l5 20 25 30 35 518 457 15 stämmer ett objekttrolighetsvärde, som beror av det givna objektets objektlikhetsvärde, det euklidiska avståndet till startmängden och objektlikhetsvärden hos bildelement som ligger mellan det givna objektet och startmängden.It is also possible to perform the above-mentioned determination of object trust values approximately by means of a modified distance transform. The spacing transform must then be modified so that for a given pixel it determines an object trust value, which depends on the object similarity value of the given object, the Euclidean distance to the starting set and object similarity values of picture elements lying between the given the object and the starting quantity.

Utifrån de objekttrolighetsvärden som bildelement i det utvalda området tilldelas, väljs de bildelement som sedan skall ligga till grund för vitcellfunktionen.Based on the object confidence values that pixels are assigned in the selected area, the pixels that are then to form the basis for the white cell function are selected.

BESTÃMING AV APPROXIMATIV FUNKTION FÖR VITA BLODCELLER Utifrån den grovt identifierade uppsättningen bild- element som avbildar vita blodceller skall därefter en approximativ funktion, som beskriver förhållandet mellan röd och blå intensitet för bildelement i uppsättningen, bestämmas. Denna benämns vitfunktion. Även denna funktion kan vara väsentligen linjär, dvs på formen R=kWB+mv, där R och B beskriver röd respektive blå intensitet för bildelement som avbildar vita blod- celler. Parametrarna kv och nn skall då bestämmas. Detta kan för den uppsättning bildelement som avbildar vita blodceller företrädesvis göras medelst vanlig linjär reg- ression, som är en för fackmannen välkänd operation.DETERMINATION OF APPROXIMATIVE FUNCTION FOR WHITE BLOOD CELLS Based on the roughly identified set of pixels depicting white blood cells, an approximate function describing the ratio of red to blue intensity of pixels in the set must then be determined. This is called white function. This function can also be substantially linear, ie in the form R = kWB + etc., where R and B describe red and blue intensities, respectively, for pixels that image white blood cells. The parameters kv and nn must then be determined. This can be done for the set of pixels that image white blood cells, preferably by ordinary linear regression, which is a well-known operation to those skilled in the art.

Alternativt kan vitfunktionen R=kfB+nn bestämmas såsom den funktion som skär både bakgrundstyngdpunkten 15 och vitcellstyngdpunkten 16.Alternatively, the white function R = kfB + nn can be determined as the function that intersects both the background center of gravity 15 and the white cell center of gravity 16.

Vitcellstyngdpunkten 16 beräknas på motsvarande sätt som rödcellstyngdpunkten 17.The white cell center of gravity 16 is calculated in the same way as the red cell center of gravity 17.

Oavsett om ovannämnda vitfunktion bestäms medelst linjär regression eller under utnyttjande av ovannämnda tyngdpunkter, är det fördelaktigt att i samband därmed bestämma ett mått på osäkerheten i skattningen av funk- tionen. Ett sådant mått kan baseras på medelfelet av skattningen för vitcellstyngdpunkten 16 eller på medel- felen för respektive regressionsparametrar.Regardless of whether the above-mentioned white function is determined by means of linear regression or using the above-mentioned centers of gravity, it is advantageous to determine in connection with this a measure of the uncertainty in the estimation of the function. Such a measure can be based on the mean error of the estimate for the white cell center of gravity 16 or on the mean error for the respective regression parameters.

ANVÄNDNING Av RöD- ocH vITcELLsFUNKTIoNER Fig 3 visar ett röd-blå-plan i vilket två approxi- merande funktioner, en röd- 14 och en vitcellsfunktion 12 lO l5 20 25 30 35 518 457 išßÉfš 16 har identifierats enligt en utföringsform av uppfinnin- gen.USE OF RED AND WHITE CELL FUNCTIONS Fig. 3 shows a red-blue plane in which two approximate functions, a red 14 and a white cell function 12 have been identified according to an embodiment of the invention. .

Enligt uppfinningen skall det för bildelement i en digital mikroskopbild avgöras huruvida detta avbildar objekt ur den första kategorin, dvs i detta fall vita blodkroppar, eller ej. Detta utförs på basis av bild- elementets respektive intensiteter för de två färgkom- ponenterna(i detta fall rött och blått) samt första och andra funktioner (i detta fall rödfunktion resp vit- funktion).According to the invention, for pixels in a digital microscope image, it must be determined whether this depicts objects from the first category, ie in this case white blood cells, or not. This is done on the basis of the pixel's respective intensities for the two color components (in this case red and blue) and the first and second functions (in this case red function and white function respectively).

I fig 3 visas som exempel fyra olika bildelement, 30, 32, 33, 34 , vilka har plottats i diagrammet i enlig- het med deras respektive röd- och blàintensiteter. Det kan med hänvisning till fig 2 antas att bildelementen 33 och 34 med stor sannolikhet avbildar en vit, respektive en röd blodcell. Detta kan inte sägas med lika stor sä- kerhet för bildelementen 30 och 32. Troligtvis avbildar bildelementen 30 och 32 en vit respektive en röd cell.Fig. 3 shows as an example four different picture elements, 30, 32, 33, 34, which have been plotted in the diagram in accordance with their respective red and blue intensities. With reference to Fig. 2, it can be assumed that the picture elements 33 and 34 most likely depict a white and a red blood cell, respectively. This cannot be said with equal certainty for the pixels 30 and 32. It is likely that the pixels 30 and 32 depict a white and a red cell, respectively.

Företrädesvis bestäms vinkelvärden för bildelementen i en digital bild. För bildelementet 30 har en motsva- rande elementlinje 31 utritats. Elementlinjen 31 för bildelementet 30 är sådan att den i de två färgkompo- nenternas (rött, blått) intensitetsplan skär såväl bild- elementets 30 intensiteter för de båda färgerna som en skärningspunkt 15 mellan röd- och vitfunktionen.Preferably, angular values for the pixels in a digital image are determined. For the picture element 30, a corresponding element line 31 has been drawn. The element line 31 of the picture element 30 is such that in the intensity plane of the two color components (red, blue) it intersects both the intensities of the picture element 30 for the two colors and an intersection point 15 between the red and white function.

Ett vinkelvärde för ett bildelement 30 baseras pà vinklarna (ß resp a) mellan bildelementets elementlinje 31 och röd- 14 respektive vitfunktionen 12. Baserat på beloppet hos detta vinkelvärde kan det avgöras huruvida bildelementet avbildar ett objekt ur den första kategorin eller ej.An angular value for a pixel 30 is based on the angles (ß and a) between the pixel element line 31 and the red and white function 12, respectively. Based on the amount of this angular value, it can be determined whether the pixel depicts an object from the first category or not.

Vinkelvärdet kan företrädesvis vara normerat. Ett givet bildelements vinkelvärde antar då ett första ex- tremt vinkelvärde, om bildelementets ele- exempelvis O, mentlinje sammanfaller med vitfunktionen. Detsamma gäller företrädesvis även om elementlinjens vinkel ß i för- hållande till rödfunktionen är större än vinkeln mellan :anno nous: 10 15 20 25 30 35 , .. ~ ' ". Ü. .i HI ;"': 2,". u v : 'j '2 'n n o I o I g u o . nu ,, ,, u u __ , . . v _ :H H' '_ .'Z 2 f ~ ' j, J. '.»' 2 Ä i - u u. u - l7 röd- och vitfunktionerna. Bildelementet 33 får således vinkelvärdet O.The angular value can preferably be standardized. The angular value of a given pixel then assumes a first extreme angular value, if the element of the pixel - for example 0, ment line coincides with the white function. The same preferably applies even if the angle ß of the element line in relation to the red function is greater than the angle between: anno nous: 10 15 20 25 30 35, .. ~ '". Ü. .I HI;"': 2, ". Uv : 'j' 2 'nno I o I guo. nu ,, ,, uu __,.. v _: HH' '_ .'Z 2 f ~' j, J. '. »' 2 Ä i - u u The pixel 33 thus has the angular value O.

Ett givet bildelements vinkelvärde antar ett andra extremt vinkelvärde, exempelvis 1, om bildelementets ele- mentlinje sammanfaller med rödfunktionen. Detsamma gäller företrädesvis om elementlinjens vinkel d i förhållande till vitfunktionen är större än vinkeln mellan röd- och vitfunktionerna. Bildelementet 34 får således vinkel- värdet 1.The angular value of a given pixel assumes a second extreme angular value, for example 1, if the element line of the pixel coincides with the red function. The same preferably applies if the angle d of the element line in relation to the white function is greater than the angle between the red and white functions. The pixel 34 thus has the angular value 1.

Om ett bildelements elementlinje har mindre vinklar (ß resp d) i förhållande till de röd- 14 och vitfunktion- ernas 12 linjer än vinkeln mellan funktionerna antar vin- kelvärdet ett värde mellan det första och det andra ex- trema värdet, dvs mellan O och 1. Företrädesvis beror detta av proportionerna mellan de båda vinklarna a och ß.If the element line of a pixel has smaller angles (ß and d, respectively) in relation to the lines of the red 14 and white functions than the angle between the functions, the angular value assumes a value between the first and the second extreme value, ie between 0 and 1. Preferably this depends on the proportions between the two angles a and ß.

Bildelementet 30 skulle därför kunna få vinkelvärdet 0,3 medan bildelementet 32 skulle kunna få vinkelvärdet 0,9. Även avståndet x till röd- 14 och vitfunktionernas 12 skärningspunkt 15 i de två färgkomponenternas plan kan utnyttjas för att avgöra huruvida det givna bildelementet 30 avbildar ett objekt ur den första kategorin eller ej.The pixel 30 could therefore have the angular value 0.3 while the pixel 32 could have the angular value 0.9. The distance x to the intersection 15 of the red and white functions 12 in the plane of the two color components can also be used to determine whether the given pixel 30 depicts an object from the first category or not.

Fig 4 visar ett exempel där vinkelvärden har be- stämts för de i bilden i fig 1 ingående bildelementen.Fig. 4 shows an example where angular values have been determined for the picture elements included in the image in Fig. 1.

Ljusa bildelement har där lågt vinkelvärde. Såsom framgår av bilden är kontrasten mellan de vita blodcellernas cy- toplasma och intilliggande röda celler nu betydligt star- kare än i fig 1. Vinkelvärdena i fig 4 kan därför utnytt- jas för att utföra bättre segmenteringar av de vita blod- cellerna i fig 1. Bildelement kan exempelvis trösklas med avseende på deras vinkelvärden.Bright picture elements have a low angular value there. As can be seen from the picture, the contrast between the cytoplasm of the white blood cells and the adjacent red cells is now much stronger than in Fig. 1. The angular values in Fig. 4 can therefore be used to perform better segmentations of the white blood cells in Fig. 1. For example, pixels can be thresholded with respect to their angular values.

Fig Sa visar en tillämpning av ett arrangemang en- ligt uppfinningen. Arrangemanget ingår i ett system med ett mikroskop 51 och ett datorsystem 52. Mikroskopet 51 levererar mikroskoperade digitala färgbilder till dator- systemet 52, som utför segmentering av intressanta objekt i de digitala bilderna. Datorsystemet 52 och mikroskopet 51 kan vara integrerade. Delar av segmenteringsförfaran- anon- a|»a: lO l5 20 25 30 35 n ~ o u o .Fig. 5a shows an application of an arrangement according to the invention. The arrangement is part of a system with a microscope 51 and a computer system 52. The microscope 51 delivers microscopic digital color images to the computer system 52, which performs segmentation of interesting objects in the digital images. The computer system 52 and the microscope 51 may be integrated. Parts of segmentation procedure- anon- a | »a: lO l5 20 25 30 35 n ~ o u o.

~ Q ~ ou u un uvøoou s 1 s 457 .2 ïšßšíë 18 det kan även utföras distribuerat över ett nätverk. I fig 5b visas ett arrangemang enligt en utföringsform av upp- finningen. I arrangemanget ingår ett antal funktionella moduler 53- 57.~ Q ~ ou u un uvøoou s 1 s 457 .2 ïšßšíë 18 it can also be performed distributed over a network. Fig. 5b shows an arrangement according to an embodiment of the invention. The arrangement includes a number of functional modules 53-57.

I en första modul (IDl) 53 identifieras med ett för- sta grovt mått en första uppsättning bildelement i en di- gital bild, så att bildelementen i den första uppsätt- ningen till övervägande del avbildar objekt ur en viss kategori, exempelvis röda blodceller. Den första modulen 53 utgör medel för att utföra en sàdan identifiering.In a first module (ID1) 53, a first coarse measure identifies a first set of pixels in a digital image, so that the pixels in the first set predominantly depict objects from a certain category, for example red blood cells. The first module 53 constitutes means for performing such identification.

I en andra modul (FKI) 54 identifieras en första, väsentligen linjär funktion, som ger en approximativ be- skrivning av förhållandet mellan de två färgkomponenter- nas respektive intensiteter för bildelement i den första uppsättningen. Den andra modulen 54 utgör medel för att utföra en sådan identifiering.In a second module (FKI) 54, a first, substantially linear function is identified, which gives an approximate description of the relationship between the two color components' respective intensities for pixels in the first set. The second module 54 constitutes means for performing such identification.

I en tredje modul 55 (ID2) identifieras med ett andra grovt mätt en andra uppsättning bildelement i en digital bild, så att bildelementen i den andra uppsätt- ningen till övervägande del avbildar objekt ur en viss kategori, exempelvis vita blodceller. Den tredje modulen 55 utgör medel för att utföra en sådan identifiering.In a third module 55 (ID2), a second set of pixels in a digital image is identified with a second roughly measured, so that the pixels in the second set predominantly depict objects from a certain category, for example white blood cells. The third module 55 constitutes means for performing such identification.

I en fjärde modul (FK2) 56 identifieras en andra, väsentligen linjär funktion, som ger en approximativ be- skrivning av förhållandet mellan de två färgkomponen- ternas respektive intensiteter för bildelement i den andra uppsättningen. Den fjärde modulen 56 utgör medel för att utföra en sådan identifiering.In a fourth module (FK2) 56 a second, substantially linear function is identified, which gives an approximate description of the relationship between the two color components' respective intensities for picture elements in the second set. The fourth module 56 is a means of performing such identification.

I en femte modul (SEGM.) 57 avgörs huruvida bild- element i en bild avbildar ett objekt ur den första kate- gorin eller ej, på basis av dessas respektive intensi- teter för de två färgkomponenterna samt nämnda första och andra funktioner. Den femte modulen 57 utgör medel för att åstadkomma ett sådan avgörande och utmatar objekt som segmenterats ur en digital bild för vidare analys.In a fifth module (SEGM.) 57 it is determined whether or not pixels in an image depict an object from the first category, on the basis of their respective intensities for the two color components and the said first and second functions. The fifth module 57 constitutes means for effecting such a decision and outputs objects segmented from a digital image for further analysis.

Samtliga ovan visade moduler kan realiseras med hjälp av datorprogram i datorsystemet 52. Ett sådant da- :unou lO 15 20 25 30 35 518 457 19 torprogram kan lagras separat pà ett digitalt lagrings- medium.All the modules shown above can be realized by means of computer programs in the computer system 52. Such a computer program can be stored separately on a digital storage medium.

Det är emellertid även möjligt att utföra en del mo- duler som kretslösningar, exempelvis i form av ASIC- eller FPGA-kretsar (ASIC=Application Specific Integrated Circuit; FPGA=Field Programmable Gate Array).However, it is also possible to design some modules as circuit solutions, for example in the form of ASIC or FPGA circuits (ASIC = Application Specific Integrated Circuit; FPGA = Field Programmable Gate Array).

Fig 6 visar ett flödesschema för ett sätt 60 enligt en utföringsform av uppfinningen. Sättet används för att urskilja objekt ur en första kategori i en bildserie med minst en digital färgbild, som avbildar biologiskt mate- rial och innefattar ett flertal bildelement, vilka har åtminstone tvà färgkomponenter, varvid även objekt ur en andra kategori återfinns i bildserien.Fig. 6 shows a flow chart of a method 60 according to an embodiment of the invention. The method is used to distinguish objects from a first category in an image series with at least one digital color image, which depicts biological material and comprises a plurality of image elements, which have at least two color components, whereby also objects from a second category are found in the image series.

I ett första steg 61 identifieras med ett första grovt mätt en första uppsättning bildelement i en bild i en bildserie, sä att bildelementen i den första uppsätt- ningen till övervägande del avbildar objekt ur den andra kategorin. Med ett mätt avses här och nedan en regel som appliceras pà en mängd indata, dvs i detta fall bild- element i en bild. Regeln ger för ett bildelement antin- gen resultatet att bildelementet avbildar ett objekt ur den andra kategorin eller att bildelementet inte gör det.In a first step 61, a first set of pixels in an image in a series of images is identified with a first rough measure, so that the pixels in the first set predominantly depict objects from the second category. By a measure is meant here and below a rule that is applied to a quantity of input data, ie in this case pixels in an image. The rule gives for a pixel either the result that the pixel depicts an object from the other category or that the pixel does not.

I ett andra steg 62 identifieras en första, väsent- ligen linjär funktion, som ger en approximativ beskriv- ning av förhållandet mellan de tvà färgkomponenternas re- spektive intensiteter för bildelement i den första upp- sättningen.In a second step 62, a first, substantially linear function is identified, which gives an approximate description of the relationship between the two color components' respective intensities for picture elements in the first set.

I ett tredje steg 63 identifieras, med ett andra grovt mätt, en andra uppsättning bildelement i en bild i bildserien, sä att bildelementen i den andra uppsättnin- gen till övervägande del avbildar objekt ur den första kategorin.In a third step 63, with a second rough measurement, a second set of pixels in an image in the image series is identified, so that the pixels in the second set predominantly depict objects from the first category.

I ett fjärde steg 64 identifieras en andra, väsent- ligen linjär funktion, som ger en approximativ beskriv- ning av förhållandet mellan de två färgkomponenternas re- spektive intensiteter för bildelement i den andra upp- sättningen. 10 15 . . ;-°,;'-,; .: , '. .3 .z . ... .. 518 457 ä-*íš .§.=fI=É 20 I ett femte steg 65 avgörs huruvida ett givet bild- element i en bild i bildserien avbildar ett objekt ur den första kategorin eller ej, pà basis av det givna bildele- mentets respektive intensiteter för de tvà färgkomponen- terna samt nämnda första och andra funktioner.In a fourth step 64, a second, substantially linear function is identified, which gives an approximate description of the relationship between the two color components' respective intensities for pixels in the second set. 10 15. . ; - °,; '- ,; .:, '. .3 .z. ... .. 518 457 ä- * íš .§. = FI = É 20 In a fifth step 65 it is determined whether or not a given pixel in an image in the image series depicts an object from the first category, on the basis of that given the respective elements of the picture element for the two color components as well as the mentioned first and second functions.

Den bildserie som avses ovan innehåller företrädes- vis flera bilder, men kan även innehålla endast en bild.The image series referred to above preferably contains several images, but can also contain only one image.

Det är inte nödvändigt att utföra alla delar i förfaran- det pä en och samma bild. Det första och andra steget kan utföras pà en första bild, det tredje och fjärde pà en andra bild i bildserien, och det femte steget på en tred- je.It is not necessary to perform all parts of the procedure in one image. The first and second steps can be performed on a first image, the third and fourth on a second image in the image series, and the fifth step on a third.

Uppfinningen är inte begränsad till de ovan visade utföringsformerna, utan kan varieras inom ramen för de bifogade patentkraven.The invention is not limited to the embodiments shown above, but can be varied within the scope of the appended claims.

Claims (14)

10 15 20 25 30 35 518 457 .n I , . . .a , nn 21 PATENTKRAV10 15 20 25 30 35 518 457 .n I,. . .a, nn 21 PATENT REQUIREMENTS 1. Sätt att segmentera objekt ur en första kategori i en bildserie med minst en digital mikroskopfärgbild, som avbildar biologiskt material och innefattar ett flertal bildelement, vilka har àtminstone tvä färgkom- ponenter, varvid även objekt ur en andra kategori återfinns i bildserien, k ä n n e t e c k n a t av stegen r - att med ett första grovt mått identifiera (61) en första uppsättning bildelement i en färgbild i bild- serien, så att bildelementen i den första uppsättningen till övervägande del avbildar objekt ur den andra kate- gorin; - att identifiera (62) en första funktion, som ger en approximativ beskrivning av förhållandet mellan de två färgkomponenternas respektive intensiteter för bild- element i den första uppsättningen; - att med ett andra grovt mätt identifiera (63) en andra uppsättning bildelement i en färgbild i bildserien, så att bildelementen i den andra uppsättningen till över- vägande del avbildar objekt ur den första kategorin; (64) approximativ beskrivning av förhållandet mellan de två - att identifiera en andra funktion, som ger en färgkomponenternas respektive intensiteter för bild- element i den andra uppsättningen; och - att avgöra (65) huruvida ett givet bildelement i en färgbild i bildserien avbildar ett objekt ur den för- sta kategorin eller ej, på basis av det givna bild- elementets respektive intensiteter för de tvä färg- komponenterna samt nämnda första och andra funktioner.A method of segmenting objects from a first category in an image series with at least one digital microscope color image, which depicts biological material and comprises a plurality of image elements, which have at least two color components, wherein objects from a second category are also found in the image series, k ä drawn by steps r - identifying (61) a first set of pixels in a color image in the image series with a first rough measure, so that the pixels in the first set predominantly depict objects from the second category; - identifying (62) a first function, which gives an approximate description of the relationship between the respective color components' intensities for pixels in the first set; - identifying (63) a second set of pixels in a color image in the image series with a second coarse measure, so that the pixels in the second set predominantly depict objects from the first category; (64) approximate description of the relationship between the two - to identify a second function, which gives one the respective intensities of the color components for pixels in the second set; and - determining (65) whether or not a given pixel in a color image in the image series depicts an object from the first category, based on the respective intensities of the given pixel for the two color components and said first and second functions . 2. Sätt enligt krav 1, vid vilket nämnda första och andra funktioner är väsentligen linjära.A method according to claim 1, wherein said first and second functions are substantially linear. 3. Sätt enligt krav 2, vid vilket steget att avgöra huruvida nämnda givna bildelement avbildar ett objekt ur den första kategorin eller ej innefattar delstegen: SE0100142-9 10 15 20 25 30 35 s 1 s 457 f; ïï--§II2.LÉ:~!.I!§“ å' . n : I n 22 - att för det givna bildelementet identifiera en elementlinje, som i de tvâ färgkomponenternas inten- sitetsplan skär såväl det givna bildelmentets intensi- teter för de båda färgerna som en skärningspunkt mellan den första och den andra funktionen; - att tilldela det givna bildelementet ett vinkel- värde baserat på nämnda elementlinjes vinkel i förhål- lande till linjer motsvarande nämnda första och andra funktion; - att avgöra huruvida det givna bildelementet avbil- dar ett objekt ur den första kategorin eller ej baserat på vinkelvärdet.The method of claim 2, wherein the step of determining whether or not said given pixel depicts an object from the first category comprises the sub-steps: SE0100142-9 10 15 20 25 30 35 s 1 s 457 f; ïï - §II2.LÉ: ~! .I! § “å '. n: I n 22 - to identify for the given pixel an element line which, in the intensity plane of the two color components, intersects both the intensities of the given pixel for the two colors and an intersection point between the first and the second function; - assigning the given pixel an angular value based on the angle of said element line in relation to lines corresponding to said first and second function; - to determine whether or not the given pixel represents an object from the first category based on the angular value. 4. elementets vinkelvärde antar ett första extremt värde om Sätt enligt krav 3, vid vilket det givna bild- elementlinjen sammanfaller med den första funktionens linje eller har en vinkel i förhållande till den andra funktionens linje som är större än vinkeln mellan den första och den andra funktionens linjer; antar ett andra extremt värde om elementlinjen sammanfaller med den andra funktionens linje eller har en vinkel i förhållande till den första funktionens linje som är större än vinkeln mellan den första och den andra funktionens linjer; och antar ett värde mellan det första och det andra extrema värdet om elementlinjen har mindre vinklar i förhållande till de första och andra funktionernas linjer än den in- bördes vinkeln mellan den första och den andra funk- tionens linjer.The angular value of the element assumes a first extreme value of the method of claim 3, wherein the given pixel line coincides with the line of the first function or has an angle relative to the line of the second function which is greater than the angle between the first and the second function lines; assumes a second extreme value if the element line coincides with the line of the second function or has an angle relative to the line of the first function which is greater than the angle between the lines of the first and the second function; and assumes a value between the first and the second extreme value if the element line has smaller angles in relation to the lines of the first and second functions than the mutual angle between the lines of the first and the second function. 5. Sätt enligt krav 4, vid vilket även avståndet mellan det givna bildelementets intensiteter och den för- sta och den andra funktionens skärningspunkt i de två färgkomponenternas plan utnyttjas för att avgöra huruvida det givna bildelementet avbildar ett objekt ur den första kategorin eller ej.A method according to claim 4, wherein also the distance between the intensities of the given pixel and the intersection of the first and second functions in the plane of the two color components is used to determine whether the given pixel depicts an object from the first category or not. 6. nämnda objekt i den första kategorin är vita blodceller, Sätt enligt något av föregående krav, vid vilket och nämnda objekt i den andra kategorin är röda blod- celler. SE010Û142-9 lO 15 20 25 30 35 , . v I 4 o I | - : :I s1s 457 :z LI--ëë .ï--alšf 23Said objects in the first category are white blood cells. A method according to any one of the preceding claims, wherein said objects in the second category are red blood cells. SE010Û142-9 lO 15 20 25 30 35,. v I 4 o I | -:: I s1s 457: z LI - ëë .ï - alšf 23 7. Sätt enligt något av föregående krav, vid vilket nämnda två färgkomponenter är rött och blått.A method according to any one of the preceding claims, wherein said two color components are red and blue. 8. Sätt enligt något av krav 6 eller 7, vid vilket nämnda första grova mått innefattar att medelst tröskling identifiera och utesluta bildelement som avbildar bak- grund.A method according to any one of claims 6 or 7, wherein said first coarse measure comprises by threshold identifying and excluding picture elements depicting background. 9. Sätt enligt krav 8, vid vilket nämnda första grova mått vidare innefattar att identifiera och utesluta områden av bildelement, vilka områden kan antas innehålla vita blodceller, vilket antagande baseras på intensitet av grön färgkomponent.The method of claim 8, wherein said first coarse measure further comprises identifying and excluding areas of pixels, which areas can be assumed to contain white blood cells, the assumption being based on the intensity of the green color component. 10. Sätt enligt något av krav 6-9, vid vilket nämnda andra grova mått innefattar att åtminstone ett bild- elementkluster med låg intensitet av grön färgkomponent identifieras.A method according to any one of claims 6-9, wherein said second coarse dimension comprises identifying at least one low intensity pixel cluster of green color component. 11. ll. Sätt enligt krav 10, vid vilket nämnda andra grova mått vidare innefattar delstegen; - att ett område associerat med nämnda bildelement- kluster utväljs, vilket område har en storlek som är större än den förväntade storleken hos en vit blodcell; - att åtminstone ett bildelement i området, vilket bildelement har ett utseende som skiljer sig från det förväntade utseendet hos bildelement som avbildar vita blodceller utväljs, varvid nämnda minst ett bildelement bildar en initial mängd; - att objektlikhetsvärden bestäms för bildelement i området; och - att nämnda andra uppsättning bildelement identi- fieras med utgångspunkt från den initiala mängden och ob- jektlikhetsvärdena.11. ll. The method of claim 10, wherein said second coarse measure further comprises the sub-steps; - selecting an area associated with said pixel cluster, which area has a size larger than the expected size of a white blood cell; selecting at least one pixel in the area, which pixel has an appearance different from the expected appearance of pixels depicting white blood cells, said at least one pixel forming an initial amount; - that object similarity values are determined for picture elements in the area; and - said second set of pixels being identified based on the initial set and the object similarity values. 12. Arrangemang för segmentering av objekt ur en första kategori i en bildserie med minst en digital färg- bild, som avbildar biologiskt material och innefattar ett flertal bildelement, vilka har åtminstone två färgkom- ponenter, varvid även objekt ur en andra kategori åter- finns i bildserien, k ä n n e t e c k n a t aV y 5501001424: 7 \ 10 15 20 25 30 35 518 457 24 - medel (53) för att med ett första grovt mått iden- tifiera en första uppsättning bildelement i en färgbild i bildserien, så att bildelementen i den första uppsätt- ningen till övervägande del avbildar objekt ur den andra kategorin; - medel (54) för att identifiera en första funktion, som ger en approximativ beskrivning av förhållandet mel- lan de två färgkomponenternas respektive intensiteter för bildelement i den första uppsättningen; - medel (55) för att med ett andra grovt mätt iden- tifiera en andra uppsättning bildelement i en färgbild i bildserien, så att bildelementen i den andra uppsättnin- gen till övervägande del avbildar objekt ur den första kategorin; - medel (56) för att identifiera en andra funktion, som ger en approximativ beskrivning av förhållandet mel- lan de två färgkomponenternas respektive intensiteter för bildelement i den andra uppsättningen; och - medel (57) för att avgöra huruvida ett givet bild- element i en färgbild i bildserien avbildar ett objekt ur den första kategorin eller ej, på basis av det givna "bildelementets respektive intensiteter för de tvà färg- komponenterna samt nämnda första och andra funktioner.Arrangement for segmenting objects from a first category in a series of images with at least one digital color image, which depicts biological material and comprises a plurality of picture elements, which have at least two color components, wherein objects from a second category are also found in the image series, characterized by means of means (53) for identifying with a first coarse measure a first set of picture elements in a color image in the picture series, so that the picture elements in the first set predominantly depicts objects from the second category; - means (54) for identifying a first function, which gives an approximate description of the relationship between the respective color components' intensities for pixels in the first set; means (55) for identifying with a second coarse measure a second set of pixels in a color image in the image series, so that the pixels in the second set predominantly depict objects from the first category; - means (56) for identifying a second function, which gives an approximate description of the relationship between the respective color components' intensities for pixels in the second set; and - means (57) for determining whether or not a given pixel in a color image in the image series depicts an object of the first category, based on the respective intensities of the given "pixel for the two color components and said first and second functions. 13. Datorprogram för att segmentera objekt ur en första kategori i en bildserie med minst en digital färg- bild, som avbildar biologiskt material och innefattar ett flertal bildelement, vilka har åtminstone tvà färgkom- ponenter, varvid även objekt ur en andra kategori äter- finns i bildserien, k ä n n e t e c k n a t av instruk- tioner motsvarande stegen: - att med ett första grovt mätt identifiera en för- sta uppsättning bildelement i en färgbild i bildserien, sä att bildelementen i den första uppsättningen till övervägande del avbildar objekt ur den andra kategorin; - att identifiera en första funktion, som ger en approximativ beskrivning av förhållandet mellan de tvà 350100142-9 10 15 20 u 0 o u :O 1 una I 1 1 n no ~ n 518 457 n .una . u u » o o 25 färgkomponenternas respektive intensiteter för bild- element i den första uppsättningen; - att med ett andra grovt mått identifiera en andra uppsättning bildelement i en färgbild i bildserien, så att bildelementen i den andra uppsättningen till över- vägande del avbildar objekt ur den första kategorin; - att identifiera en andra funktion, som ger en approximativ beskrivning av förhållandet mellan de tvà färgkomponenternas respektive intensiteter för bild- element i den andra uppsättningen; och - att avgöra huruvida ett givet bildelement i en färgbild i bildserien avbildar ett objekt ur den första kategorin eller ej, pà basis av det givna bildelementets respektive intensiteter för de tvà färgkomponenterna samt nämnda första och andra funktioner.Computer program for segmenting objects from a first category into a series of images with at least one digital color image, which depicts biological material and comprises a plurality of picture elements, which have at least two color components, whereby also objects from a second category are present in the image series, characterized by instructions corresponding to the steps: - to identify with a first rough measure a first set of pixels in a color image in the image series, so that the pixels in the first set predominantly depict objects from the second category; - to identify a first function, which gives an approximate description of the relationship between the two 350100142-9 10 15 20 u 0 o u: O 1 una I 1 1 n no ~ n 518 457 n .una. u u »o o 25 the respective intensities of the color components for pixels in the first set; - to identify with a second coarse measure a second set of picture elements in a color image in the series of pictures, so that the picture elements in the second set predominantly depict objects from the first category; - to identify a second function, which gives an approximate description of the relationship between the respective intensities of the two color components for pixels in the second set; and - determining whether or not a given pixel in a color image in the image series depicts an object of the first category, based on the respective intensities of the given pixel for the two color components and said first and second functions. 14. Digitalt lagringsmedium, innefattande datorpro- gram enligt krav 13.A digital storage medium, comprising computer programs according to claim 13.
SE0100142A 2001-01-18 2001-01-18 Segmenting method for objects in a first category in a series of images with at least one digital microscope color image that depicts biological material for analyzing peripheral blood and bone marrow SE518457C2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
SE0100142A SE518457C2 (en) 2001-01-18 2001-01-18 Segmenting method for objects in a first category in a series of images with at least one digital microscope color image that depicts biological material for analyzing peripheral blood and bone marrow
PCT/SE2002/000050 WO2002057997A1 (en) 2001-01-18 2002-01-17 Method and arrangement for segmenting white blood cells in a digital colour image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SE0100142A SE518457C2 (en) 2001-01-18 2001-01-18 Segmenting method for objects in a first category in a series of images with at least one digital microscope color image that depicts biological material for analyzing peripheral blood and bone marrow

Publications (3)

Publication Number Publication Date
SE0100142D0 SE0100142D0 (en) 2001-01-18
SE0100142L SE0100142L (en) 2002-07-19
SE518457C2 true SE518457C2 (en) 2002-10-08

Family

ID=20282657

Family Applications (1)

Application Number Title Priority Date Filing Date
SE0100142A SE518457C2 (en) 2001-01-18 2001-01-18 Segmenting method for objects in a first category in a series of images with at least one digital microscope color image that depicts biological material for analyzing peripheral blood and bone marrow

Country Status (1)

Country Link
SE (1) SE518457C2 (en)

Also Published As

Publication number Publication date
SE0100142L (en) 2002-07-19
SE0100142D0 (en) 2001-01-18

Similar Documents

Publication Publication Date Title
Li et al. Segmentation of white blood cell from acute lymphoblastic leukemia images using dual‐threshold method
AU671984B2 (en) Method for identifying objects using data processing techniques
CN107977682B (en) Lymphocyte classification method and device based on polar coordinate transformation data enhancement
Malpica et al. Applying watershed algorithms to the segmentation of clustered nuclei
US8331642B2 (en) Method and device for determining a contour and a center of an object
US5933519A (en) Cytological slide scoring apparatus
CN112435243A (en) Automatic analysis system and method for full-slice digital pathological image
JP4948647B2 (en) Urine particle image region segmentation method and apparatus
CN111310756B (en) Damaged corn particle detection and classification method based on deep learning
US10991098B1 (en) Methods for automated chromosome analysis
JP2011188496A (en) Backlight detection device and backlight detection method
US8582861B2 (en) Method and apparatus for segmenting biological cells in a picture
CN112215790A (en) KI67 index analysis method based on deep learning
CN108961301B (en) Chaetoceros image segmentation method based on unsupervised pixel-by-pixel classification
Bouchet et al. Intuitionistic fuzzy set and fuzzy mathematical morphology applied to color leukocytes segmentation
Pandit et al. Literature review on object counting using image processing techniques
GB2329014A (en) Automated identification of tubercle bacilli
CN110188592B (en) Urine formed component cell image classification model construction method and classification method
CN108921172A (en) Image processing apparatus and method based on support vector machines
CN108596244A (en) A kind of high spectrum image label noise detecting method based on spectrum angle density peaks
CN113269195A (en) Reading table image character recognition method and device and readable storage medium
JP2004538555A (en) How to classify digital images
JP3653804B2 (en) Particle image region segmentation method and apparatus
CN111311628A (en) Full-automatic high-performance leukocyte segmentation method
SE518457C2 (en) Segmenting method for objects in a first category in a series of images with at least one digital microscope color image that depicts biological material for analyzing peripheral blood and bone marrow

Legal Events

Date Code Title Description
NUG Patent has lapsed