WO2019163244A1 - Image processing method, image processing device, and image processing program - Google Patents

Image processing method, image processing device, and image processing program Download PDF

Info

Publication number
WO2019163244A1
WO2019163244A1 PCT/JP2018/044067 JP2018044067W WO2019163244A1 WO 2019163244 A1 WO2019163244 A1 WO 2019163244A1 JP 2018044067 W JP2018044067 W JP 2018044067W WO 2019163244 A1 WO2019163244 A1 WO 2019163244A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
processing
noise
processing unit
ideal
Prior art date
Application number
PCT/JP2018/044067
Other languages
French (fr)
Japanese (ja)
Inventor
智親 竹嶋
Original Assignee
浜松ホトニクス株式会社
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 浜松ホトニクス株式会社 filed Critical 浜松ホトニクス株式会社
Publication of WO2019163244A1 publication Critical patent/WO2019163244A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/73Deblurring; Sharpening
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/40Picture signal circuits
    • H04N1/409Edge or detail enhancement; Noise or error suppression
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20212Image combination
    • G06T2207/20224Image subtraction

Definitions

  • the present disclosure relates to an image processing method, an image processing apparatus, and an image processing program.
  • Super-resolution technology is an image processing technology that increases the resolution of images such as moving images and still images, and is expected to be applied to various fields such as digital cameras, semiconductor exposure devices, and optical microscopes in addition to fields such as televisions.
  • Examples of the super-resolution technique include a learning method and a reconstruction method.
  • the learning-type super-resolution technique is a method of identifying a deteriorated image estimated from an analysis image as a database and comparing an acquired image with a database to identify an image before deterioration.
  • the reconstruction method is a method for estimating a high resolution image based on a plurality of low resolution images.
  • an original image is obtained by performing a Fourier transform on the acquired luminance value of the acquired image and dividing the result by a Fourier transform value of a point spread function.
  • a technique for removing the noise from the original image is desired.
  • the present disclosure has been made to solve the above-described problem, and an object thereof is to provide an image processing method, an image processing apparatus, and an image processing program capable of removing noise from an original image.
  • An image processing method is an image processing method for removing noise from an original image, and includes a first step of generating a predicted image by performing a convolution operation on a preset ideal image using a point spread function. And a second step of generating an error image by performing a differential process on the original image from the predicted image, and performing a deconvolution operation using a point spread function obtained by multiplying the error image by a coefficient ⁇ (0 ⁇ ⁇ 1) to obtain an error image from the ideal image.
  • a noise image is obtained by repeating the third step of generating a difference image by performing a difference process on the image after the deconvolution operation and the first to third steps a plurality of times with the difference image as a new ideal image.
  • a fourth step of performing a differential process on the noise image from the original image to obtain a noise-removed image.
  • the difference image obtained in the loop of the first step to the third step is used as a new ideal image, and the loop after the first step to the third step is executed.
  • the ideal image is gradually corrected so that the error is minimized, and the ideal image can be brought close to a true value.
  • the error image is brought closer to the noise image representing the noise in the original image by repeating the first to third steps a plurality of times. be able to. Therefore, a noise-removed image can be obtained by performing differential processing on the noise image from the original image in the fourth step.
  • an initial ideal image may be generated based on the original image. Thereby, it is possible to prevent the first ideal image from greatly deviating from the original image.
  • the average value of the pixel values of each pixel of the original image may be used as the pixel value of each pixel of the initial ideal image.
  • the first to third steps may be repeated 10 times or more.
  • the error image can be made sufficiently close to a noise image representing noise in the original image.
  • the coefficient ⁇ used in the third step may be gradually reduced every time the first to third steps are repeated.
  • the ideal image can be corrected appropriately, and the error image can be made more sufficiently closer to a noise image representing noise in the original image.
  • An image processing device is an image processing device including an image processing unit that removes noise from an original image, and the image processing unit converts a preset ideal image by a point spread function.
  • a first processing unit that generates a predicted image by performing a convolution operation, a second processing unit that generates an error image by performing difference processing on the original image from the predicted image, and an error image with a coefficient ⁇ (0 ⁇ ⁇ 1).
  • a third processing unit that generates a difference image by performing a difference process on the image after the deconvolution operation from the ideal image and a first image as a new ideal image.
  • a fourth processing unit that obtains a noise-removed image by performing differential processing on the noise image from the original image after obtaining the noise image by repeating each of the processing units to the third processing unit a plurality of times.
  • the difference image obtained in each processing loop of the first processing unit to the third processing unit is used as a new ideal image, and the next processing of each of the first processing unit to the third processing unit.
  • This loop is executed.
  • the ideal image is gradually corrected so as to minimize the error, and the ideal image can be brought close to a true value.
  • the error image represents the noise in the original image by repeating each process in the first processing unit to the third processing unit a plurality of times. It can be close to a noise image. Therefore, a noise-removed image can be obtained by performing differential processing on the noise image from the original image in the fourth processing unit.
  • the first processing unit may generate an initial ideal image based on the original image. Thereby, it is possible to prevent the first ideal image from greatly deviating from the original image.
  • the first processing unit may use an average value of pixel values of each pixel of the original image as a pixel value of each pixel of the first ideal image. As a result, it is possible to more reliably prevent the first ideal image from greatly deviating from the original image.
  • the image processing unit may repeat each process of the first processing unit to the third processing unit 10 times or more. Thereby, the error image can be made sufficiently close to a noise image representing noise in the original image.
  • the image processing unit may gradually reduce the coefficient ⁇ used in the third processing unit every time the processes of the first processing unit to the third processing unit are repeated. As a result, the ideal image can be corrected appropriately, and the error image can be made more sufficiently closer to a noise image representing noise in the original image.
  • An image processing program is an image processing program for removing noise from an original image, and generates a predicted image by performing a convolution operation on a preset ideal image using a point spread function. And a second process for generating an error image by performing a difference process on the original image from the predicted image, and a deconvolution operation using a point spread function obtained by multiplying the error image by a coefficient ⁇ (0 ⁇ ⁇ 1)
  • Each of the third process for generating a difference image by performing a difference process on the image after the deconvolution operation from the image and the first process to the third process using the difference image as a new ideal image are repeated a plurality of times.
  • the computer is caused to execute a fourth process for obtaining a noise-removed image by performing differential processing on the noise image from the original image.
  • the difference image obtained in each processing loop of the first processing unit to the third processing unit is used as a new ideal image, and the first processing unit to the third processing unit.
  • the next loop of each process is executed.
  • the ideal image is gradually corrected so as to minimize the error, and the ideal image can be brought close to a true value.
  • the error image represents the noise in the original image by repeating each process in the first processing unit to the third processing unit a plurality of times. It can be close to a noise image. Therefore, a noise-removed image can be obtained by performing differential processing on the noise image from the original image in the fourth processing unit.
  • noise can be removed from the original image.
  • FIG. 3 is a flowchart illustrating an example of an operation of the image processing apparatus illustrated in FIG. 1. It is a flowchart which shows an example of a deconvolution process. It is a figure which shows the example of an image in 1st loop of a deconvolution process. It is a figure which shows an example of the deconvolution calculation of an error image. It is a figure which shows the example of an image in 2nd loop-29th loop of a deconvolution process. It is a figure which shows the example of an image in the 30th loop of a deconvolution process. It is a flowchart which shows an example of a noise removal process.
  • FIG. 1 is a schematic configuration diagram showing an embodiment of an image processing apparatus.
  • An image processing apparatus 1 shown in FIG. 1 is configured as an apparatus that generates a noise-removed image from which noise has been removed based on an original image acquired for a sample S.
  • the sample S is not particularly limited, and examples thereof include biological tissues such as humans and animals, and various devices such as optical devices and electronic devices.
  • the image processing apparatus 1 includes a camera 2 and a computer 3 as shown in FIG.
  • the camera 2 has an image sensor 4 and an image control unit 5.
  • the image sensor 4 is a one-dimensional or two-dimensional sensor such as a CCD image sensor or a CMOS image sensor.
  • the image sensor 4 images the light L from the sample S imaged by the imaging optical system 7 through the objective lens 6, and outputs a digital signal based on the imaging result to the image control unit 5.
  • the light L from the sample S varies depending on the type of the sample S, and is, for example, light emission such as fluorescence generated from the sample S, reflected light or transmitted light from the sample S, and the like.
  • the image control unit 5 executes image processing based on the digital signal from the image sensor 4.
  • the image control unit 5 is configured by, for example, a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), or an FPGA (field-programmable Gate Array).
  • the image control unit 5 generates a digital image based on the digital signal received from the image sensor 4, performs predetermined image processing on the generated digital image, and outputs the digital image to the computer 3.
  • a digital image output from the camera 2 to the computer 3 is referred to as an “original image”.
  • the computer 3 is a device that performs image processing on the digital image output from the camera 2 and generates a noise-removed image from which noise has been removed.
  • the computer 3 is connected to the camera 2 so as to be communicable with each other by wire or wireless.
  • the computer 3 includes, for example, a memory such as a RAM and a ROM, a processor such as a CPU, a communication interface, and a storage unit such as a hard disk. Examples of such computers include personal computers, microcomputers, cloud servers, smart devices (smartphones, tablet terminals, etc.), and the like.
  • a display device 8 such as a monitor and an input device 9 such as a keyboard, a mouse, and a touch panel are connected to the computer 3.
  • Various images and the like processed by the computer 3 are displayed on the display device 8.
  • various input information such as operation start and condition setting is transmitted from the input device 9 to the computer 3 based on a user operation.
  • the computer 3 has an image processing unit 11 that generates a noise-removed image from which noise has been removed based on the original image input from the camera 2.
  • the image processing unit 11 may be configured by an integrated circuit such as an FPGA.
  • the image processing unit 11 includes a first processing unit 12, a second processing unit 13, a third processing unit 14, and a fourth processing unit 15.
  • the first processing unit 12, the second processing unit 13, and the third processing unit 14 execute deconvolution processing as the first stage of image processing.
  • the fourth processing unit 15 executes noise removal processing after the deconvolution processing as the second stage of image processing.
  • FIG. 2 is a flowchart showing an example of the operation of the image processing apparatus 1.
  • the sample S is first imaged by the camera 2 (step S01).
  • a digital image of the sample S is generated as an original image O (see FIG. 4), and the original image is output to the computer 3 (step S02).
  • deconvolution processing is executed as the first stage of image processing (step S03).
  • each process in the first processing unit 12, the second processing unit 13, and the third processing unit 14 is repeatedly executed in this order a plurality of times.
  • the number of repetitions of the deconvolution process is preferably 10 times or more, and is 30 times in the present embodiment.
  • noise removal processing by the fourth processing unit 15 is executed as the second stage of image processing (step S04).
  • the deconvolution process is executed again (step S05).
  • the first processing unit 12 In the 1st loop of the deconvolution process, as shown in FIGS. 3 and 4, first, the first processing unit 12 generates an ideal image I based on the original image O (step S11: first step).
  • the number of pixels of the ideal image I is not particularly limited, and may be equal to the number of pixels of the original image O.
  • an image (super-resolution image) with higher resolution than the original image O can be obtained.
  • the average value of the pixel values (luminance values) of each pixel constituting the original image O is set as the pixel value of each pixel of the first ideal image I.
  • the first ideal image I is a uniform image in which the pixel value of each pixel is constant.
  • the initial ideal image I is preferably generated based on the pixel value of each pixel of the original image O, but is not based on the original image O, and is a uniform image with pixel values set in advance. It may be.
  • the number of pixels of the ideal image I is a parameter for determining the number of pixels of the finally obtained image (difference image D).
  • the number of pixels of the ideal image I is preferably an odd number of times (for example, about 3 times or 5 times) of the original image in consideration of the processing speed in the image processing unit 11 and the like.
  • the first processing unit 12 After the generation of the ideal image I, the first processing unit 12 performs a convolution operation on the ideal image I with a point spread function (hereinafter referred to as “PSF”) to generate a predicted image P (step S12).
  • PSF is a parameter possessed by an optical element such as a lens.
  • the PSF used in this process is calculated by simulation based on the PSF of the objective lens 6 to be used.
  • the second processing unit 13 After the predicted image P is generated, the second processing unit 13 performs a difference process for subtracting the original image O from the predicted image P, and generates an error image E (step S13: second step).
  • the third processing unit 14 generates a difference image D based on the error image E (step S14: third step).
  • the deconvolution operation of the error image E is performed by the PSF multiplied by the coefficient ⁇ (0 ⁇ ⁇ 1). ⁇ gradually decreases as the number of deconvolution loops increases.
  • the calculation for generating the difference image D is expressed by, for example, the following formulas (1) and (2) (see FIG. 5).
  • i is the entire pixel
  • In i is the input pixel value (pixel value of the ideal image I)
  • Out i is the output pixel value ( (Pixel value of difference image D)
  • is a coefficient
  • ⁇ k is PSF
  • Er i + k is a pixel value of error image E
  • Loop is the number of loops of deconvolution processing.
  • the image processing unit 11 determines whether or not the number of repetitions of the deconvolution process has reached a predetermined number of times (step S15).
  • the process ends.
  • the number of deconvolution process loops is less than 30, each process of step S11 to step S15 is re-executed. .
  • the processing of steps S11 to S15 is re-executed with the difference image D obtained in the previous loop as the new ideal image I.
  • a difference image D is finally obtained as shown in FIG.
  • the difference image D is an image having the same resolution as the original image O when the number of pixels of the ideal image I is equal to the number of pixels of the original image O. Further, the difference image D is an image (super-resolution image) having a resolution higher than that of the original image O when the number of pixels of the ideal image I is larger than the number of pixels of the original image O.
  • Step S21 Fourth step
  • noise is not related to the ideal image I. Therefore, even if the deconvolution process is repeated with a sufficient number of loops, noise may remain in the error image E.
  • the error image E obtained in the 30th loop of the deconvolution process is used as the noise image N, and the noise image N is subjected to differential processing from the original image O, thereby correcting the original image (noise removal).
  • Image OC is generated (step S22: fourth step).
  • This modified original image OC is replaced with the original image O when the deconvolution process is re-executed (see FIG. 2) in step S05. That is, in step S05, each process of step S11 to step S15 is repeatedly executed a plurality of times using the modified original image OC as a new original image. Thereby, when the number of pixels of the ideal image I is larger than the number of pixels of the original image O, noise is removed from the difference image D obtained in step S03, and a difference image D with higher resolution is obtained. Can do. Note that the noise removal process and the deconvolution process after the noise removal process may be repeatedly executed a plurality of times.
  • the calculation for correcting the original image O is expressed by, for example, the following formulas (3) and (4) (see FIG. 10).
  • i is the entire pixel
  • In i is the input pixel value (pixel value of the original image O)
  • Out i is the output pixel value (pixel value of the modified original image OC)
  • Er i is The pixel value of the error image E
  • Loop is the number of noise removal loops
  • abs (Er) is the absolute value of the error intensity
  • Level is the correction level. In this example, Level gradually decreases as the number of noise removal processing loops increases. ... (3) (4)
  • FIG. 11 is a block diagram showing an example of an image processing program and its recording medium.
  • the image processing program 21 includes a main module 22 and an image processing module 23.
  • the image processing module 23 includes a first processing module 24, a second processing module 25, a third processing module 26, and a fourth processing module 27.
  • the functions realized by the computer by executing the image processing program 21 are the same as the functions of the image processing unit 11 described above.
  • the image processing program 21 is provided by a computer-readable recording medium 28 such as a CD-ROM, DVD or ROM.
  • the image processing program 21 may be provided by a semiconductor memory, or may be provided as a computer data signal superimposed on a carrier wave via a network.
  • the next loop of the deconvolution process is executed with the difference image D obtained in the deconvolution process loop as the new ideal image I.
  • the ideal image I is gradually corrected so as to minimize the error, and the ideal image I can be brought close to a true value.
  • the error image E is changed to a noise image N representing the noise in the original image O by repeating the deconvolution loop a plurality of times. You can get closer. Therefore, by performing a differential process on the noise image N from the original image O, it is possible to obtain a modified original image OC from which noise has been removed.
  • the first ideal image I is generated based on the original image O in the first step of the deconvolution process. Specifically, the average value of the pixel values of each pixel of the original image O is used as the pixel value of each pixel of the initial ideal image I. Thereby, it is possible to prevent the first ideal image I from greatly deviating from the original image O.
  • the first to third steps of the deconvolution process are repeated ten times or more, and the third step is repeated each time the first to third steps of the deconvolution process are repeated.
  • the coefficient ⁇ used in the step is gradually reduced.
  • the present disclosure is not limited to the above embodiment.
  • the image processing apparatus 1 provided with the image processing unit 11 on the computer 3 side is illustrated, but the image processing unit 11 is provided on the camera 2 side like the image processing apparatus 31 illustrated in FIG.
  • Other configurations may be adopted.
  • the image processing apparatus may be configured as a microscope having a camera or computer having the image processing unit 11.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

This image processing method is provided with: a first step for performing a convolution operation on a preset ideal image I with a PSF to generate a prediction image P; a second step for differential-processing the original image O from the prediction image P to generate an error image E; a third step for performing a deconvolution operation on the error image E with the PSF multiplied with a coefficient α (0<α<1), and differential-processing, from the ideal image I, an image obtained after the deconvolution operation, thereby generating a differential image D; and a fourth step for obtaining a noise image N by taking the differential image D as a new ideal image I and repeating the above-described steps multiple times, and then differential-processing the noise image N from the original image O to thereby obtain a corrected original image (noise-removed image) OC.

Description

画像処理方法、画像処理装置、及び画像処理プログラムImage processing method, image processing apparatus, and image processing program
 本開示は、画像処理方法、画像処理装置、及び画像処理プログラムに関する。 The present disclosure relates to an image processing method, an image processing apparatus, and an image processing program.
 超解像技術は、動画や静止画などの画像の解像度を高める画像処理技術であり、テレビなどの分野のほか、デジタルカメラ、半導体露光装置、光学顕微鏡といった各種分野への応用が期待されている(例えば非特許文献1,2参照)。超解像技術の方式としては、例えば学習型方式、再構成型方式などが挙げられる。学習型超解像技術は、解析画像から推定した劣化画像をデータベース化し、取得画像をデータベースと照合して劣化前の画像を特定する手法である。また、再構成型方式は、複数の低解像画像を基に高解像度画像を推定する手法である。 Super-resolution technology is an image processing technology that increases the resolution of images such as moving images and still images, and is expected to be applied to various fields such as digital cameras, semiconductor exposure devices, and optical microscopes in addition to fields such as televisions. (For example, refer nonpatent literatures 1 and 2.). Examples of the super-resolution technique include a learning method and a reconstruction method. The learning-type super-resolution technique is a method of identifying a deteriorated image estimated from an analysis image as a database and comparing an acquired image with a database to identify an image before deterioration. The reconstruction method is a method for estimating a high resolution image based on a plurality of low resolution images.
 画像処理技術としては、装置に起因する画像のボケ(点拡がり関数)を取得画像から除去するデコンボリューション技術がある。一般的なデコンボリューションは、取得した取得画像の輝度値をフーリエ変換し、これを点拡がり関数のフーリエ変換値で除算することによってオリジナル画像を求めるものである。しかしながら、実際に取得される取得画像にはノイズが含まれるため、オリジナル画像からノイズを除去するための技術が望まれる。 As the image processing technology, there is a deconvolution technology that removes image blur (point spread function) caused by the apparatus from the acquired image. In general deconvolution, an original image is obtained by performing a Fourier transform on the acquired luminance value of the acquired image and dividing the result by a Fourier transform value of a point spread function. However, since the acquired image that is actually acquired includes noise, a technique for removing the noise from the original image is desired.
 本開示は、上記課題の解決のためになされたものであり、オリジナル画像からノイズを除去することができる画像処理方法、画像処理装置、及び画像処理プログラムを提供することを目的とする。 The present disclosure has been made to solve the above-described problem, and an object thereof is to provide an image processing method, an image processing apparatus, and an image processing program capable of removing noise from an original image.
 本開示の一側面に係る画像処理方法は、オリジナル画像からノイズを除去する画像処理方法であって、予め設定された理想画像を点拡がり関数によって畳み込み演算して予測画像を生成する第1のステップと、予測画像からオリジナル画像を差分処理してエラー画像を生成する第2のステップと、エラー画像を係数α(0<α<1)で乗算した点拡がり関数によって逆畳み込み演算し、理想画像から当該逆畳み込み演算後の画像を差分処理して差分画像を生成する第3のステップと、差分画像を新たな理想画像として第1のステップ~第3のステップを複数回繰り返してノイズ画像を得た後、オリジナル画像からノイズ画像を差分処理してノイズ除去画像を得る第4のステップと、を備える。 An image processing method according to an aspect of the present disclosure is an image processing method for removing noise from an original image, and includes a first step of generating a predicted image by performing a convolution operation on a preset ideal image using a point spread function. And a second step of generating an error image by performing a differential process on the original image from the predicted image, and performing a deconvolution operation using a point spread function obtained by multiplying the error image by a coefficient α (0 <α <1) to obtain an error image from the ideal image. A noise image is obtained by repeating the third step of generating a difference image by performing a difference process on the image after the deconvolution operation and the first to third steps a plurality of times with the difference image as a new ideal image. And a fourth step of performing a differential process on the noise image from the original image to obtain a noise-removed image.
 この画像処理方法では、第1のステップ~第3のステップのループで得られた差分画像を新たな理想画像として第1のステップ~第3のステップの次のループを実行する。このループを繰り返し実行することで、エラーが最小化するように理想画像が徐々に修正され、理想画像を真の値に近づけることができる。また、この処理では、オリジナル画像のノイズは理想画像とは無関係であるため、第1のステップ~第3のステップを複数回繰り返すことで、エラー画像をオリジナル画像中のノイズを表すノイズ画像に近づけることができる。したがって、第4のステップでオリジナル画像からノイズ画像を差分処理することにより、ノイズ除去画像を得ることができる。 In this image processing method, the difference image obtained in the loop of the first step to the third step is used as a new ideal image, and the loop after the first step to the third step is executed. By repeatedly executing this loop, the ideal image is gradually corrected so that the error is minimized, and the ideal image can be brought close to a true value. In this process, since the noise of the original image is not related to the ideal image, the error image is brought closer to the noise image representing the noise in the original image by repeating the first to third steps a plurality of times. be able to. Therefore, a noise-removed image can be obtained by performing differential processing on the noise image from the original image in the fourth step.
 また、第1のステップでは、オリジナル画像に基づいて初回の理想画像を生成してもよい。これにより、初回の理想画像がオリジナル画像から大きく乖離してしまうことを防止できる。 In the first step, an initial ideal image may be generated based on the original image. Thereby, it is possible to prevent the first ideal image from greatly deviating from the original image.
 また、第1のステップでは、オリジナル画像の各画素の画素値の平均値を初回の理想画像の各画素の画素値としてもよい。これにより、初回の理想画像がオリジナル画像から大きく乖離してしまうことをより確実に防止できる。 In the first step, the average value of the pixel values of each pixel of the original image may be used as the pixel value of each pixel of the initial ideal image. As a result, it is possible to more reliably prevent the first ideal image from greatly deviating from the original image.
 また、この画像処理方法では、第1のステップ~第3のステップを10回以上繰り返してもよい。これにより、エラー画像をオリジナル画像中のノイズを表すノイズ画像に十分に近づけることができる。 In this image processing method, the first to third steps may be repeated 10 times or more. Thereby, the error image can be made sufficiently close to a noise image representing noise in the original image.
 また、第1のステップ~第3のステップの繰り返しを行う度に第3のステップで用いる係数αを徐々に小さくしていってもよい。これにより、理想画像の修正を好適に実行でき、エラー画像をオリジナル画像中のノイズを表すノイズ画像に一層十分に近づけることができる。 Further, the coefficient α used in the third step may be gradually reduced every time the first to third steps are repeated. As a result, the ideal image can be corrected appropriately, and the error image can be made more sufficiently closer to a noise image representing noise in the original image.
 また、本開示の一側面に係る画像処理装置は、オリジナル画像からノイズを除去する画像処理部を備えた画像処理装置であって、画像処理部は、予め設定された理想画像を点拡がり関数によって畳み込み演算して予測画像を生成する第1の処理部と、予測画像から前記オリジナル画像を差分処理してエラー画像を生成する第2の処理部と、エラー画像を係数α(0<α<1)で乗算した点拡がり関数によって逆畳み込み演算し、理想画像から当該逆畳み込み演算後の画像を差分処理して差分画像を生成する第3の処理部と、差分画像を新たな理想画像として第1の処理部~第3の処理部の各処理を複数回繰り返してノイズ画像を得た後、オリジナル画像からノイズ画像を差分処理してノイズ除去画像を得る第4の処理部とを有する。 An image processing device according to an aspect of the present disclosure is an image processing device including an image processing unit that removes noise from an original image, and the image processing unit converts a preset ideal image by a point spread function. A first processing unit that generates a predicted image by performing a convolution operation, a second processing unit that generates an error image by performing difference processing on the original image from the predicted image, and an error image with a coefficient α (0 <α <1). ) And a third processing unit that generates a difference image by performing a difference process on the image after the deconvolution operation from the ideal image and a first image as a new ideal image. And a fourth processing unit that obtains a noise-removed image by performing differential processing on the noise image from the original image after obtaining the noise image by repeating each of the processing units to the third processing unit a plurality of times.
 この画像処理装置では、第1の処理部~第3の処理部の各処理のループで得られた差分画像を新たな理想画像として第1の処理部~第3の処理部の各処理の次のループが実行される。このループが繰り返し実行されることで、エラーが最小化するように理想画像が徐々に修正され、理想画像を真の値に近づけることができる。この処理では、オリジナル画像のノイズは理想画像とは無関係であるため、第1の処理部~第3の処理部での各処理を複数回繰り返すことで、エラー画像をオリジナル画像中のノイズを表すノイズ画像に近づけることができる。したがって、第4の処理部でオリジナル画像からノイズ画像を差分処理することにより、ノイズ除去画像を得ることができる。 In this image processing apparatus, the difference image obtained in each processing loop of the first processing unit to the third processing unit is used as a new ideal image, and the next processing of each of the first processing unit to the third processing unit. This loop is executed. By repeatedly executing this loop, the ideal image is gradually corrected so as to minimize the error, and the ideal image can be brought close to a true value. In this process, since the noise of the original image is not related to the ideal image, the error image represents the noise in the original image by repeating each process in the first processing unit to the third processing unit a plurality of times. It can be close to a noise image. Therefore, a noise-removed image can be obtained by performing differential processing on the noise image from the original image in the fourth processing unit.
 また、第1の処理部は、オリジナル画像に基づいて初回の理想画像を生成してもよい。これにより、初回の理想画像がオリジナル画像から大きく乖離してしまうことを防止できる。 Further, the first processing unit may generate an initial ideal image based on the original image. Thereby, it is possible to prevent the first ideal image from greatly deviating from the original image.
 また、第1の処理部は、オリジナル画像の各画素の画素値の平均値を初回の理想画像の各画素の画素値としてもよい。これにより、初回の理想画像がオリジナル画像から大きく乖離してしまうことをより確実に防止できる。 Further, the first processing unit may use an average value of pixel values of each pixel of the original image as a pixel value of each pixel of the first ideal image. As a result, it is possible to more reliably prevent the first ideal image from greatly deviating from the original image.
 また、画像処理部は、第1の処理部~第3の処理部の各処理を10回以上繰り返してもよい。これにより、エラー画像をオリジナル画像中のノイズを表すノイズ画像に十分に近づけることができる。 Further, the image processing unit may repeat each process of the first processing unit to the third processing unit 10 times or more. Thereby, the error image can be made sufficiently close to a noise image representing noise in the original image.
 また、画像処理部は、第1の処理部~第3の処理部の各処理を繰り返し行う度に第3の処理部で用いる係数αを徐々に小さくしていってもよい。これにより、理想画像の修正を好適に実行でき、エラー画像をオリジナル画像中のノイズを表すノイズ画像に一層十分に近づけることができる。 Further, the image processing unit may gradually reduce the coefficient α used in the third processing unit every time the processes of the first processing unit to the third processing unit are repeated. As a result, the ideal image can be corrected appropriately, and the error image can be made more sufficiently closer to a noise image representing noise in the original image.
 また、本開示の一側面に係る画像処理プログラムは、オリジナル画像からノイズを除去する画像処理プログラムであって、予め設定された理想画像を点拡がり関数によって畳み込み演算して予測画像を生成する第1の処理と、予測画像からオリジナル画像を差分処理してエラー画像を生成する第2の処理と、エラー画像を係数α(0<α<1)で乗算した点拡がり関数によって逆畳み込み演算し、理想画像から当該逆畳み込み演算後の画像を差分処理して差分画像を生成する第3の処理と、差分画像を新たな理想画像として第1の処理~第3の処理の各処理を複数回繰り返してノイズ画像を得た後、オリジナル画像からノイズ画像を差分処理してノイズ除去画像を得る第4の処理と、をコンピュータに実行させる。 An image processing program according to an aspect of the present disclosure is an image processing program for removing noise from an original image, and generates a predicted image by performing a convolution operation on a preset ideal image using a point spread function. And a second process for generating an error image by performing a difference process on the original image from the predicted image, and a deconvolution operation using a point spread function obtained by multiplying the error image by a coefficient α (0 <α <1) Each of the third process for generating a difference image by performing a difference process on the image after the deconvolution operation from the image and the first process to the third process using the difference image as a new ideal image are repeated a plurality of times. After obtaining the noise image, the computer is caused to execute a fourth process for obtaining a noise-removed image by performing differential processing on the noise image from the original image.
 この画像処理プログラムを実行したコンピュータでは、第1の処理部~第3の処理部の各処理のループで得られた差分画像を新たな理想画像として第1の処理部~第3の処理部の各処理の次のループが実行される。このループが繰り返し実行されることで、エラーが最小化するように理想画像が徐々に修正され、理想画像を真の値に近づけることができる。この処理では、オリジナル画像のノイズは理想画像とは無関係であるため、第1の処理部~第3の処理部での各処理を複数回繰り返すことで、エラー画像をオリジナル画像中のノイズを表すノイズ画像に近づけることができる。したがって、第4の処理部でオリジナル画像からノイズ画像を差分処理することにより、ノイズ除去画像を得ることができる。 In the computer that has executed the image processing program, the difference image obtained in each processing loop of the first processing unit to the third processing unit is used as a new ideal image, and the first processing unit to the third processing unit. The next loop of each process is executed. By repeatedly executing this loop, the ideal image is gradually corrected so as to minimize the error, and the ideal image can be brought close to a true value. In this process, since the noise of the original image is not related to the ideal image, the error image represents the noise in the original image by repeating each process in the first processing unit to the third processing unit a plurality of times. It can be close to a noise image. Therefore, a noise-removed image can be obtained by performing differential processing on the noise image from the original image in the fourth processing unit.
 本開示によれば、オリジナル画像からノイズを除去することができる。 According to the present disclosure, noise can be removed from the original image.
画像処理装置の一実施形態を示す概略構成図である。It is a schematic block diagram which shows one Embodiment of an image processing apparatus. 図1に示した画像処理装置の動作の一例を示すフローチャートである。3 is a flowchart illustrating an example of an operation of the image processing apparatus illustrated in FIG. 1. デコンボリューション処理の一例を示すフローチャートである。It is a flowchart which shows an example of a deconvolution process. デコンボリューション処理の1stループにおける画像例を示す図である。It is a figure which shows the example of an image in 1st loop of a deconvolution process. エラー画像の逆畳み込み演算の一例を示す図である。It is a figure which shows an example of the deconvolution calculation of an error image. デコンボリューション処理の2ndループ~29thループにおける画像例を示す図である。It is a figure which shows the example of an image in 2nd loop-29th loop of a deconvolution process. デコンボリューション処理の30thループにおける画像例を示す図である。It is a figure which shows the example of an image in the 30th loop of a deconvolution process. ノイズ除去処理の一例を示すフローチャートである。It is a flowchart which shows an example of a noise removal process. ノイズ除去処理における画像例を示す図である。It is a figure which shows the example of an image in a noise removal process. オリジナル画像の修正演算の一例を示す図である。It is a figure which shows an example of the correction calculation of an original image. 画像処理プログラム及びその記録媒体の一例を示すブロック図である。It is a block diagram which shows an example of an image processing program and its recording medium. 画像処理装置の変形例を示す概略構成図である。It is a schematic block diagram which shows the modification of an image processing apparatus.
 以下、図面を参照しながら、本発明の一側面に係る画像処理方法、画像処理装置、及び画像処理プログラムの好適な実施形態について詳細に説明する。 Hereinafter, preferred embodiments of an image processing method, an image processing apparatus, and an image processing program according to an aspect of the present invention will be described in detail with reference to the drawings.
 図1は、画像処理装置の一実施形態を示す概略構成図である。同図に示す画像処理装置1は、サンプルSについて取得したオリジナル画像に基づいて、ノイズが除去されたノイズ除去画像を生成する装置として構成されている。サンプルSとしては、特に制限はないが、例えばヒトや動物等の生体組織、光デバイスや電子デバイスといった各種デバイスなどが挙げられる。 FIG. 1 is a schematic configuration diagram showing an embodiment of an image processing apparatus. An image processing apparatus 1 shown in FIG. 1 is configured as an apparatus that generates a noise-removed image from which noise has been removed based on an original image acquired for a sample S. The sample S is not particularly limited, and examples thereof include biological tissues such as humans and animals, and various devices such as optical devices and electronic devices.
 画像処理装置1は、図1に示すように、カメラ2と、コンピュータ3とを備えて構成されている。カメラ2は、イメージセンサ4と、画像制御部5とを有している。イメージセンサ4は、例えばCCDイメージセンサ、CMOSイメージセンサ等の1次元或いは2次元センサである。イメージセンサ4は、対物レンズ6を通して結像光学系7で結像したサンプルSからの光Lを撮像し、撮像結果に基づくデジタル信号を画像制御部5に出力する。サンプルSからの光Lは、サンプルSの種類によって異なるが、例えばサンプルSから発生する蛍光等の発光、サンプルSでの反射光或いは透過光などである。 The image processing apparatus 1 includes a camera 2 and a computer 3 as shown in FIG. The camera 2 has an image sensor 4 and an image control unit 5. The image sensor 4 is a one-dimensional or two-dimensional sensor such as a CCD image sensor or a CMOS image sensor. The image sensor 4 images the light L from the sample S imaged by the imaging optical system 7 through the objective lens 6, and outputs a digital signal based on the imaging result to the image control unit 5. The light L from the sample S varies depending on the type of the sample S, and is, for example, light emission such as fluorescence generated from the sample S, reflected light or transmitted light from the sample S, and the like.
 画像制御部5は、イメージセンサ4からのデジタル信号に基づく画像処理を実行する。画像制御部5は、例えばCPU(Central Processing Unit)、GPU(Graphics Processing Unit)、或いはFPGA(field-programmable gate array)等によって構成されている。画像制御部5は、イメージセンサ4から受け取ったデジタル信号に基づいてデジタル画像を生成し、生成したデジタル画像に所定の画像処理を加えた上でコンピュータ3に出力する。以下の説明では、カメラ2からコンピュータ3に出力されたデジタル画像を「オリジナル画像」と称する。 The image control unit 5 executes image processing based on the digital signal from the image sensor 4. The image control unit 5 is configured by, for example, a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), or an FPGA (field-programmable Gate Array). The image control unit 5 generates a digital image based on the digital signal received from the image sensor 4, performs predetermined image processing on the generated digital image, and outputs the digital image to the computer 3. In the following description, a digital image output from the camera 2 to the computer 3 is referred to as an “original image”.
 コンピュータ3は、カメラ2から出力されるデジタル画像に対して画像処理を行い、ノイズが除去されたノイズ除去画像を生成する装置である。コンピュータ3は、有線又は無線により、カメラ2と相互に通信可能に接続されている。コンピュータ3は、例えばRAM、ROM等のメモリ、及びCPU等のプロセッサ、通信インターフェイス、ハードディスク等の格納部を備えて構成されている。かかるコンピュータとしては、例えばパーソナルコンピュータ、マイクロコンピュータ、クラウドサーバ、スマートデバイス(スマートフォン、タブレット端末など)などが挙げられる。 The computer 3 is a device that performs image processing on the digital image output from the camera 2 and generates a noise-removed image from which noise has been removed. The computer 3 is connected to the camera 2 so as to be communicable with each other by wire or wireless. The computer 3 includes, for example, a memory such as a RAM and a ROM, a processor such as a CPU, a communication interface, and a storage unit such as a hard disk. Examples of such computers include personal computers, microcomputers, cloud servers, smart devices (smartphones, tablet terminals, etc.), and the like.
 コンピュータ3には、モニタ等の表示装置8及びキーボード、マウス、タッチパネル等の入力装置9が接続されている。表示装置8には、コンピュータ3で処理された各種画像等が表示される。また、入力装置9からは、ユーザの操作に基づいて、動作の開始、条件設定といった各種入力情報がコンピュータ3に対して送信される。 A display device 8 such as a monitor and an input device 9 such as a keyboard, a mouse, and a touch panel are connected to the computer 3. Various images and the like processed by the computer 3 are displayed on the display device 8. In addition, various input information such as operation start and condition setting is transmitted from the input device 9 to the computer 3 based on a user operation.
 コンピュータ3は、カメラ2から入力されたオリジナル画像に基づいて、ノイズが除去されたノイズ除去画像を生成する画像処理部11を有している。画像処理部11は、FPGAのような集積回路によって構成されていてもよい。画像処理部11は、第1の処理部12と、第2の処理部13と、第3の処理部14と、第4の処理部15とを有している。第1の処理部12、第2の処理部13、及び第3の処理部14は、画像処理の第1ステージとして、デコンボリューション処理を実行する。また、第4の処理部15は、画像処理の第2ステージとして、デコンボリューション処理実行の後にノイズ除去処理を実行する。 The computer 3 has an image processing unit 11 that generates a noise-removed image from which noise has been removed based on the original image input from the camera 2. The image processing unit 11 may be configured by an integrated circuit such as an FPGA. The image processing unit 11 includes a first processing unit 12, a second processing unit 13, a third processing unit 14, and a fourth processing unit 15. The first processing unit 12, the second processing unit 13, and the third processing unit 14 execute deconvolution processing as the first stage of image processing. The fourth processing unit 15 executes noise removal processing after the deconvolution processing as the second stage of image processing.
 以下、画像処理部11による処理を含めた画像処理装置1の動作について説明する。 Hereinafter, the operation of the image processing apparatus 1 including processing by the image processing unit 11 will be described.
 図2は、画像処理装置1の動作の一例を示すフローチャートである。同図に示すように、画像処理装置1では、まず、カメラ2によるサンプルSの撮像が行われる(ステップS01)。カメラ2では、サンプルSのデジタル画像がオリジナル画像O(図4参照)として生成され、当該オリジナル画像がコンピュータ3に出力される(ステップS02)。 FIG. 2 is a flowchart showing an example of the operation of the image processing apparatus 1. As shown in the figure, in the image processing apparatus 1, the sample S is first imaged by the camera 2 (step S01). In the camera 2, a digital image of the sample S is generated as an original image O (see FIG. 4), and the original image is output to the computer 3 (step S02).
 オリジナル画像Oが入力されたコンピュータ3では、画像処理の第1ステージとして、デコンボリューション処理が実行される(ステップS03)。デコンボリューション処理では、第1の処理部12、第2の処理部13、及び第3の処理部14での各処理がこの順番に複数回繰り返し実行される。デコンボリューション処理の繰り返し数は、10回以上であることが好ましく、本実施形態では30回である。デコンボリューション処理の実行後、画像処理の第2ステージとして、第4の処理部15によるノイズ除去処理が実行される(ステップS04)。ノイズ除去処理の実行後、デコンボリューション処理が再実行される(ステップS05)。 In the computer 3 to which the original image O is input, deconvolution processing is executed as the first stage of image processing (step S03). In the deconvolution process, each process in the first processing unit 12, the second processing unit 13, and the third processing unit 14 is repeatedly executed in this order a plurality of times. The number of repetitions of the deconvolution process is preferably 10 times or more, and is 30 times in the present embodiment. After execution of the deconvolution processing, noise removal processing by the fourth processing unit 15 is executed as the second stage of image processing (step S04). After the noise removal process is executed, the deconvolution process is executed again (step S05).
 デコンボリューション処理の1stループでは、図3及び図4に示すように、まず、第1の処理部12において、オリジナル画像Oに基づく理想画像Iが生成される(ステップS11:第1のステップ)。理想画像Iの画素数には特に制限はなく、オリジナル画像Oの画素数と等しくてもよい。理想画像Iの画素数がオリジナル画像Oの画素数よりも多い場合には、オリジナル画像Oよりも分解能の高い画像(超解像画像)を得ることができる。デコンボリューション処理の1stループでは、例えばオリジナル画像Oを構成する各画素の画素値(輝度値)の平均値が初回の理想画像Iの各画素の画素値とされる。この場合、初回の理想画像Iは、各画素の画素値が一定の一様な画像となる。 In the 1st loop of the deconvolution process, as shown in FIGS. 3 and 4, first, the first processing unit 12 generates an ideal image I based on the original image O (step S11: first step). The number of pixels of the ideal image I is not particularly limited, and may be equal to the number of pixels of the original image O. When the number of pixels of the ideal image I is larger than the number of pixels of the original image O, an image (super-resolution image) with higher resolution than the original image O can be obtained. In the 1st loop of the deconvolution process, for example, the average value of the pixel values (luminance values) of each pixel constituting the original image O is set as the pixel value of each pixel of the first ideal image I. In this case, the first ideal image I is a uniform image in which the pixel value of each pixel is constant.
 初回の理想画像Iは、オリジナル画像Oの各画素の画素値に基づいて生成されることが好ましいが、オリジナル画像Oに基づかず、予め設定された画素値を各画素値とした一様な画像であってもよい。また、理想画像Iの画素数は、最終的に得られる画像(差分画像D)の画素数を決定するパラメータとなる。理想画像Iの画素数は、画像処理部11での処理速度等を考慮し、オリジナル画像の奇数倍(例えば3倍若しくは5倍程度)であることが好ましい。 The initial ideal image I is preferably generated based on the pixel value of each pixel of the original image O, but is not based on the original image O, and is a uniform image with pixel values set in advance. It may be. The number of pixels of the ideal image I is a parameter for determining the number of pixels of the finally obtained image (difference image D). The number of pixels of the ideal image I is preferably an odd number of times (for example, about 3 times or 5 times) of the original image in consideration of the processing speed in the image processing unit 11 and the like.
 理想画像Iの生成後、第1の処理部12において、点拡がり関数(Point spread function:以下「PSF」と称す)によって理想画像Iの畳み込み演算がなされ、予測画像Pが生成される(ステップS12:第1のステップ)。PSFは、レンズ等の光学素子が有するパラメータである。本処理で用いられるPSFは、使用する対物レンズ6等のPSFに基づいて、シミュレーションによって算出される。 After the generation of the ideal image I, the first processing unit 12 performs a convolution operation on the ideal image I with a point spread function (hereinafter referred to as “PSF”) to generate a predicted image P (step S12). : First step). PSF is a parameter possessed by an optical element such as a lens. The PSF used in this process is calculated by simulation based on the PSF of the objective lens 6 to be used.
 予測画像Pの生成後、第2の処理部13において、予測画像Pからオリジナル画像Oを差分する差分処理がなされ、エラー画像Eが生成される(ステップS13:第2のステップ)。次に、第3の処理部14において、エラー画像Eに基づく差分画像Dの生成がなされる(ステップS14:第3のステップ)。ここでは、まず、係数α(0<α<1)で乗算したPSFによってエラー画像Eの逆畳み込み演算がなされる。αは、デコンボリューション処理のループ数が増加するほど徐々に小さい値となる。 After the predicted image P is generated, the second processing unit 13 performs a difference process for subtracting the original image O from the predicted image P, and generates an error image E (step S13: second step). Next, the third processing unit 14 generates a difference image D based on the error image E (step S14: third step). Here, first, the deconvolution operation of the error image E is performed by the PSF multiplied by the coefficient α (0 <α <1). α gradually decreases as the number of deconvolution loops increases.
 差分画像Dの生成のための演算は、例えば下記の式(1)及び式(2)で表される(図5参照)。式(1)及び式(2)において、iは画素全体、kはPSFの定義域全体(=W)、Inは入力画素値(理想画像Iの画素値)、Outは出力画素値(差分画像Dの画素値)、αは係数、σはPSF、Eri+kはエラー画像Eの画素値、Loopはデコンボリューション処理のループ数である。
Figure JPOXMLDOC01-appb-M000001
…(1)
Figure JPOXMLDOC01-appb-M000002
…(2)
The calculation for generating the difference image D is expressed by, for example, the following formulas (1) and (2) (see FIG. 5). In equations (1) and (2), i is the entire pixel, k is the entire domain of the PSF (= W), In i is the input pixel value (pixel value of the ideal image I), and Out i is the output pixel value ( (Pixel value of difference image D), α is a coefficient, σ k is PSF, Er i + k is a pixel value of error image E, and Loop is the number of loops of deconvolution processing.
Figure JPOXMLDOC01-appb-M000001
... (1)
Figure JPOXMLDOC01-appb-M000002
... (2)
 差分画像Dの生成の後、画像処理部11により、デコンボリューション処理の繰り返し数が予め定められた所定回数に到達したか否かの判断がなされる(ステップS15)。ここでは、デコンボリューション処理のループ数が30回に到達した場合は処理が終了し、デコンボリューション処理のループ数が30回に満たない場合は、ステップS11~ステップS15の各処理が再実行される。2ndループ~29thループでは、図6に示すように、直前のループで得られた差分画像Dを新たな理想画像IとしてステップS11~ステップS15の各処理が再実行される。30thループでは、図7に示すように、最終的に差分画像Dが得られる。差分画像Dは、理想画像Iの画素数がオリジナル画像Oの画素数と等しい場合には、オリジナル画像Oと同じ分解能の画像となる。また、差分画像Dは、理想画像Iの画素数がオリジナル画像Oの画素数よりも多い場合には、オリジナル画像Oよりも分解能の高い画像(超解像画像)となる。 After the generation of the difference image D, the image processing unit 11 determines whether or not the number of repetitions of the deconvolution process has reached a predetermined number of times (step S15). Here, when the number of deconvolution process loops reaches 30, the process ends. When the number of deconvolution process loops is less than 30, each process of step S11 to step S15 is re-executed. . In the 2nd loop to the 29th loop, as shown in FIG. 6, the processing of steps S11 to S15 is re-executed with the difference image D obtained in the previous loop as the new ideal image I. In the 30th loop, a difference image D is finally obtained as shown in FIG. The difference image D is an image having the same resolution as the original image O when the number of pixels of the ideal image I is equal to the number of pixels of the original image O. Further, the difference image D is an image (super-resolution image) having a resolution higher than that of the original image O when the number of pixels of the ideal image I is larger than the number of pixels of the original image O.
 デコンボリューション処理に続くノイズ除去処理では、図8及び図9に示すように、第4の処理部15において、上述したデコンボリューション処理で得られたノイズ画像Nによるオリジナル画像Oの差分処理がなされる(ステップS21:第4のステップ)。上記デコンボリューション処理では、ノイズは、理想画像Iとは無関係であるため、デコンボリューション処理を十分なループ数で繰り返したとしても、エラー画像Eにノイズが残存し得る。ここでは、例えばデコンボリューション処理の30thループで得られたエラー画像Eがノイズ画像Nとして用いられ、オリジナル画像Oからノイズ画像Nを差分処理することにより、ノイズが除去された修正オリジナル画像(ノイズ除去画像)OCが生成される(ステップS22:第4のステップ)。 In the noise removal process following the deconvolution process, as shown in FIGS. 8 and 9, the fourth processing unit 15 performs a difference process of the original image O by the noise image N obtained by the deconvolution process described above. (Step S21: Fourth step). In the deconvolution process, noise is not related to the ideal image I. Therefore, even if the deconvolution process is repeated with a sufficient number of loops, noise may remain in the error image E. Here, for example, the error image E obtained in the 30th loop of the deconvolution process is used as the noise image N, and the noise image N is subjected to differential processing from the original image O, thereby correcting the original image (noise removal). (Image) OC is generated (step S22: fourth step).
 この修正オリジナル画像OCは、ステップS05におけるデコンボリューション処理の再実行(図2参照)の際に元のオリジナル画像Oと置き換えられる。すなわち、ステップS05では、修正オリジナル画像OCを新たなオリジナル画像として、ステップS11~ステップS15の各処理が複数回繰り返し実行される。これにより、理想画像Iの画素数がオリジナル画像Oの画素数よりも多い場合には、ステップS03で得られる差分画像Dに対して、ノイズが除去され且つ更に解像度の高い差分画像Dを得ることができる。なお、ノイズ除去処理及びノイズ除去処理後のデコンボリューション処理は、複数回繰り返し実行される態様であってもよい。 This modified original image OC is replaced with the original image O when the deconvolution process is re-executed (see FIG. 2) in step S05. That is, in step S05, each process of step S11 to step S15 is repeatedly executed a plurality of times using the modified original image OC as a new original image. Thereby, when the number of pixels of the ideal image I is larger than the number of pixels of the original image O, noise is removed from the difference image D obtained in step S03, and a difference image D with higher resolution is obtained. Can do. Note that the noise removal process and the deconvolution process after the noise removal process may be repeatedly executed a plurality of times.
 オリジナル画像Oの修正のための演算は、例えば下記の式(3)及び式(4)で表される(図10参照)。式(3)及び式(4)において、iは画素全体、Inは入力画素値(オリジナル画像Oの画素値)、Outは出力画素値(修正オリジナル画像OCの画素値)、Erはエラー画像Eの画素値、Loopはノイズ除去処理のループ数、abs(Er)はエラー強度の絶対値、S.D.はエラー強度の標準偏差、Levelは修正レベルである。この例では、Levelは、ノイズ除去処理のループ数が増加するほど徐々に小さい値となる。
Figure JPOXMLDOC01-appb-M000003
…(3)
Figure JPOXMLDOC01-appb-M000004
…(4)
The calculation for correcting the original image O is expressed by, for example, the following formulas (3) and (4) (see FIG. 10). In equations (3) and (4), i is the entire pixel, In i is the input pixel value (pixel value of the original image O), Out i is the output pixel value (pixel value of the modified original image OC), and Er i is The pixel value of the error image E, Loop is the number of noise removal loops, abs (Er) is the absolute value of the error intensity, S.P. D. Is the standard deviation of the error intensity, and Level is the correction level. In this example, Level gradually decreases as the number of noise removal processing loops increases.
Figure JPOXMLDOC01-appb-M000003
... (3)
Figure JPOXMLDOC01-appb-M000004
(4)
 図11は、画像処理プログラム及びその記録媒体の一例を示すブロック図である。同図の例では、画像処理プログラム21は、メインモジュール22と、画像処理モジュール23とを備えている。また、画像処理モジュール23は、第1の処理モジュール24と、第2の処理モジュール25と、第3の処理モジュール26と、第4の処理モジュール27とを有している。画像処理プログラム21の実行によってコンピュータで実現される機能は、上述した画像処理部11の機能と同様である。画像処理プログラム21は、例えばCD-ROM、DVDもしくはROM等のコンピュータ読み取り可能な記録媒体28によって提供される。画像処理プログラム21は、半導体メモリによって提供されてもよく、ネットワークを介し、搬送波に重畳されたコンピュータデータ信号として提供されてもよい。 FIG. 11 is a block diagram showing an example of an image processing program and its recording medium. In the example of FIG. 2, the image processing program 21 includes a main module 22 and an image processing module 23. The image processing module 23 includes a first processing module 24, a second processing module 25, a third processing module 26, and a fourth processing module 27. The functions realized by the computer by executing the image processing program 21 are the same as the functions of the image processing unit 11 described above. The image processing program 21 is provided by a computer-readable recording medium 28 such as a CD-ROM, DVD or ROM. The image processing program 21 may be provided by a semiconductor memory, or may be provided as a computer data signal superimposed on a carrier wave via a network.
 以上説明したように、この画像処理方法では、デコンボリューション処理のループで得られた差分画像Dを新たな理想画像Iとしてデコンボリューション処理の次のループを実行する。このループを繰り返し実行することで、エラーが最小化するように理想画像Iが徐々に修正され、理想画像Iを真の値に近づけることができる。また、この処理では、オリジナル画像Oのノイズは理想画像Iとは無関係であるため、デコンボリューション処理のループを複数回繰り返すことで、エラー画像Eをオリジナル画像O中のノイズを表すノイズ画像Nに近づけることができる。したがって、オリジナル画像Oからノイズ画像Nを差分処理することにより、ノイズ除去がなされた修正オリジナル画像OCを得ることができる。 As described above, in this image processing method, the next loop of the deconvolution process is executed with the difference image D obtained in the deconvolution process loop as the new ideal image I. By repeatedly executing this loop, the ideal image I is gradually corrected so as to minimize the error, and the ideal image I can be brought close to a true value. In this process, since the noise of the original image O is not related to the ideal image I, the error image E is changed to a noise image N representing the noise in the original image O by repeating the deconvolution loop a plurality of times. You can get closer. Therefore, by performing a differential process on the noise image N from the original image O, it is possible to obtain a modified original image OC from which noise has been removed.
 また、本実施形態では、デコンボリューション処理の第1のステップにおいて、オリジナル画像Oに基づいて初回の理想画像Iを生成している。具体的には、オリジナル画像Oの各画素の画素値の平均値を初回の理想画像Iの各画素の画素値としている。これにより、初回の理想画像Iがオリジナル画像Oから大きく乖離してしまうことを防止できる。 In this embodiment, the first ideal image I is generated based on the original image O in the first step of the deconvolution process. Specifically, the average value of the pixel values of each pixel of the original image O is used as the pixel value of each pixel of the initial ideal image I. Thereby, it is possible to prevent the first ideal image I from greatly deviating from the original image O.
 また、本実施形態では、デコンボリューション処理の第1のステップ~第3のステップを10回以上繰り返しており、デコンボリューション処理の第1のステップ~第3のステップの繰り返しを行う度に第3のステップで用いる係数αを徐々に小さくしている。これにより、エラーが最小化するような理想画像Iの修正を好適に実行できる。したがって、エラー画像Eをオリジナル画像O中のノイズを表すノイズ画像Nに一層十分に近づけることができるので、オリジナル画像Oからのノイズ除去を精度良く実施できる。 In the present embodiment, the first to third steps of the deconvolution process are repeated ten times or more, and the third step is repeated each time the first to third steps of the deconvolution process are repeated. The coefficient α used in the step is gradually reduced. Thereby, the correction of the ideal image I that minimizes the error can be suitably executed. Therefore, the error image E can be made sufficiently closer to the noise image N representing the noise in the original image O, so that noise removal from the original image O can be performed with high accuracy.
 本開示は、上記実施形態に限られるものではない。例えば上記実施形態では、コンピュータ3側に画像処理部11が設けられた画像処理装置1を例示したが、図12に示す画像処理装置31のように、カメラ2側に画像処理部11が設けられた構成を採用してもよい。また、画像処理装置は、画像処理部11を有するカメラ若しくはコンピュータを有する顕微鏡として構成されていてもよい。 The present disclosure is not limited to the above embodiment. For example, in the above embodiment, the image processing apparatus 1 provided with the image processing unit 11 on the computer 3 side is illustrated, but the image processing unit 11 is provided on the camera 2 side like the image processing apparatus 31 illustrated in FIG. Other configurations may be adopted. The image processing apparatus may be configured as a microscope having a camera or computer having the image processing unit 11.
 1,31…画像処理装置、11…画像処理部、12…第1の処理部、13…第2の処理部、14…第3の処理部、15…第4の処理部、O…オリジナル画像、I…理想画像、P…予測画像、E…エラー画像、D…差分画像、N…ノイズ画像、OC…修正オリジナル画像(ノイズ除去画像)。 DESCRIPTION OF SYMBOLS 1,31 ... Image processing apparatus, 11 ... Image processing part, 12 ... 1st processing part, 13 ... 2nd processing part, 14 ... 3rd processing part, 15 ... 4th processing part, O ... Original image , I ... ideal image, P ... predicted image, E ... error image, D ... difference image, N ... noise image, OC ... modified original image (noise-removed image).

Claims (11)

  1.  オリジナル画像からノイズを除去する画像処理方法であって、
     予め設定された理想画像を点拡がり関数によって畳み込み演算して予測画像を生成する第1のステップと、
     前記予測画像から前記オリジナル画像を差分処理してエラー画像を生成する第2のステップと、
     前記エラー画像を係数α(0<α<1)で乗算した点拡がり関数によって逆畳み込み演算し、前記理想画像から当該逆畳み込み演算後の画像を差分処理して差分画像を生成する第3のステップと、
     前記差分画像を新たな理想画像として前記第1のステップ~前記第3のステップを複数回繰り返してノイズ画像を得た後、前記オリジナル画像から前記ノイズ画像を差分処理してノイズ除去画像を得る第4のステップと、を備える画像処理方法。
    An image processing method for removing noise from an original image,
    A first step of generating a predicted image by convolving a preset ideal image with a point spread function;
    A second step of differentially processing the original image from the predicted image to generate an error image;
    A third step of performing a deconvolution operation by a point spread function obtained by multiplying the error image by a coefficient α (0 <α <1) and performing a difference process on the image after the deconvolution operation from the ideal image to generate a difference image. When,
    After obtaining the noise image by repeating the first step to the third step a plurality of times using the difference image as a new ideal image, the noise image is subjected to difference processing from the original image to obtain a noise-removed image. And an image processing method.
  2.  前記第1のステップでは、前記オリジナル画像に基づいて初回の理想画像を生成する請求項1記載の画像処理方法。 The image processing method according to claim 1, wherein in the first step, an initial ideal image is generated based on the original image.
  3.  前記第1のステップでは、前記オリジナル画像の各画素の画素値の平均値を前記初回の理想画像の各画素の画素値とする請求項2記載の画像処理方法。 3. The image processing method according to claim 2, wherein in the first step, an average value of pixel values of each pixel of the original image is used as a pixel value of each pixel of the initial ideal image.
  4.  前記第1のステップ~前記第3のステップを10回以上繰り返す請求項1~3のいずれか一項記載の画像処理方法。 4. The image processing method according to claim 1, wherein the first step to the third step are repeated 10 times or more.
  5.  前記第1のステップ~前記第3のステップの繰り返しを行う度に前記第3のステップで用いる前記係数αを徐々に小さくしていく請求項1~4のいずれか一項記載の画像処理方法。 5. The image processing method according to claim 1, wherein the coefficient α used in the third step is gradually reduced every time the first step to the third step are repeated.
  6.  オリジナル画像からノイズを除去する画像処理部を備えた画像処理装置であって、
     前記画像処理部は、
     予め設定された理想画像を点拡がり関数によって畳み込み演算して予測画像を生成する第1の処理部と、
     前記予測画像から前記オリジナル画像を差分処理してエラー画像を生成する第2の処理部と、
     前記エラー画像を係数α(0<α<1)で乗算した点拡がり関数によって逆畳み込み演算し、前記理想画像から当該逆畳み込み演算後の画像を差分処理して差分画像を生成する第3の処理部と、
     前記差分画像を新たな理想画像として前記第1の処理部~前記第3の処理部の各処理を複数回繰り返してノイズ画像を得た後、前記オリジナル画像から前記ノイズ画像を差分処理してノイズ除去画像を得る第4の処理部とを有する画像処理装置。
    An image processing apparatus including an image processing unit that removes noise from an original image,
    The image processing unit
    A first processing unit that generates a predicted image by performing a convolution operation on a preset ideal image using a point spread function;
    A second processing unit that generates an error image by differentially processing the original image from the predicted image;
    Third processing for generating a difference image by performing a deconvolution operation by a point spread function obtained by multiplying the error image by a coefficient α (0 <α <1) and performing a difference process on the image after the deconvolution operation from the ideal image. And
    The difference image is used as a new ideal image, and each process of the first processing unit to the third processing unit is repeated a plurality of times to obtain a noise image, and then the noise image is subjected to difference processing from the original image to obtain a noise image. An image processing apparatus comprising: a fourth processing unit that obtains a removed image.
  7.  前記第1の処理部は、前記オリジナル画像に基づいて初回の理想画像を生成する請求項6記載の画像処理装置。 The image processing apparatus according to claim 6, wherein the first processing unit generates an initial ideal image based on the original image.
  8.  前記第1の処理部は、前記オリジナル画像の各画素の画素値の平均値を前記初回の理想画像の各画素の画素値とする請求項7記載の画像処理装置。 The image processing device according to claim 7, wherein the first processing unit uses an average value of pixel values of each pixel of the original image as a pixel value of each pixel of the initial ideal image.
  9.  前記画像処理部は、前記第1の処理部~前記第3の処理部の各処理を10回以上繰り返す請求項6~8のいずれか一項記載の画像処理装置。 The image processing apparatus according to any one of claims 6 to 8, wherein the image processing unit repeats each process of the first processing unit to the third processing unit 10 times or more.
  10.  前記画像処理部は、前記第1の処理部~前記第3の処理部の各処理を繰り返し行う度に前記第3の処理部で用いる前記係数αを徐々に小さくしていく請求項6~9のいずれか一項記載の画像処理装置。 The image processing unit gradually decreases the coefficient α used in the third processing unit every time the processes of the first processing unit to the third processing unit are repeated. The image processing device according to any one of the above.
  11.  オリジナル画像からノイズを除去する画像処理プログラムであって、
     予め設定された理想画像を点拡がり関数によって畳み込み演算して予測画像を生成する第1の処理と、
     前記予測画像から前記オリジナル画像を差分処理してエラー画像を生成する第2の処理と、
     前記エラー画像を係数α(0<α<1)で乗算した点拡がり関数によって逆畳み込み演算し、前記理想画像から当該逆畳み込み演算後の画像を差分処理して差分画像を生成する第3の処理と、
     前記差分画像を新たな理想画像として前記第1の処理~前記第3の処理の各処理を複数回繰り返してノイズ画像を得た後、前記オリジナル画像から前記ノイズ画像を差分処理してノイズ除去画像を得る第4の処理と、をコンピュータに実行させる画像処理プログラム。
    An image processing program for removing noise from an original image,
    A first process for generating a predicted image by convolving a preset ideal image with a point spread function;
    A second process for generating an error image by differentially processing the original image from the predicted image;
    Third processing for generating a difference image by performing a deconvolution operation by a point spread function obtained by multiplying the error image by a coefficient α (0 <α <1) and performing a difference process on the image after the deconvolution operation from the ideal image. When,
    After obtaining the noise image by repeating each of the first to third processes a plurality of times using the difference image as a new ideal image, the noise image is subjected to difference processing from the original image to obtain a noise-removed image. An image processing program for causing a computer to execute a fourth process for obtaining
PCT/JP2018/044067 2018-02-20 2018-11-29 Image processing method, image processing device, and image processing program WO2019163244A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018-027912 2018-02-20
JP2018027912A JP2019144808A (en) 2018-02-20 2018-02-20 Image processing method, image processing device, and image processing program

Publications (1)

Publication Number Publication Date
WO2019163244A1 true WO2019163244A1 (en) 2019-08-29

Family

ID=67687432

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2018/044067 WO2019163244A1 (en) 2018-02-20 2018-11-29 Image processing method, image processing device, and image processing program

Country Status (2)

Country Link
JP (1) JP2019144808A (en)
WO (1) WO2019163244A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11087441B1 (en) * 2020-01-30 2021-08-10 Mitsubishi Electric Research Laboratories, Inc. Image reconstruction using artificial intelligence (Ai) modules agnostic to image acquisition settings

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009181508A (en) * 2008-01-31 2009-08-13 Sharp Corp Image processing device, inspection system, image processing method, image processing program, computer-readable recording medium recording the program
JP2011180798A (en) * 2010-03-01 2011-09-15 Sony Corp Image processing apparatus, image processing method, and program
JP2011237998A (en) * 2010-05-10 2011-11-24 Sony Corp Image processing device, and image processing method and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009181508A (en) * 2008-01-31 2009-08-13 Sharp Corp Image processing device, inspection system, image processing method, image processing program, computer-readable recording medium recording the program
JP2011180798A (en) * 2010-03-01 2011-09-15 Sony Corp Image processing apparatus, image processing method, and program
JP2011237998A (en) * 2010-05-10 2011-11-24 Sony Corp Image processing device, and image processing method and program

Also Published As

Publication number Publication date
JP2019144808A (en) 2019-08-29

Similar Documents

Publication Publication Date Title
JP4799428B2 (en) Image processing apparatus and method
JP5909540B2 (en) Image processing display device
Likar et al. Retrospective shading correction based on entropy minimization
US8649628B2 (en) Adaptive PSF estimation technique using a sharp preview and a blurred image
US11188777B2 (en) Image processing method, image processing apparatus, learnt model manufacturing method, and image processing system
Chen et al. Alternating direction method of multipliers for nonlinear image restoration problems
JP2018195069A (en) Image processing apparatus and image processing method
US20110033132A1 (en) Image correction apparatus and image correction method
JP2017010095A (en) Image processing apparatus, imaging device, image processing method, image processing program, and recording medium
CN110796624B (en) Image generation method and device and electronic equipment
JP6344934B2 (en) Image processing method, image processing apparatus, imaging apparatus, image processing program, and recording medium
Askari Javaran et al. Using a blur metric to estimate linear motion blur parameters
WO2019163244A1 (en) Image processing method, image processing device, and image processing program
Sanghvi et al. Photon-limited blind deconvolution using unsupervised iterative kernel estimation
US20170032501A1 (en) Image processing apparatus, image capturing apparatus, and storage medium that stores image processing program
WO2019163243A1 (en) Image processing method, image processing device, and image processing program
JP2017010094A (en) Image processing apparatus, imaging device, image processing method, image processing program, and recording medium
JP6624061B2 (en) Image processing method, image processing device, and recording medium for storing image processing program
CN108537786B (en) Method and apparatus for processing image
Ko et al. Low cost blur image detection and estimation for mobile devices
JP2020021314A (en) Image processing system and image processing method
JP6647394B2 (en) Image processing apparatus, image processing program, image processing method, image transmission / reception system, and image transmission / reception method
JP2014099048A (en) Image restoration device and image restoration method
Abang et al. Application of blind deconvolution and Lucy-Richardson Deconvolution for image deblurring
Javaran Blur length estimation in linear motion blurred images using evolutionary algorithms

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18907188

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18907188

Country of ref document: EP

Kind code of ref document: A1