TW201623625A - Image processing method, control program, recording medium and image processing apparatus - Google Patents
Image processing method, control program, recording medium and image processing apparatus Download PDFInfo
- Publication number
- TW201623625A TW201623625A TW104127200A TW104127200A TW201623625A TW 201623625 A TW201623625 A TW 201623625A TW 104127200 A TW104127200 A TW 104127200A TW 104127200 A TW104127200 A TW 104127200A TW 201623625 A TW201623625 A TW 201623625A
- Authority
- TW
- Taiwan
- Prior art keywords
- image
- image processing
- ellipsoid
- ellipsoidal
- circle
- Prior art date
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 17
- 238000012545 processing Methods 0.000 title claims description 102
- 238000000034 method Methods 0.000 claims abstract description 37
- 230000008569 process Effects 0.000 claims abstract description 18
- 230000003628 erosive effect Effects 0.000 claims abstract description 9
- 238000003384 imaging method Methods 0.000 claims description 44
- 238000005530 etching Methods 0.000 claims description 14
- 230000007246 mechanism Effects 0.000 claims description 4
- 230000010339 dilation Effects 0.000 abstract 1
- 230000000877 morphologic effect Effects 0.000 description 15
- 230000006870 function Effects 0.000 description 12
- 230000003287 optical effect Effects 0.000 description 12
- 238000000926 separation method Methods 0.000 description 12
- 238000005286 illumination Methods 0.000 description 9
- 239000007788 liquid Substances 0.000 description 7
- 238000002474 experimental method Methods 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 239000012535 impurity Substances 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 241000894006 Bacteria Species 0.000 description 2
- 238000009509 drug development Methods 0.000 description 2
- 239000000428 dust Substances 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000004520 agglutination Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000003153 chemical reaction reagent Substances 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 239000002131 composite material Substances 0.000 description 1
- 230000008034 disappearance Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
Classifications
-
- C—CHEMISTRY; METALLURGY
- C12—BIOCHEMISTRY; BEER; SPIRITS; WINE; VINEGAR; MICROBIOLOGY; ENZYMOLOGY; MUTATION OR GENETIC ENGINEERING
- C12Q—MEASURING OR TESTING PROCESSES INVOLVING ENZYMES, NUCLEIC ACIDS OR MICROORGANISMS; COMPOSITIONS OR TEST PAPERS THEREFOR; PROCESSES OF PREPARING SUCH COMPOSITIONS; CONDITION-RESPONSIVE CONTROL IN MICROBIOLOGICAL OR ENZYMOLOGICAL PROCESSES
- C12Q1/00—Measuring or testing processes involving enzymes, nucleic acids or microorganisms; Compositions therefor; Processes of preparing such compositions
- C12Q1/02—Measuring or testing processes involving enzymes, nucleic acids or microorganisms; Compositions therefor; Processes of preparing such compositions involving viable microorganisms
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/20—Image enhancement or restoration using local operators
- G06T5/30—Erosion or dilatation, e.g. thinning
Landscapes
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Physics & Mathematics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Organic Chemistry (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Zoology (AREA)
- Wood Science & Technology (AREA)
- Proteomics, Peptides & Aminoacids (AREA)
- Health & Medical Sciences (AREA)
- Microbiology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Molecular Biology (AREA)
- Biotechnology (AREA)
- Biophysics (AREA)
- Analytical Chemistry (AREA)
- Biochemistry (AREA)
- Immunology (AREA)
- General Engineering & Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Genetics & Genomics (AREA)
- Image Processing (AREA)
- Investigating Or Analysing Biological Materials (AREA)
- Apparatus Associated With Microorganisms And Enzymes (AREA)
- Measuring Or Testing Involving Enzymes Or Micro-Organisms (AREA)
- Image Analysis (AREA)
Abstract
Description
該發明係關於針對拍攝到橢球體之圖像實施之圖像處理者,尤其是關於區分圖像中包含之橢球體與其他目標物之技術。 This invention relates to an image processor implemented for capturing an image of an ellipsoid, and more particularly to a technique for distinguishing an ellipsoid included in an image from other objects.
於醫療或生物科學之實驗中,例如,進行以CCD相機等拍攝觀察對象即細胞並進行圖像資料化,對該圖像資料應用各種圖像處理技術供觀察或分析。即,於將觀察對象之細胞承載於被稱為微孔板、皿等適當之容器之狀態,利用相機等拍攝細胞以供觀察。 In an experiment in medical or biological science, for example, a cell to be observed by a CCD camera or the like is imaged and imaged, and various image processing techniques are applied to the image data for observation or analysis. In other words, the cells of the observation target are placed in a state of a suitable container called a microplate or a dish, and the cells are photographed by a camera or the like for observation.
於該情形時,有可能於圖像中映入觀察對象物以外之圖像。例如,圖像中可能會出現因子氣體環境中混入之細微塵埃或雜質、容器之傷痕、髒污等所致之條狀異物之像。此種異物之像會妨礙觀察。作為考量到該問題之技術,例如有記載於日本特開2012-159794號公報者。於該技術中,藉由預先拍攝未承載細胞之狀態之容器(孔井)之圖像,求出與存在細胞之狀態之圖像的差分,而排除損傷、雜質等異物之像。 In this case, it is possible to reflect an image other than the observation object in the image. For example, an image of a strip of foreign matter caused by fine dust or impurities mixed in a factor gas environment, a container of a stain, or dirt may occur in the image. This image of foreign objects can hinder observation. As a technique for considering this problem, for example, it is described in Japanese Laid-Open Patent Publication No. 2012-159794. In this technique, by taking an image of a container (well) in a state in which cells are not carried, a difference from an image in a state in which cells are present is obtained, and an image of foreign matter such as damage or impurities is removed.
於上述先前技術中,必須於承載細胞前後進行容器之拍攝,程序較複雜。再者,無法因應於事前拍攝後混入容器或自容器脫離之異 物之情形。因此,期望可自於包含細胞及異物之狀態拍攝之圖像直接地區別細胞之像與異物之像的技術。尤其於拍攝對象物是由多個細胞組成之細胞簇(橢球體)之情形,期待利用細胞凝集為球狀之特性而與異物之像進行區別,但此種技術至今尚未確立。 In the above prior art, it is necessary to perform photographing of the container before and after carrying the cells, and the procedure is complicated. Furthermore, it is not possible to mix into or out of the container after taking it beforehand. The situation of things. Therefore, a technique that can directly distinguish an image of a cell from an image of a foreign object from an image captured in a state including cells and foreign matter is desired. In particular, in the case where the subject is a cluster of cells (ellipsoids) composed of a plurality of cells, it is expected to distinguish the image of the foreign matter by the agglutination of the cells, but such a technique has not yet been established.
本發明係鑑於上述問題而完成者,目的在於提供一種藉由對拍攝到橢球體之圖像實施圖像處理,可有效率、且以優異之再現性進行橢球體與異物之區別之技術。 The present invention has been made in view of the above problems, and an object thereof is to provide a technique for performing an image processing on an image of an ellipsoid to efficiently distinguish an ellipsoid from a foreign matter with excellent reproducibility.
本發明之圖像處理方法係為了達成上述目的,包含以下步驟:自拍攝到橢球體之原圖像,檢測上述原圖像中之目標物中包含上述橢球體之橢球體狀目標物;對上述橢球體狀目標物執行侵蝕處理,該侵蝕處理以具有基於該橢球體狀目標物之尺寸求出之直徑、且面積比上述橢球體狀目標物小之圓為構造要素;對上述侵蝕處理後之上述橢球體狀目標物,執行使用上述構造要素之膨脹處理。 In order to achieve the above object, the image processing method of the present invention includes the steps of: detecting an original image of an ellipsoid from a photograph, and detecting an ellipsoidal object including the ellipsoid in a target in the original image; The ellipsoidal object is subjected to an etching treatment, and the etching treatment is performed by using a circle having a diameter determined based on the size of the ellipsoidal object and having an area smaller than the ellipsoidal object as a structural element; The ellipsoidal object described above is subjected to expansion treatment using the above-described structural elements.
此處,「侵蝕處理」係圖像之形態學處理之一,意指使圖像中之目標物區域收縮之處理。又,「膨脹處理」係形態學處理之一,意指使圖像中之目標物區域膨脹之處理。 Here, "erosion treatment" is one of the morphological processing of an image, and means a process of shrinking a target region in an image. Further, "expansion processing" is one of morphological processing, and means processing for expanding an object region in an image.
由於原圖像中橢球體呈大致圓形之圖像,故可基於該形狀特徵而與條狀之異物圖像加以區別。若原圖像中橢球體之像與異物之像隔開,則較容易區別該等。然而,實際上兩者為重疊一體之情形亦較多。於如上述般構成之發明中,藉由包含侵蝕處理及膨脹處理之形態學圖像處理,可謀求區別橢球體區域與異物區域。 Since the ellipsoid in the original image has a substantially circular image, it can be distinguished from the strip-shaped foreign object image based on the shape feature. If the image of the ellipsoid in the original image is separated from the image of the foreign object, it is easier to distinguish between them. However, in fact, there are many cases where the two are overlapped. In the invention configured as described above, the ellipsoidal region and the foreign matter region can be distinguished by the morphological image processing including the etching treatment and the expansion treatment.
於本發明中,藉由執行侵蝕處理與膨脹處理,保持原圖像中橢球體之形狀並獲得消去條狀圖像後之圖像。於該等形態學處理中,構造要素之尺寸設定對於處理結果賦予較大之影響。於先前之細胞圖像之處理中,藉由操作者之主觀判斷或試行,設定構造要素之尺寸。然 而,若要設定最佳尺寸,必須較為熟練,否則有處理結果偏差之虞。 於本發明中,將對應於檢測出之橢球體狀目標物尺寸之直徑的圓用作為構造要素。根據本申請案發明者獲得之新穎見解,以此方式,可簡單且自動地設定構造要素之尺寸,而可有效率地藉由形態學處理進行橢球體與異物之區別。 In the present invention, by performing the etching treatment and the expansion processing, the shape of the ellipsoid in the original image is maintained and an image obtained by erasing the strip image is obtained. In these morphological processes, the size setting of the structural elements gives a large influence on the processing result. In the processing of the previous cell image, the size of the structural element is set by subjective judgment or trial by the operator. Of course However, if you want to set the optimal size, you must be more skilled, otherwise there will be a flaw in the processing results. In the present invention, a circle corresponding to the diameter of the detected ellipsoidal object size is used as a structural element. According to the novel insights obtained by the inventors of the present application, in this way, the size of the structural elements can be set simply and automatically, and the difference between the ellipsoid and the foreign matter can be efficiently performed by the morphological processing.
又,本發明之上述圖像處理裝置為了達成上述目的,包含:圖像取得機構,其取得拍攝到橢球體之原圖像;及圖像處理機構,其對上述原圖像實施圖像處理;圖像處理機構執行上述之圖像處理。於如此構成之發明中,藉由進行上述之圖像處理,可簡單且有效率地區別原圖像中包含之橢球體之像與異物之像。 Moreover, in order to achieve the above object, the image processing apparatus of the present invention includes: an image acquisition unit that acquires an original image in which an ellipsoid is captured; and an image processing unit that performs image processing on the original image; The image processing mechanism performs the image processing described above. In the invention thus constituted, by performing the image processing described above, it is possible to easily and efficiently distinguish the image of the ellipsoid and the image of the foreign matter contained in the original image.
根據本發明,藉由將對應於原圖像中檢測出之橢球體狀目標物尺寸之構造要素應用於形態學處理,可有效率地進行橢球體與異物之區別。 According to the present invention, the ellipsoid and the foreign matter can be efficiently distinguished by applying the structural element corresponding to the size of the ellipsoidal object detected in the original image to the morphological processing.
1‧‧‧攝像單元(圖像取得機構) 1‧‧‧ Camera unit (image acquisition unit)
2‧‧‧圖像處理單元(圖像處理機構) 2‧‧‧Image processing unit (image processing unit)
11‧‧‧支架(保持部) 11‧‧‧ bracket (holding section)
12‧‧‧照明部 12‧‧‧Lighting Department
13‧‧‧攝像部 13‧‧‧Photography Department
14‧‧‧控制部 14‧‧‧Control Department
20‧‧‧控制部 20‧‧‧Control Department
21‧‧‧輸入部 21‧‧‧ Input Department
22‧‧‧顯示部 22‧‧‧ Display Department
130‧‧‧攝像光學系 130‧‧‧Photographic Optics
131‧‧‧物鏡 131‧‧‧ Objective lens
132‧‧‧開口光圈 132‧‧‧Open aperture
133‧‧‧成像透鏡 133‧‧‧ imaging lens
134‧‧‧攝像器件 134‧‧‧ camera device
141‧‧‧機械驅動部 141‧‧‧Mechanical drive department
142‧‧‧AD轉換器 142‧‧‧AD converter
143‧‧‧介面 143‧‧" interface
201‧‧‧CPU 201‧‧‧CPU
202‧‧‧圖形處理器(圖像處理機構) 202‧‧‧Graphic processor (image processing mechanism)
203‧‧‧圖像記憶體 203‧‧‧Image memory
204‧‧‧記憶體 204‧‧‧ memory
205‧‧‧介面 205‧‧‧ interface
1341‧‧‧受光元件 1341‧‧‧Light-receiving components
C1‧‧‧近似圓 C1‧‧‧ approximate circle
C2‧‧‧近似圓 C2‧‧‧ approximate circle
C3‧‧‧最小包含圓 C3‧‧‧Minimum inclusion circle
C4‧‧‧近似圓 C4‧‧‧ approximate circle
C5‧‧‧近似圓 C5‧‧‧ approximate circle
De‧‧‧直徑 De‧‧‧diameter
D3‧‧‧直徑 D3‧‧‧diameter
Li‧‧‧照明光 Li‧‧‧Lights
OA‧‧‧光軸 OA‧‧‧ optical axis
OB‧‧‧目標物 OB‧‧‧ target
Ra‧‧‧橢球體區域 Ra‧‧‧ ellipsoid area
Rb‧‧‧異物區域 Rb‧‧‧ foreign object area
Rc‧‧‧區域 Rc‧‧‧ area
Rd‧‧‧區域 Rd‧‧‧Area
W‧‧‧孔井 W‧‧‧ Kong Well
WP‧‧‧孔板 WP‧‧‧ Orifice
S101~S110‧‧‧步驟 S101~S110‧‧‧Steps
S201~S208‧‧‧步驟 S201~S208‧‧‧Steps
圖1係顯示本發明之圖像處理裝置之概略構成之側視圖。 Fig. 1 is a side view showing a schematic configuration of an image processing apparatus of the present invention.
圖2A至圖2C係顯示本實施形態之區域分離處理之原理之圖。 2A to 2C are views showing the principle of the area separation processing of the present embodiment.
圖3係顯示本實施形態之圖像處理之流程圖。 Fig. 3 is a flow chart showing the image processing of this embodiment.
圖4係顯示區域分離處理之流程圖。 Fig. 4 is a flow chart showing the area separation processing.
圖5A至圖5D係示意性顯示區域分離處理之圖像處理過程之圖。 5A to 5D are diagrams schematically showing an image processing procedure of the area separation processing.
圖1係顯示本發明之圖像處理裝置之概略構成之側視圖。該圖像處理裝置包含:攝像單元1,其拍攝注入於形成於孔板WP上表面之被稱為孔井W之窪部的液體中之試料;與圖像處理單元2,其對拍攝之圖像實施圖像處理。 Fig. 1 is a side view showing a schematic configuration of an image processing apparatus of the present invention. The image processing apparatus includes: an image pickup unit 1 that captures a sample injected into a liquid called a hole portion of the hole W formed on the upper surface of the orifice plate WP; and the image processing unit 2, which is photographed Like implementing image processing.
孔板WP係普遍使用於藥物開發或生物科學領域中者,於平板狀 之板之上表面,設置有複數個剖面形成為大致圓形之筒狀且底面為透明、平坦或圓底之孔井W。1個孔板WP中之孔井W之數量為任意,但例如可使用96個(12×8之矩陣排列)者。各孔井W之直徑及深度代表性而言為數mm左右。另,該攝像單元1作為對象之孔板之尺寸或孔井之數量並非限定於該等者而為任意,例如可為384個孔者。 Orifice WP is commonly used in the field of drug development or biological science, in the form of flat The upper surface of the plate is provided with a plurality of wells W having a substantially circular cross section and a transparent, flat or round bottom. The number of the wells W in one orifice plate WP is arbitrary, but for example, 96 (a matrix arrangement of 12 × 8) can be used. The diameter and depth of each well W are typically about several mm. Further, the size of the orifice plate or the number of the wells to be used as the object of the image pickup unit 1 is not limited to those of the above, and may be, for example, 384 holes.
於孔板WP之各孔井W,注入有特定量之作為培養液之液體,並將該液體中以特定之培養條件培養之細胞或細菌等設為該攝像單元1之拍攝對象。培養液可為添加有適當之試劑者,或亦可為以液狀投入於孔井W後凝膠化者。 Each of the wells W of the orifice plate WP is filled with a specific amount of a liquid as a culture liquid, and cells or bacteria cultured in the liquid under specific culture conditions are set as the subject of the imaging unit 1. The culture solution may be one in which an appropriate reagent is added, or may be gelled after being injected into the well W in a liquid state.
攝像單元1包含:支架11、照明部12、攝像部13、及控制部14。支架11抵接於將試料與液體一起承載於各孔井W之孔板WP之下表面周緣部,且大致水平姿勢地保持孔板WP。照明部12配置於支架11之上方,另一方面,攝像部13配置於支架11之下方。控制部14具有控制該等各部的動作之功能。 The imaging unit 1 includes a holder 11 , an illumination unit 12 , an imaging unit 13 , and a control unit 14 . The holder 11 abuts on the peripheral portion of the lower surface of the orifice plate WP of the well W with the sample and the liquid, and holds the orifice WP in a substantially horizontal posture. The illuminating unit 12 is disposed above the bracket 11 , and the imaging unit 13 is disposed below the bracket 11 . The control unit 14 has a function of controlling the operations of the respective units.
照明部12朝向藉由支架11保持之孔板WP出射照明光Li。作為照明光Li例如可使用白色光。藉由照明部12,自上方照明設置於孔板WP之孔井W內之試料。 The illumination unit 12 emits the illumination light Li toward the aperture plate WP held by the holder 11. As the illumination light Li, for example, white light can be used. The sample placed in the well W of the orifice plate WP is illuminated from above by the illumination unit 12.
於藉由支架11保持之孔板WP之下方,設置有攝像部13。於攝像部13中,於孔板WP之正下方位置配置有物鏡131。物鏡131之光軸OA朝向鉛直方向,沿著物鏡131之光軸OA按照由上朝下之順序,進而設置有開口光圈132、成像透鏡133及攝像器件134。物鏡131、開口光圈132及成像透鏡133以各者之中心沿著鉛直方向排成一行之方式配置,且該等作為一體構成攝像光學系130。另,於該例中構成攝像部13之各部於鉛直方向排成一行,但亦可藉由反射鏡等回折光路。 An imaging unit 13 is provided below the orifice plate WP held by the holder 11. In the imaging unit 13, an objective lens 131 is disposed at a position directly below the orifice plate WP. The optical axis OA of the objective lens 131 is oriented in the vertical direction, and the aperture stop 132, the imaging lens 133, and the imaging device 134 are further provided in the order from the top to the bottom along the optical axis OA of the objective lens 131. The objective lens 131, the aperture stop 132, and the imaging lens 133 are arranged such that the centers of the respective ones are arranged in a line in the vertical direction, and these constitute the imaging optical system 130 as a whole. Further, in this example, the respective portions constituting the imaging unit 13 are arranged in a row in the vertical direction, but the optical path may be folded back by a mirror or the like.
攝像部13可藉由設置於控制部14之機械驅動部141移動。具體而言,藉由機械驅動部141使構成攝像部13之物鏡131、開口光圈132、 成像透鏡133及攝像器件134一體於水平方向移動,而使攝像部13相對於孔井W於水平方向移動。於拍攝1個孔井W內之拍攝對象物時,機械驅動部141以攝像光學系130之光軸與該孔井W之中心一致之方式,將攝像部13定位於水平方向。 The imaging unit 13 can be moved by the mechanical drive unit 141 provided in the control unit 14. Specifically, the objective lens 131, the aperture stop 132, and the aperture stop 132 that constitute the imaging unit 13 are driven by the mechanical drive unit 141. The imaging lens 133 and the imaging device 134 are integrally moved in the horizontal direction, and the imaging unit 13 is moved in the horizontal direction with respect to the well W. When the object to be photographed in one of the wells W is imaged, the mechanical drive unit 141 positions the imaging unit 13 in the horizontal direction such that the optical axis of the imaging optical system 130 coincides with the center of the well W.
又,藉由機械驅動部141使攝像部13於鉛直方向移動,進行攝像部之對拍攝對象物之對焦。具體而言,以物鏡131之焦點對準拍攝對象物即試料所在之孔井W之內底面之方式,由機械驅動部141使物鏡131、開口光圈132、成像透鏡133及攝像器件134一體地上下移動。 Moreover, the image pickup unit 13 is moved in the vertical direction by the mechanical drive unit 141, and the image pickup unit focuses on the object to be imaged. Specifically, the objective lens 131, the aperture stop 132, the imaging lens 133, and the imaging device 134 are integrally moved up and down by the mechanical drive unit 141 so that the focus of the objective lens 131 is on the inner surface of the well W in which the sample is the sample. mobile.
又,機械驅動部141於使攝像部13於水平方向移動時,使照明部12與攝像部13一體於水平方向移動。即,照明部12以其光中心與攝像光學系130之光軸OA大致一致之方式配置,且於包含物鏡131之攝像部13於水平方向移動時,與其連動而於水平方向移動。藉此,於拍攝任意孔井W之情形時照明條件皆為一定,而使拍攝條件維持良好。 Further, when the imaging unit 13 is moved in the horizontal direction, the mechanical drive unit 141 moves the illumination unit 12 and the imaging unit 13 integrally in the horizontal direction. In other words, the illumination unit 12 is disposed such that its optical center substantially coincides with the optical axis OA of the imaging optical system 130, and moves in the horizontal direction in conjunction with the imaging unit 13 including the objective lens 131 in the horizontal direction. Thereby, the illumination conditions are all constant when shooting any well W, and the shooting conditions are maintained well.
藉由攝像部13,拍攝孔井W內之試料。具體而言,自照明部12出射並自孔井W上方入射於液體之光照明拍攝對象物。接著,自孔井W底面向下方透過之光藉由物鏡131聚光,並經由開口光圈132、成像透鏡133,最終於攝像器件134之受光面讓拍攝對象物之圖像成像,其藉由攝像器件134之受光元件1341受光。受光元件1341係一維圖像感測器,將成像於其表面之拍攝對象物之一維圖像轉換為電性信號。作為受光元件1341,例如可使用CCD感測器。 The sample in the well W is taken by the imaging unit 13. Specifically, the object that is emitted from the illumination unit 12 and is incident on the liquid from above the well W illuminates the object. Then, the light transmitted downward from the bottom surface of the well W is condensed by the objective lens 131, and finally passes through the aperture stop 132 and the imaging lens 133, and finally the image of the object is imaged on the light receiving surface of the imaging device 134 by imaging. The light receiving element 1341 of the device 134 is received by light. The light receiving element 1341 is a one-dimensional image sensor that converts one-dimensional image of a subject imaged on the surface thereof into an electrical signal. As the light receiving element 1341, for example, a CCD sensor can be used.
自受光元件1341輸出之圖像信號發送至控制部14。即,圖像信號被輸入至設置於控制部14之AD轉換器(A/D)142並轉換為數位圖像資料。如此獲得之數位圖像資料經由介面(I/F)143向外部輸出。 The image signal output from the light receiving element 1341 is sent to the control unit 14. That is, the image signal is input to the AD converter (A/D) 142 provided in the control unit 14 and converted into digital image data. The digital image data thus obtained is output to the outside via the interface (I/F) 143.
圖像處理單元2具備控制部20,其具有控制裝置各部動作之CPU201。又,控制部20具有:圖形處理器(GP)202,其負責圖像處理;圖像記憶體203,其用於記憶保存圖像資料;及記憶體204,其用 於記憶保存CPU201及GP202應執行之程式或由該等產生之資料。另,CPU201亦可兼具圖形處理器202之功能。又,圖像記憶體203與記憶體204亦可為一體者。 The image processing unit 2 includes a control unit 20 having a CPU 201 that controls the operation of each unit of the apparatus. Moreover, the control unit 20 has a graphics processor (GP) 202 that is responsible for image processing, an image memory 203 for storing and storing image data, and a memory 204 for use. The program to be executed by the CPU 201 and the GP 202 or the data generated by the data is stored in memory. In addition, the CPU 201 can also function as the graphics processor 202. Further, the image memory 203 and the memory 204 may be integrated.
此外,於控制部20,設置有介面(I/F)205。介面205負責與使用者及外部裝置進行資訊交換。具體而言,介面205與攝像單元1之介面143藉由通信線路連接,將CPU201用於控制攝像單元1之控制指令發送至攝像單元1。又,接收自攝像單元1之AD轉換器142輸出之圖像資料。 Further, an interface (I/F) 205 is provided in the control unit 20. The interface 205 is responsible for information exchange with the user and external devices. Specifically, the interface 205 and the interface 143 of the imaging unit 1 are connected by a communication line, and the control command for controlling the imaging unit 1 by the CPU 201 is transmitted to the imaging unit 1. Further, the image data output from the AD converter 142 of the image pickup unit 1 is received.
又,於介面205,例如連接有操作按鈕、滑鼠、鍵盤或平板等輸入裝置、或組合該等而成之輸入部21。藉由輸入部21受理之來自使用者之操作輸入係經由介面205被傳遞至CPU201。再者,於介面205,例如連接有具有液晶顯示器等顯示裝置之顯示部22。顯示部22顯示對應於自CPU201經由介面205所賦予之圖像信號之圖像,並向使用者進行處理結果等資訊提示。 Further, for the interface 205, for example, an input device such as an operation button, a mouse, a keyboard, or a tablet, or an input unit 21 in which these are combined is connected. The operation input from the user accepted by the input unit 21 is transmitted to the CPU 201 via the interface 205. Further, for example, the display unit 22 having a display device such as a liquid crystal display is connected to the interface 205. The display unit 22 displays an image corresponding to the image signal given from the CPU 201 via the interface 205, and presents a message such as a processing result to the user.
另,具有上述構成之圖像處理單元2與一般個人電腦之構成大致相同。即,作為該圖像處理裝置之圖像處理單元2,可使用泛用之電腦裝置。 Further, the image processing unit 2 having the above configuration is substantially the same as the configuration of a general personal computer. That is, as the image processing unit 2 of the image processing apparatus, a general-purpose computer device can be used.
接著,對如此構成之圖像處理裝置之動作進行說明。於該圖像處理裝置中,能進行於孔板WP之各孔井W內培養之細胞、細菌、細胞簇(橢球體)等之拍攝,而可將拍攝到之圖像供於各種觀察、解析。此處,考慮將該圖像處理裝置應用於拍攝注入於孔井W之培養液中培養之橢球體之用途。 Next, the operation of the image processing apparatus configured as above will be described. In the image processing apparatus, it is possible to perform imaging of cells, bacteria, cell clusters (ellipsoids) cultured in the wells W of the well plate WP, and to provide images for various observations and analysis. . Here, the use of the image processing apparatus for photographing an ellipsoid cultured in a culture solution injected into a well W is considered.
培養液中橢球體大致呈球形,於拍攝到之二維圖像中橢球體呈大致圓形之像。於孔井W內存在複數個橢球體之情形時,各者皆為大致圓形之圖像,但其形狀及大小未必相同。又,於拍攝到之圖像中,除了上述橢球體之圖像以外,有可能映入因混入於培養液或附著於表 面之纖維狀雜質或塵埃、孔井W底面之損傷或髒污等異物所致之條狀圖像。 The ellipsoid in the culture solution is substantially spherical, and the ellipsoid is a substantially circular image in the captured two-dimensional image. In the case where there are a plurality of ellipsoids in the well W, each of them is a substantially circular image, but the shape and size thereof are not necessarily the same. In addition, in the captured image, in addition to the image of the ellipsoid, it may be reflected in the culture solution or attached to the table. A strip image of foreign matter such as fibrous impurities or dust on the surface, damage to the bottom surface of the well W, or dirt.
由於橢球體圖像與異物之像之形狀特徵大不相同,故認為該等之判別相對容易。然而,於兩者重疊成為一體之狀態進行拍攝時,要區別2個區域並不容易。以下,對可實現其之本實施形態之圖像處理方法進行說明。 Since the shape characteristics of the ellipsoid image and the image of the foreign object are greatly different, it is considered that the discrimination is relatively easy. However, when shooting in a state where the two are overlapped, it is not easy to distinguish two areas. Hereinafter, an image processing method capable of realizing the present embodiment will be described.
圖2A至圖2C係顯示本實施形態之區域分離處理之原理之圖。該區域分離處理係用以將圖像中橢球體之像與異物之像成為一體之目標物分離為橢球體區域與異物區域之處理。圖2A係顯示橢球體與異物重疊之像之一例之模式圖。橢球體與異物重疊而拍攝之圖像目標物OB包含:橢球體區域Ra,其對應於橢球體且具有接近圓形之形狀;與異物區域Rb,其對應於與橢球體區域Ra相連之條狀異物。另,如同圖所示,亦有對1個橢球體區域Ra連著複數個異物區域Rb之情形。另,於此處所示之模式圖中橢球體區域Ra與異物區域Rb之差較明顯,但於實際之像中目標物OB中的橢球體區域Ra與異物區域Rb之邊界難以自圖像內容判斷。 2A to 2C are views showing the principle of the area separation processing of the present embodiment. This area separation processing is a process for separating an object in which an image of an ellipsoid in an image and an image of a foreign object are integrated into an ellipsoid region and a foreign matter region. Fig. 2A is a schematic view showing an example of an image in which an ellipsoid and a foreign object overlap. The image object OB captured by the ellipsoid and the foreign matter includes: an ellipsoid region Ra corresponding to the ellipsoid and having a shape close to a circle; and a foreign matter region Rb corresponding to the strip connected to the ellipsoid region Ra foreign matter. Further, as shown in the figure, there is a case where a plurality of foreign matter regions Rb are connected to one ellipsoid region Ra. In addition, in the pattern diagram shown here, the difference between the ellipsoidal region Ra and the foreign matter region Rb is obvious, but in the actual image, the boundary between the ellipsoid region Ra and the foreign matter region Rb in the target object OB is difficult to self-image content. Judge.
作為自此種圖像目標物OB分離橢球體區域Ra與異物區域Rb之方法,考慮應用圖像之形態學處理。即,如圖2B所示,藉由將具有特定直徑De之圓C1作為構造要素之侵蝕處理,圖像目標物收縮。藉此,自圖像消去具有相對細長形狀之異物區域Rb,剩下消去橢球體區域Ra之周緣部而成之區域Rc。接著,如圖2C所示,進行將具有與侵蝕處理之情形相同直徑De之圓C2作為構造要素之膨脹處理,獲得使區域Rc膨脹之區域Rd。該區域Rd可視為自原始圖像目標物OB去除異物區域Rb者,成為具有大致與橢球體區域Ra相同形狀者。 As a method of separating the ellipsoid region Ra and the foreign matter region Rb from such an image object OB, a morphological process of applying an image is considered. That is, as shown in FIG. 2B, the image object is shrunk by the etching process of the circle C1 having the specific diameter De as a structural element. Thereby, the foreign matter region Rb having a relatively elongated shape is erased from the image, and the region Rc in which the peripheral portion of the ellipsoid region Ra is eliminated is left. Next, as shown in FIG. 2C, an expansion process is performed in which a circle C2 having the same diameter De as that in the case of the etching treatment is used as a structural element, and a region Rd in which the region Rc is expanded is obtained. This region Rd can be regarded as a person having the same shape as the ellipsoid region Ra, except that the foreign matter region Rb is removed from the original image target OB.
由於關於圖像之形態學處理係公知故省略詳細說明。然而,為了使此種形態學處理有效地發揮功能,必須適當地設定成為構造要素 之圓C1、C2之尺寸(具體而言係直徑De)。即,構造要素之直徑De若過小,會導致異物區域Rb未被充分消去而仍殘留。又,構造要素之直徑De若過大,會導致橢球體區域Ra之形狀再現性不佳,且有於侵蝕處理中消去較小之橢球體區域Ra之虞。 Since the morphological processing on the image is known, detailed description is omitted. However, in order for this morphological processing to function effectively, it must be appropriately set as a structural element. The dimensions of the circles C1, C2 (specifically, the diameter De). That is, if the diameter De of the structural element is too small, the foreign matter region Rb is not sufficiently removed and remains. Further, if the diameter De of the structural element is too large, the shape reproducibility of the ellipsoid region Ra is poor, and the smaller ellipsoid region Ra is eliminated in the etching treatment.
於以往之技術中,為了解決如上述之問題並使形態學處理有效地發揮功能,只能以熟練者之主觀判斷確定構造要素之尺寸、或多階段地變更尺寸、試行處理以找出最佳尺寸。然而,此種作業需要大量之勞力,且無法避免處理結果之偏差。尤其於應處理之圖像目標物有複數個之情形時,藉由此種人工作業之因應方式並不實際。 In the prior art, in order to solve the above problems and to effectively function the morphological processing, the size of the structural elements can be determined by the subjective judgment of the skilled person, or the size can be changed in multiple stages, and the trial processing can be performed to find the best. size. However, such operations require a lot of labor and there is no way to avoid deviations in processing results. Especially in the case where there are a plurality of image objects to be processed, the manner in which such manual operations are performed is not practical.
鑑於該問題,本申請案發明者使用形成橢球體之各種細胞進行實驗,獲得以下之見解。即,對於具有橢球體區域Ra及隨附於其之異物區域Rb之圖像目標物,藉由應用使用自橢球體區域Ra之尺寸基於特定之規則算出之尺寸之構造要素的形態學處理,可良好地區別橢球體區域Ra與異物區域Rb。 In view of this problem, the inventors of the present application conducted experiments using various cells forming an ellipsoid, and obtained the following findings. In other words, for the image object having the ellipsoid region Ra and the foreign matter region Rb attached thereto, the morphological processing of the structural element having the size calculated based on the specific rule using the size of the ellipsoid region Ra can be applied. The ellipsoid region Ra and the foreign matter region Rb are well distinguished.
更具體而言,例如將橢球體區域Ra視為圓形時,將具有該圓的直徑(1/4)以上(1/3)以下之直徑之圓作為構造要素,依序進行侵蝕處理及膨脹處理。藉此,可實現橢球體區域Ra之形狀再現性良好、且抑制異物區域Rb殘留而有效地將其消去。以下,對基於此種見解區別橢球體區域與異物區域之本實施形態之圖像處理,參照圖3、圖4、圖5A至圖5D具體地進行說明。 More specifically, for example, when the ellipsoidal region Ra is regarded as a circular shape, a circle having a diameter (1/4) or more (1/3) or less of the diameter of the circle is used as a structural element, and etching treatment and expansion are sequentially performed. deal with. Thereby, the shape reproducibility of the ellipsoid region Ra can be improved, and the foreign matter region Rb can be suppressed from remaining and effectively removed. Hereinafter, the image processing of the present embodiment in which the ellipsoid region and the foreign matter region are distinguished based on such a viewpoint will be specifically described with reference to FIGS. 3, 4, and 5A to 5D.
圖3係顯示本實施形態之圖像處理之流程圖。又,圖4係顯示區域分離處理之流程圖。再者,圖5A至圖5D係示意性顯示該處理中之圖像處理過程之圖。該處理藉由CPU201執行預先記憶於記憶體204之控制程式來控制裝置各部而實現。其中針對圖像之各種處理係藉由圖形處理器202執行,但至少一部分亦可藉由CPU201執行。 Fig. 3 is a flow chart showing the image processing of this embodiment. Further, Fig. 4 is a flow chart showing the area separation processing. Furthermore, FIGS. 5A to 5D are diagrams schematically showing an image processing procedure in the processing. This processing is realized by the CPU 201 executing a control program previously stored in the memory 204 to control each part of the apparatus. The various processes for the image are performed by the graphics processor 202, but at least a portion of it can also be executed by the CPU 201.
首先,將作為拍攝對象物之橢球體與培養液一起承載於孔井W之 孔板WP被搬入攝像單元1,並固定於支架11(步驟S101)。接著,相對於成為拍攝對象之孔井W定位攝像光學系13,藉由攝像器件134進行拍攝(步驟S102)。藉此,取得包含橢球體之原圖像。 First, the ellipsoid as the object to be photographed is carried on the well W together with the culture solution. The orifice plate WP is carried into the image pickup unit 1 and fixed to the holder 11 (step S101). Then, the imaging optical system 13 is positioned with respect to the hole W to be imaged, and imaging is performed by the imaging device 134 (step S102). Thereby, the original image including the ellipsoid is obtained.
對如此獲得之原圖像,圖形處理器202進行特定之圖像處理,檢測包含於原圖像中之圖像目標物之區域(步驟S103)。原圖像中目標物之擷取可應用公知之技術。例如,可應用將原圖像以適當之閾值2值化而區分背景區域與目標物區域之方法。 The image processor 202 performs specific image processing on the original image thus obtained, and detects an area of the image object included in the original image (step S103). The extraction of the target in the original image can be applied to a known technique. For example, a method of distinguishing a background area from a target area by applying an original image to an appropriate threshold value may be applied.
圖形處理器202進而自檢測出之圖像目標物,擷取包含對應於橢球體區域之橢球體狀目標物(步驟S104)。於步驟S103中檢測出之圖像目標物可包含:僅包含橢球體者、包含橢球體以外之異物者、及橢球體與異物重疊者。於其等中,將包含橢球體之目標物、即僅包含橢球體之目標物、及橢球體與異物重疊之目標物作為橢球體狀目標物擷取。 The graphics processor 202 further extracts the image object from which the ellipsoidal object corresponding to the ellipsoid region is extracted (step S104). The image object detected in step S103 may include a person including only an ellipsoid, a foreign object including an ellipsoid, and an ellipsoid and a foreign object overlapping. In the above, an object including an ellipsoid, that is, an object including only an ellipsoid, and an object in which an ellipsoid and a foreign object are overlapped are taken as an ellipsoidal object.
作為擷取包含橢球體區域Ra之橢球體狀目標物之方法,考慮各種可檢測包含橢球體特有之圓形區域之圖像目標物者。例如,可將圓形度為特定值以上者設為橢球體狀目標物。又,可將具有比預先決定之特定尺寸之圓更大區域之目標物設為橢球體狀目標物。又,由於異物區域一般較細長其面積相對較小,故可將面積為特定值以上之目標物設為橢球體狀目標物。又,與其相反,亦可設定用以找出僅包含異物之目標物之條件,而將與條件不一致之目標物視為橢球體狀目標物。 As a method of extracting an ellipsoidal object including the ellipsoid region Ra, various image objects capable of detecting a circular region unique to the ellipsoid are considered. For example, an object having a circularity of a specific value or more can be set as an ellipsoidal object. Further, an object having a larger area than a circle having a predetermined specific size may be an ellipsoidal object. Further, since the foreign matter region is generally relatively small and the area thereof is relatively small, the target having an area of a specific value or more can be an ellipsoidal target. On the contrary, it is also possible to set a condition for finding a target object containing only foreign matter, and to treat an object that does not conform to the condition as an ellipsoidal object.
自如此擷取之橢球體狀目標物中選擇一個(步驟S105),特定該目標物之最小包含圓(步驟S106)。接著,若最小包含圓的面積相對於該目標物的面積之面積比為大於1之特定之閾值以上(步驟S107中是),則該目標物成為步驟S108之區域分離處理對象。若面積比小於閾值(步驟S107中否),則跳過步驟S108。其理由在於:將不包含異物區域 之目標物自區域分離處理之對象除外,並保存其圖像資訊。再者,亦有助於縮短處理時間。 One of the ellipsoidal objects thus extracted is selected (step S105), and the smallest inclusion circle of the target is specified (step S106). Next, when the area ratio of the area including the smallest circle to the area of the target is greater than or equal to a specific threshold value of 1 (YES in step S107), the target becomes the area separation processing target of step S108. If the area ratio is smaller than the threshold (NO in step S107), step S108 is skipped. The reason is that it will not contain foreign matter areas. The target object is excluded from the object of the regional separation process, and its image information is saved. Furthermore, it also helps to shorten the processing time.
將目標物與最小包含圓之關係顯示於圖5A。所謂目標物OB之最小包含圓係於內部包含該目標物OB整體之圓中直徑最小之圓C3。如同圖所示,當異物區域Rb自橢球體區域Ra較長地延伸時,最小包含圓C3之直徑D3比橢球體區域Ra之直徑格外增大,最小包含圓C3變為包含較多目標物OB以外之背景區域。因此,相對於目標物OB之面積,最小包含圓C3之面積增大。 The relationship between the target and the minimum inclusion circle is shown in Fig. 5A. The minimum inclusion circle of the target object OB is a circle C3 having the smallest diameter among the circles including the entire object OB. As shown in the figure, when the foreign matter region Rb extends longer from the ellipsoid region Ra, the diameter D3 of the smallest containing circle C3 is increased more than the diameter of the ellipsoid region Ra, and the minimum containing circle C3 becomes more targets OB. Outside the background area. Therefore, the area of the minimum containing circle C3 is increased with respect to the area of the object OB.
另一方面,當目標物OB不包含異物區域Rb而僅包含橢球體區域Ra時,最小包含圓C3之尺寸與橢球體區域Ra之尺寸無多大差別,面積比接近1。可認為面積比小於1於原理上係不可能。如此,若目標物OB與最小包含圓C3之面積比接近1,則可判斷為目標物OB不包含異物區域Rb,又,若最小包含圓C3之面積充分大於目標物OB之面積,則可判斷為目標物OB包含異物區域Rb。因此,對兩者之面積比設定大於1之適當之閾值(例如1.1),將面積比為該閾值以上之目標物OB設為區域分離處理之對象。另,於該實施形態中當面積比與閾值相等時亦將該目標物設為處理對象,但是否將此種目標物設為處理對象係任意。 On the other hand, when the target object OB does not include the foreign matter region Rb and only the ellipsoid region Ra is included, the size of the minimum inclusion circle C3 is not much different from the size of the ellipsoid region Ra, and the area ratio is close to 1. It can be considered that the area ratio is less than 1 in principle. As described above, if the area ratio of the target object OB to the minimum inclusion circle C3 is close to 1, it can be determined that the target object OB does not include the foreign matter region Rb, and if the area including the minimum inclusion circle C3 is sufficiently larger than the area of the target object OB, it can be judged. The foreign matter region Rb is included for the target object OB. Therefore, an appropriate threshold value (for example, 1.1) larger than 1 is set for the area ratio of the two, and the target object OB having the area ratio of the threshold or more is set as the object of the area separation processing. Further, in the embodiment, when the area ratio is equal to the threshold value, the target object is also treated, but whether or not such an object is set as the processing target is arbitrary.
於最小包含圓C3相對於目標物OB之面積比大於閾值時,對該目標物執行圖4所示之區域分離處理(步驟S108)。首先,對該目標物,特定近似橢球體區域之近似圓(步驟S201)。該近似圓係將包含於目標物OB之橢球體區域Ra根據圓而近似化者,且係認為具有與橢球體區域Ra相同尺寸之圓。 When the area ratio of the minimum inclusion circle C3 to the target object OB is larger than the threshold value, the area separation processing shown in FIG. 4 is performed on the target object (step S108). First, an approximate circle of the approximate ellipsoid region is specified for the target (step S201). The approximate circle system is similar to the circle in which the ellipsoid region Ra of the object OB is approximated by a circle, and is considered to have a circle having the same size as the ellipsoid region Ra.
圖5B係顯示近似圓之例。將目標物OB中橢球體區域Ra設為接近於圓之形狀,作為使其近似於相同尺寸之圓之方法,例如有如圖中以虛線所示之圓C4,使用不超出目標物OB且落在其輪廓內之圓中具有 最大直徑之圓(此處,稱為「最大內包圓」)之方法。又,例如,亦可如圖中所示之圓C5,將具有與包含橢球體區域Ra及異物區域Rb之目標物OB之面積相同面積之圓(此處,稱為「面積相當圓)設為近似圓。 Fig. 5B shows an example of an approximate circle. The ellipsoidal region Ra in the target object OB is set to be close to the shape of a circle, and as a method of making it approximate to a circle of the same size, for example, there is a circle C4 indicated by a broken line in the figure, and the use does not exceed the target object OB and falls on Having a circle inside its outline The method of the largest diameter circle (herein referred to as the "maximum inner circle"). Further, for example, a circle having the same area as the area of the object OB including the ellipsoid region Ra and the foreign matter region Rb (herein referred to as "area equivalent circle") may be set as the circle C5 shown in the figure. Approximate circle.
基於如此求得之近似圓(最大內包圓或面積相當圓),決定形態學處理之構造要素即圓之直徑(步驟S202)。如上述般,可知於該情形之形態學處理中,將具有橢球區域Ra直徑之(1/6)以上(1/2)以下,更佳為(1/4)以上(1/3)以下之直徑之圓作為構造要素時可獲得良好之結果。然而,由於於該時點仍未區分橢球體區域Ra與異物區域Rb,故無法明確地特定橢球體區域Ra之尺寸。因此,上述近似圓之直徑可視為橢球體區域Ra之直徑。即,作為構造要素之圓之直徑定為近似圓直徑之(1/6)以上(1/2)以下之範圍。此處,設定為近似圓直徑之(1/4)以上(1/3)以下之值。 Based on the approximate circle thus obtained (the maximum inner circle or the area is equivalent), the diameter of the circle which is the structural element of the morphological processing is determined (step S202). As described above, it is understood that the morphological treatment in this case has (1/6) or more (1/2) or less, more preferably (1/4) or more (1/3) or less of the diameter of the ellipsoidal region Ra. A good result is obtained when the diameter of the circle is used as a structural element. However, since the ellipsoid region Ra and the foreign matter region Rb are not distinguished at this point of time, the size of the ellipsoid region Ra cannot be specifically specified. Therefore, the diameter of the above approximate circle can be regarded as the diameter of the ellipsoidal region Ra. In other words, the diameter of the circle as the structural element is set to be approximately (1/6) or more (1/2) or less of the circle diameter. Here, it is set to a value equal to or less than (1/4) (1/3) of the circle diameter.
若作為構造要素之圓之直徑增大,則異物之去除效果提高。另一方面,若作為構造要素之圓之直徑減小,則橢球體區域之形狀再現性提高。可根據橢球體及異物之尺寸、處理目的等,適當地設定構造要素之尺寸。於任一者之情形,皆可根據橢球體區域之尺寸設定構造要素之尺寸,藉此可防止較小之橢球體因侵蝕處理被消去。另,於近似圓比橢球體區域Ra增大之情形時為了避免因侵蝕處理導致橢球體區域消失,亦期望作為構造要素之圓之直徑小於近似圓直徑之(1/2)。 When the diameter of the circle as the structural element is increased, the removal effect of the foreign matter is improved. On the other hand, if the diameter of the circle as the structural element is reduced, the shape reproducibility of the ellipsoidal region is improved. The size of the structural element can be appropriately set according to the size of the ellipsoid and the foreign matter, the purpose of the treatment, and the like. In either case, the dimensions of the structural elements can be set according to the size of the ellipsoidal region, thereby preventing the smaller ellipsoids from being erased by the erosion treatment. Further, in the case where the approximate circle is larger than the ellipsoidal region Ra, in order to avoid the disappearance of the ellipsoid region due to the etching treatment, it is also desirable that the diameter of the circle as the structural element is smaller than the approximate circle diameter (1/2).
使用如此設定之構造要素依序進行侵蝕處理及膨脹處理(步驟S203、S204)。藉此,如圖2C所示,相當於橢球體區域Ra之區域Rd再現於圖像,另一方面,異物區域Rb自圖像消去。自圖像消去異物區域Rb之目的係於該時點達成。又,自目標物OB僅擷取橢球體區域Ra之目的亦於該時點達成。 The erosion processing and the expansion processing are sequentially performed using the structural elements thus set (steps S203 and S204). Thereby, as shown in FIG. 2C, the region Rd corresponding to the ellipsoid region Ra is reproduced on the image, and on the other hand, the foreign matter region Rb is erased from the image. The purpose of erasing the foreign matter region Rb from the image is achieved at this point in time. Moreover, the purpose of extracting only the ellipsoidal region Ra from the target OB is also achieved at this point in time.
再者,於該實施形態之區域分離處理中,目標在於保留橢球體區域Ra及異物區域Rb兩者之圖像資訊,且明確地區別該等之區域。 即,將截至步驟S204之處理中特定之橢球體區域Ra擴大適當之尺寸,例如僅1像素量(步驟S205),並自原圖像減去該結果(步驟S206)。另,擴大之像素數例如可為2像素。 Further, in the area separation processing of this embodiment, it is intended to retain image information of both the ellipsoid region Ra and the foreign matter region Rb, and to clearly distinguish the regions. That is, the ellipsoid region Ra specified in the process up to step S204 is expanded to an appropriate size, for example, only one pixel amount (step S205), and the result is subtracted from the original image (step S206). Further, the number of enlarged pixels may be, for example, 2 pixels.
藉由自原圖像之目標物OB減去橢球體區域Ra,如圖5C所示,擷取目標物中橢球體以外之區域、即異物區域Rb。此時,若在橢球體區域Ra擴大後進行減去,如圖5C之箭頭所示,可於橢球體區域Ra與異物區域Rb之間形成僅橢球體區域Ra擴大量之間隙,可於圖像上分離兩者。若僅單純擷取異物區域Rb,則未必需要使橢球體區域Ra擴大。 By subtracting the ellipsoid region Ra from the target OB of the original image, as shown in FIG. 5C, a region other than the ellipsoid in the target, that is, the foreign matter region Rb is extracted. At this time, if the ellipsoidal region Ra is enlarged and then subtracted, as shown by the arrow in FIG. 5C, a gap in which only the ellipsoidal region Ra is enlarged can be formed between the ellipsoidal region Ra and the foreign matter region Rb. Separate the two. If only the foreign matter region Rb is simply taken, it is not always necessary to enlarge the ellipsoid region Ra.
再者,藉由對擷取到異物區域Rb之圖像,加法合成藉由膨脹處理(步驟S204)擷取之橢球體區域Ra之圖像,如圖5D所示,可獲得同時保存橢球體區域Ra及異物區域Rb之圖像資訊,且兩區域明確地分離之圖像(步驟S207)。該圖像為本處理中欲求得之圖像。 Furthermore, by extracting the image of the foreign object region Rb, the image of the ellipsoid region Ra captured by the expansion process (step S204) is additively synthesized, as shown in FIG. 5D, and the ellipsoid region can be simultaneously saved. The image information of the Ra and foreign matter region Rb, and the two regions are clearly separated images (step S207). This image is the image to be obtained in the process.
將該合成圖像保存於圖像記憶體203(步驟S208)。亦可取代其,或除其以外,將步驟S204之處理中獲得之橢球體區域Ra之圖像(圖2C)及步驟S206之處理中獲得之異物區域Rb之圖像(圖5C)保存於圖像記憶體203。 This composite image is stored in the image memory 203 (step S208). Alternatively or in addition thereto, the image of the ellipsoid region Ra obtained in the process of step S204 (FIG. 2C) and the image of the foreign matter region Rb obtained in the process of step S206 (FIG. 5C) may be stored in the figure. Like memory 203.
返回至圖3接著流程圖之說明。上述處理(步驟S105~S108)針對擷取之橢球體狀目標物全數執行(步驟S109)。作為構造要素使用之圓之直徑係依每個目標物個別地設定。因此,對包含較大橢球體區域之目標物將較大直徑之圓、或對包含較小橢球體區域之目標物將較小直徑之圓作為構造要素應用。因此,較小之橢球體不會因侵蝕處理被消去,可適當地處理各目標物而有效地區別橢球體區域與異物區域。 Returning to Figure 3, the description of the flow chart follows. The above-described processing (steps S105 to S108) is performed for all of the captured ellipsoidal objects (step S109). The diameter of the circle used as the structural element is individually set for each target. Therefore, a circle having a larger diameter is used for a target containing a larger ellipsoid region, or a circle having a smaller diameter is applied as a structural element to an object including a region of a smaller ellipsoid. Therefore, the smaller ellipsoid is not eliminated by the erosion treatment, and the respective objects can be appropriately treated to effectively distinguish the ellipsoid region from the foreign matter region.
關於處理後之圖像,除了保存於圖像記憶體203以外,並經由介面205以適當之形態輸出(步驟S110)。例如,處理後之圖像顯示於顯示部22並對使用者提示。或,經由及介面205輸出至外部裝置或外部 記憶媒體。 The processed image is stored in an appropriate form via the interface 205 except for being stored in the image memory 203 (step S110). For example, the processed image is displayed on the display unit 22 and presented to the user. Or, output to the external device or external via the interface 205 Memory media.
另,藉由執行形態學處理,雖有導致目標物OB內圖像資訊消失之疑慮,但例如以下述方法可加以避免。第1方法係藉由對2值化之原圖像進行上述之形態學處理,作成表示橢球體區域Ra及異物區域Rb範圍之遮罩碼,將該遮罩碼應用於原來之多值原圖像,藉此復原橢球體區域Ra及異物區域Rb之圖像資訊。第2方法係將進行膨脹處理時所要膨脹之區域之像素以原圖像之像素值進行復原。 Further, by performing the morphological processing, there is a fear that the image information in the target object OB disappears, but it can be avoided, for example, by the following method. In the first method, by performing the above-described morphological processing on the binarized original image, a mask code indicating the range of the ellipsoid region Ra and the foreign matter region Rb is created, and the mask code is applied to the original multi-value original image. For example, image information of the ellipsoid region Ra and the foreign matter region Rb is restored. The second method restores the pixel of the region to be inflated when the expansion process is performed, by the pixel value of the original image.
如以上說明,於上述實施形態中,攝像單元1及圖像處理單元2作為一體作為本發明之「圖像處理裝置」發揮功能。攝像單元1作為本發明之「圖像取得機構」發揮功能,支架11及攝像部13分別作為本發明之「保持部」及「攝像部」發揮功能。又,圖像處理單元2、尤其圖形處理器202作為本發明之「圖像處理機構」發揮功能。 As described above, in the above embodiment, the imaging unit 1 and the image processing unit 2 function as an "image processing device" of the present invention as a whole. The imaging unit 1 functions as the "image acquisition means" of the present invention, and the holder 11 and the imaging unit 13 function as the "holding unit" and the "imaging unit" of the present invention, respectively. Further, the image processing unit 2, in particular, the graphics processor 202 functions as an "image processing means" of the present invention.
另,本發明並非限定於上述實施形態者,只要不脫離其主旨,除了上述者以外可進行各種變更。例如,於上述實施形態之區域分離處理中,將橢球體區域Ra近似為圓而決定構造要素之尺寸,但一般而言,較好根據橢圓而將橢球體區域近似化。理由在於:於因橢球體之彎曲、或複數個橢球體於圖像上重疊,導致橢球體區域為偏離圓形之形狀之情形時亦可行。藉由根據橢圓將橢球體近似化,於此種情形時可實現精度更佳之近似,可使構造要素之尺寸設定更為理想。 The present invention is not limited to the above-described embodiments, and various modifications can be made in addition to the above without departing from the spirit and scope of the invention. For example, in the region separation processing of the above-described embodiment, the ellipsoid region Ra is approximated to a circle and the size of the structural element is determined. However, in general, the ellipsoid region is preferably approximated by the ellipse. The reason is that it is also possible to cause the ellipsoidal region to deviate from the circular shape due to the curvature of the ellipsoid or the overlapping of a plurality of ellipsoids on the image. By approximating the ellipsoid according to the ellipse, a better accuracy approximation can be achieved in this case, and the size of the structural element can be set more ideally.
於該情形時,作為構造要素之圓之直徑較好基於近似橢圓之短徑而設定。理由在於:認為於因如上述之原因所致之橢球體區域偏離圓形時,橢圓之短徑不會與橢球體真實之尺寸大幅不同,另一方面,長徑有可能大幅超過橢球體之真實尺寸。藉由基於較小之尺寸即短徑決定圓之直徑,可避免自目標物消去橢球體。 In this case, the diameter of the circle as the structural element is preferably set based on the short diameter of the approximate ellipse. The reason is that the short diameter of the ellipse does not differ greatly from the true size of the ellipsoid when the ellipsoidal region is deviated from the circle due to the above reasons. On the other hand, the long diameter may significantly exceed the true value of the ellipsoid. size. By determining the diameter of the circle based on the smaller size, ie the short diameter, it is avoided that the ellipsoid is eliminated from the target.
又,例如,上述實施形態之圖像處理裝置係包含作為「圖像取得機構」之攝像單元1者,但不包含拍攝功能之裝置亦可應用本發 明。即,於上述實施形態之圖像處理單元2中,藉由介面205自外部接收圖像資料而取得原圖像,於該旨意中介面205具有作為「圖像取得機構」之功能。如此,於不具有備攝像單元之圖像處理裝置自外部裝置或外部記憶媒體接收原圖像資料之態樣中,本發明可有效地發揮功能。 Further, for example, the image processing apparatus according to the above embodiment includes the image pickup unit 1 as the "image acquisition means", but the apparatus that does not include the photographing function can also be applied to the present invention. Bright. In other words, in the image processing unit 2 of the above-described embodiment, the image data is received from the outside by the interface 205 to obtain the original image, and the message interfacing surface 205 has a function as an "image obtaining means". Thus, the present invention can effectively function in an aspect in which an image processing apparatus that does not have a camera unit receives an original image data from an external device or an external memory medium.
又,於上述實施形態中,藉由CPU201執行預先記憶於記憶體204之控制程式而實施本發明,但如上述般,作為該實施形態之圖像處理單元2可使用泛用之電腦裝置。因此,以可讀入於此種電腦裝置為前提,作為使電腦裝置執行上述圖像處理之控制程式、或於將其記錄於適當之記錄媒體之態樣中,亦可對使用者提供本發明。藉此,例如可對已經運用之攝像裝置追加新穎之功能。 Further, in the above-described embodiment, the present invention is implemented by the CPU 201 executing a control program stored in advance in the memory 204. However, as described above, the image processing unit 2 of the embodiment can use a general-purpose computer device. Therefore, the present invention can be provided to a user on the premise of being readable in such a computer device, as a control program for causing the computer device to execute the image processing described above, or to record it in an appropriate recording medium. . Thereby, for example, a novel function can be added to the already used imaging device.
以上,如例示具體之實施形態進行說明般,於該發明中,有尺寸不同之複數個橢球體狀目標物時,較好對其等設定大小不同之構造要素。原圖像中可能包含各種尺寸之橢球體。藉由應用對應於各個尺寸之構造要素,可提高形態學處理之異物圖像之去除效果、及橢球體圖像之形狀再現性。 As described above, in the case of the specific embodiment, in the case of a plurality of ellipsoidal objects having different sizes, it is preferable to set structural elements having different sizes. The original image may contain ellipsoids of various sizes. By applying structural elements corresponding to the respective sizes, the effect of removing the foreign matter image by the morphology processing and the shape reproducibility of the ellipsoidal image can be improved.
關於橢球體狀目標物之尺寸,例如可藉由近似化該橢球體狀目標物之近似橢圓之尺寸表示。橢球體圖像為大致圓形,但於周緣部存在形狀不整。因此,嚴格地特定其尺寸未必簡單,需尋求代替其之更簡便之方法。例如,能以近似地表示橢球體狀目標物之橢圓尺寸作為橢球體狀目標物之尺寸。藉此,可根據簡單之運算決定構造要素之尺寸。 The size of the ellipsoidal object can be expressed, for example, by approximating the size of the approximate ellipse of the ellipsoidal object. The ellipsoid image is substantially circular, but there is a shape irregularity at the peripheral portion. Therefore, it is not always straightforward to specify its size strictly, and it is necessary to find a more convenient way to replace it. For example, the ellipse size of the ellipsoidal object can be approximated as the size of the ellipsoidal object. Thereby, the size of the structural element can be determined according to a simple calculation.
具體而言,例如,將包含於橢球體狀目標物輪廓之橢圓中面積最大之橢圓設為近似橢圓。或,可將具有與橢球體狀目標物相同面積之橢圓設為近似橢圓。藉由實用化對應於求出該等近似橢圓方法之圖像處理運算法並加以應用,可將處理簡單化。 Specifically, for example, the ellipse having the largest area among the ellipse included in the outline of the ellipsoidal object is set to be approximately elliptical. Alternatively, an ellipse having the same area as the ellipsoidal object may be an approximately elliptical. The processing can be simplified by practically applying and applying an image processing algorithm corresponding to the approximate ellipse method.
於該等之情形時,可以作為構造要素之圓之直徑為近似橢圓的短徑之(1/6)以上(1/2)以下、更佳為(1/4)以上(1/3)以下之方式構成。根據本申請案發明者之實驗,可知於構造要素之尺寸為上述範圍時,可獲得良好之處理結果。即,可維持橢球體圖像之形狀再現性,且有效地去除條狀之異物之像。 In such a case, the diameter of the circle which can be a structural element is (1/6) or more (1/2) or less, and more preferably (1/4) or more (1/3) or less of the short diameter of the approximately elliptical shape. The way it is structured. According to the experiment of the inventors of the present application, it is understood that when the size of the structural element is within the above range, a good treatment result can be obtained. That is, the shape reproducibility of the ellipsoidal image can be maintained, and the image of the strip-shaped foreign matter can be effectively removed.
又,例如,近似橢圓亦可為將橢球體狀目標物近似化之近似圓。由於橢球體係大致圓形,故根據圓近似亦可以充分必要之精度表示尺寸。又,與使用近似橢圓之情形相比,處理變得更為簡單。 Further, for example, the approximate ellipse may be an approximate circle that approximates an ellipsoidal object. Since the ellipsoid system is substantially circular, the size can be expressed with sufficient accuracy according to the circular approximation. Also, the processing becomes simpler than when an approximate ellipse is used.
又,本發明例如可包含:基於膨脹處理後之圖像與原圖像之差分圖像,檢測出原圖像中之目標物中與橢球體不同之非橢球體區域之步驟。藉由進行侵蝕處理及膨脹處理,消去條狀之異物圖像而保留橢球體圖像。進而藉由取處理後之圖像與原圖像之差分,消去橢球體圖像而擷取異物之像。 Furthermore, the present invention may include, for example, a step of detecting a non-ellipsoidal region different from the ellipsoid in the target image in the original image based on the difference image between the image after the expansion process and the original image. By performing the etching treatment and the expansion treatment, the strip-shaped foreign matter image is erased and the ellipsoid image is retained. Furthermore, by taking the difference between the processed image and the original image, the ellipsoid image is eliminated and the image of the foreign object is captured.
又,例如,可為以下構成:包含特定原圖像中檢測出之橢球體狀目標物之最小包含圓之步驟,且對橢球體狀目標物中、該橢球體狀目標物之最小包含圓之面積與該橢球體狀目標物之面積之比大於1大於特定值者,執行侵蝕處理及膨脹處理。藉由如此,可將原本不包含異物而無需處理之橢球體狀目標物設為處理對象外,可保存原始圖像資訊。 Further, for example, the configuration may include a step of including a minimum inclusion circle of the ellipsoidal object detected in the specific original image, and the smallest inclusion circle of the ellipsoidal object in the ellipsoidal object If the ratio of the area to the area of the ellipsoidal object is greater than 1 and greater than a specific value, the erosion treatment and the expansion treatment are performed. In this way, the original image information can be saved by using an ellipsoidal object that does not contain foreign matter and does not need to be processed as a processing target.
關於該等圖像處理方法,可使用泛用之電腦執行。因此,本發明係可作為用以使電腦實行上述處理之控制程式而向使用者提供。 These image processing methods can be executed using a general-purpose computer. Accordingly, the present invention can be provided to a user as a control program for causing a computer to perform the above processing.
又,於本發明之圖像處理裝置中,圖像取得機構可為包含以下者:保持部,其保持承載橢球體之承載體;與攝像部,其拍攝支持體而建立原圖像。藉此,對於各種橢球體皆可取得原圖像。 Moreover, in the image processing apparatus of the present invention, the image obtaining means may include a holding portion that holds the carrier that carries the ellipsoid, and an imaging portion that captures the support to establish the original image. Thereby, the original image can be obtained for various ellipsoids.
以上,依據特定之實施例說明發明,但該說明並非意圖以限定之意義而解釋者。若參照發明之說明,精通該技術者應明瞭與本發明 之其他實施形態同樣地進行所揭示之實施形態之各種變化例。故而,認為附加之申請專利範圍係於不脫離發明之真實範圍之範圍內,包含該變化例或實施形態者。 The invention has been described above on the basis of specific embodiments, but the description is not intended to be construed in a limiting sense. If the invention is described with reference to the invention, it should be apparent to those skilled in the art In the other embodiments, various modifications of the disclosed embodiments are carried out in the same manner. Therefore, it is to be understood that the appended claims are intended to be within the scope of the invention
本發明適於以觀察、分析等為目的而拍攝橢球體之用途,例如可使用於醫療、藥物開發、生物科學領域之各種實驗。 The present invention is suitable for the use of an ellipsoid for the purpose of observation, analysis, etc., and can be used, for example, in various experiments in the fields of medical treatment, drug development, and biological sciences.
1‧‧‧攝像單元(圖像取得機構) 1‧‧‧ Camera unit (image acquisition unit)
2‧‧‧圖像處理單元(圖像處理機構) 2‧‧‧Image processing unit (image processing unit)
11‧‧‧支架(保持部) 11‧‧‧ bracket (holding section)
12‧‧‧照明部 12‧‧‧Lighting Department
13‧‧‧攝像部 13‧‧‧Photography Department
14‧‧‧控制部 14‧‧‧Control Department
20‧‧‧控制部 20‧‧‧Control Department
21‧‧‧輸入部 21‧‧‧ Input Department
22‧‧‧顯示部 22‧‧‧ Display Department
130‧‧‧攝像光學系 130‧‧‧Photographic Optics
131‧‧‧物鏡 131‧‧‧ Objective lens
132‧‧‧開口光圈 132‧‧‧Open aperture
133‧‧‧成像透鏡 133‧‧‧ imaging lens
134‧‧‧攝像器件 134‧‧‧ camera device
141‧‧‧機械驅動部 141‧‧‧Mechanical drive department
142‧‧‧AD轉換器 142‧‧‧AD converter
143‧‧‧介面 143‧‧" interface
201‧‧‧CPU 201‧‧‧CPU
202‧‧‧圖像處理器(圖像處理機構) 202‧‧‧Image Processor (Image Processing Organization)
203‧‧‧圖像記憶體 203‧‧‧Image memory
204‧‧‧記憶體 204‧‧‧ memory
205‧‧‧介面 205‧‧‧ interface
1341‧‧‧受光元件 1341‧‧‧Light-receiving components
Li‧‧‧照明光 Li‧‧‧Lights
OA‧‧‧光軸 OA‧‧‧ optical axis
W‧‧‧孔井 W‧‧‧ Kong Well
WP‧‧‧孔板 WP‧‧‧ Orifice
Claims (15)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014199859A JP6132824B2 (en) | 2014-09-30 | 2014-09-30 | Image processing method, control program, recording medium, and image processing apparatus |
JP2014-199859 | 2014-09-30 |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201623625A true TW201623625A (en) | 2016-07-01 |
TWI625394B TWI625394B (en) | 2018-06-01 |
Family
ID=55629965
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW104127200A TWI625394B (en) | 2014-09-30 | 2015-08-20 | Image processing method, control program, recording medium and image processing apparatus |
Country Status (3)
Country | Link |
---|---|
JP (1) | JP6132824B2 (en) |
TW (1) | TWI625394B (en) |
WO (1) | WO2016051913A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2018174874A (en) * | 2017-04-19 | 2018-11-15 | 国立大学法人 東京医科歯科大学 | Method for measuring water secretion function of epithelial cells |
WO2021256096A1 (en) * | 2020-06-18 | 2021-12-23 | 富士フイルム株式会社 | Region correction device, method, and program |
WO2024062953A1 (en) * | 2022-09-22 | 2024-03-28 | 株式会社レゾナック | Image processing method and image processing program |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPWO2009142333A1 (en) * | 2008-05-22 | 2011-09-29 | 国立大学法人 東京大学 | Image processing method, image processing apparatus, image processing program, and storage medium |
JP2010152456A (en) * | 2008-12-24 | 2010-07-08 | Ricoh Co Ltd | Image processor and image processing method and program using image processing method |
WO2012117647A1 (en) * | 2011-02-28 | 2012-09-07 | 三洋電機株式会社 | Observation program and observation device |
-
2014
- 2014-09-30 JP JP2014199859A patent/JP6132824B2/en active Active
-
2015
- 2015-07-10 WO PCT/JP2015/069894 patent/WO2016051913A1/en active Application Filing
- 2015-08-20 TW TW104127200A patent/TWI625394B/en active
Also Published As
Publication number | Publication date |
---|---|
JP2016067280A (en) | 2016-05-09 |
WO2016051913A1 (en) | 2016-04-07 |
TWI625394B (en) | 2018-06-01 |
JP6132824B2 (en) | 2017-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5644447B2 (en) | Microscope, region determination method, and program | |
JP6333145B2 (en) | Image processing method and image processing apparatus | |
CN106973258B (en) | Pathological section information rapid acquisition device | |
JP6739060B2 (en) | Image generating apparatus and image generating method | |
JPWO2006051813A1 (en) | Cell culture device, image processing device, and cell detection system | |
KR20120003376A (en) | Microscope and area determination method | |
JP2010181402A (en) | Embryo quality evaluation assistance system, embryo quality evaluation assistance apparatus and embryo quality evaluation assistance method | |
JP2011053362A (en) | Tissue-slice image acquirement and display apparatus, tissue-slice image acquirement and display method, and tissue-slice image acquirement and display program | |
US9322782B2 (en) | Image obtaining unit and image obtaining method | |
US20190204292A1 (en) | Image Processing Device, Image Processing Method, and Recording Medium | |
TWI625394B (en) | Image processing method, control program, recording medium and image processing apparatus | |
JPWO2018199080A1 (en) | Imaging flow cytometer | |
JP2008293325A (en) | Face image analysis system | |
JP2009186291A (en) | Cell image analyzer, its method, and its software | |
JP2008212017A (en) | Apparatus for determining cell state, and method for determining cell state | |
AU2004271106A1 (en) | System for organizing multiple objects of interest in field of interest | |
US20180128734A1 (en) | Image processing apparatus, image processing method, and image processing program | |
CN106971141B (en) | Cell region specifying method, cell imaging system, and cell image processing device | |
EP3714307A1 (en) | Accelerating digital microscopy scans using empty/dirty area detection | |
JP6345001B2 (en) | Image processing method and image processing apparatus | |
JP6364744B2 (en) | Cell counting device, cell counting system, and cell counting method | |
JP2010216920A (en) | Cell-image analyzing apparatus | |
JP3819140B2 (en) | Optical nondestructive inspection method and apparatus for quartz crucible | |
JP2011197283A (en) | Focusing device, focusing method, focusing program, and microscope | |
WO2017069035A1 (en) | Image-processing method and method for creating shading reference data |