Compressed sensing based fresh water algae hologram image enhancing and method for reconstructing
Technical field
The present invention relates to hologram image super-resolution rebuilding technology, in particular to a kind of compressed sensing based fresh water algae
Hologram image enhancing and method for reconstructing.
Background technique
Have that noise is excessive, contrast is not high, resolution ratio using the algae hologram image that no lens holographic imaging apparatus obtains
The defects of too low and twin image interference, leads to that it is complete no lens cannot be hindered accurately to fresh water algae cell classification and counting
Cease the target that imaging device is applied to fresh water detection.Therefore enhancing and improve image image quality is that holographic imaging, image procossing etc. are ground
Study carefully an important research content in field, research achievement has important application meaning in fields such as cell detection, holographic imagings
Justice.
Traditional enhancing without lens hologram image generallys use the method for synthetic aperture with method for reconstructing to improve image
Resolution ratio obtains the low resolution of several sub-pixed mappings displacement since the method process of synthetic aperture is the displacement in control light source aperture
Rate hologram handles to obtain high-definition picture by the synthesis in later period.Device is not only increased in this way, is unfavorable for realization device
Simple, the easily operated and high imaging efficiency target of structure, and registration can inaccurately be such that reconstructed image quality sharply declines.
Summary of the invention
The purpose invented herein is to provide the compressed sensing based method for improving fresh water algae hologram image image quality, improves
The image quality for the fresh water algae hologram image that no lens holographic apparatus obtains, image definition and contrast all obtain certain enhancing
While, the noise that image includes is eliminated, is laid a good foundation for the classification of fresh water algae cell with counting.
In order to solve the above-mentioned technical problem, the present invention uses following technical scheme.A kind of compressed sensing based algae
The enhancing of class hologram image and method for reconstructing, comprising the following steps:
1) fresh water algae hologram image is obtained using no lens holographic imaging apparatus;
2) it is made an uproar using Savitzky-Golay smoothing filter (abbreviation S-G filter) and histogram equalization removal image
Sound and enhancing picture contrast;
3) pass through the super-resolution rebuilding side of the single image based on compressed sensing (Compressive Sensing, CS)
Method improves the resolution ratio of hologram image, and its step are as follows:
A) Super-resolution Reconstruction problem model is established according to image:
Y=SFHGFΨx%=SFHGFx; (1)
In formula: F is Fourier transform matrix, plays the role of from transform of spatial domain changing image in frequency domain into and handles;
X=Ψ x%, in which: Ψ is transformation basic matrix, x%What is then represented is expression formula of the x in sparse domain;
G is low-pass filter, and S is down-sampling matrix, and y is the hologram image to super-resolution rebuilding, and x is super-resolution
Hologram image after reconstruction;
B) process for solving x is to solve the process without constraint convex programming, that is, seeks the minimum value of objective function f (x):
In formula: right side of the equal sign first item indicates the goodness of fit of observation data;Φ (x) in Section 2 is to be able to maintain image
The contrast at edge and the TV regularizing operator of acutance;λ > 0 is regularization parameter;
C) formula (2) are solved using two step iterative shrinkage algorithms and obtains the hologram image after x- i.e. super-resolution rebuilding;
4) hologram image is subjected to the reconstruction of hologram to restore fresh water using the method for angular spectrum reconstruction of hologram combination auto-focusing
The actual profile structure of alga cells;Its step are as follows:
A) the diffraction transmission function of frequency domain is calculated:
In formula: fxAnd fyWhat is represented is spatial frequency both horizontally and vertically, and n is the refractive index of transmission medium, z2To spread out
Penetrate propagation distance;
B) z is set20.7~3mm of value range, same intervals value 100 times;
C) every same intervals take a z2Value after, using formula (3) to the image x after super-resolution rebuilding this position into
The row reconstruction of hologram;
D) reconstruction of hologram image gradient of this position is calculated using Sobel operator, and acquires TEG focusing quantization function F's
Value, compares the size of F value, when the value maximum of F, obtains best reconstruction of hologram image;
5) noise formed using the twin image that the removal of iteration elimination method remains in alga cells image peripheral.
The present invention more can improve to specific aim, validity the image quality of fresh water algae hologram image, and what method was realized answers
Miscellaneous degree is lower.And in the case where being only capable of obtaining single image, tradition is also able to achieve based on multiple image and matches super-resolution
The improvement of the image image quality of reconstruction, so that reducing structure complexity and function without lens holographic imaging apparatus realizes hardly possible
Degree.
Detailed description of the invention
Fig. 1 is the holographic original image of the CCD record in no lens holographic imaging apparatus;
Fig. 2 is the holographic original image after S-G filtering processing and histogram equalization enhancing;
Fig. 3 a1~Fig. 3 b2 is the effect contrast figure that partial region carries out after super-resolution rebuilding in Fig. 2;
Wherein: Fig. 3 a1, Fig. 3 a2 are the holographic original images before and after super-resolution rebuilding;Fig. 3 b1, Fig. 3 b2 are holographic original images
The reconstruction of hologram figure of removal background area before and after super-resolution rebuilding;
Fig. 4 a is that Fig. 3 a2 carries out the holographic phase figure obtained after twin image removal;
Fig. 4 b is the reconstruction of hologram figure that Fig. 4 a carries out reconstruction of hologram acquisition;
Fig. 5 is that Fig. 2 carries out the image obtained after super-resolution rebuilding, twin image removal and the reconstruction of hologram.
Specific embodiment
Below in conjunction with drawings and examples, the invention will be further described.Referring to Fig. 1 to Fig. 5, one kind is based on compression sense
The improvement fresh water algae hologram image image quality method known, is below illustrated the detailed process of method:
1) fresh water algae holography original image is obtained using no lens holographic imaging apparatus, as shown in Figure 1.
2) processing of contrast is filtered and enhanced to Fig. 1 using S-G smoothing filter and histogram equalization, is handled
Effect is as shown in Figure 2.
3) regional area intercepted in Fig. 2 obtains Fig. 3 a1, then according to compressed sensing based single image super-resolution
Method for reconstructing, which programs and carries out super-resolution rebuilding to Fig. 3 a1, obtains Fig. 3 a2 that resolution ratio is improved, due to image
The particularity of itself, the difference for improving resolution ratio front and back image can not be found out by only relying on naked eyes, in order to prove the validity of algorithm,
The method of focusing precision ranging is combined to carry out the cell of the same area in Fig. 3 a1 and Fig. 3 a2 using the angular spectrum reconstruction of hologram holographic
It reproduces and removes image background regions and obtain Fig. 3 b1 and Fig. 3 b2, found from two images, utilize compressed sensing based single width
The picture quality that the method for image super-resolution rebuilding mentions the reconstruction of hologram image of high-resolution hologram image is obviously mentioned
Height, cell edges crenellated phenomena are reduced, and clarity is promoted.
4) hologram image that a width is interfered without twin image is obtained after being handled using iteration elimination method Fig. 3 a2, is imitated
Fruit as shown in fig. 4 a, combines the method for focusing precision ranging to carry out the reconstruction of hologram to Fig. 4 a and obtains using the angular spectrum reconstruction of hologram later
Fig. 4 b, it can be seen that the interference of twin image significantly reduces, and eucaryotic cell structure is clear-cut visible.
5) step 4 is repeated to Fig. 2 and obtains Fig. 5, three cell compartments in Fig. 5 are amplified, it can from magnification region
It arrives, cell detailed information is still retained well, this haves laid a good foundation for later period fresh water algae cell.