The preferred embodiment and other aspects of the invention will become apparent from the following detailed description of the invention when read in conjunction with the accompanying drawings, which are provided for the purpose of describing embodiments of the invention and not for limiting same, in which:
The basic spatial-temporal model estimation processing flow is shown in
The Spatial-temporal Model estimation could be improved when using different confidence weights for different time points. In a subcellular assay, it is known that the pixel intensities do not fluctuate rapidly. If the intensity value of the pixel at a time point is significantly different from the pixel intensities of the previous and the next time points, the pixel may be given low confidence for model estimation. Spatial-Temporal Regulation (STR) makes use of the distribution within each object of the adjacent frame temporal intensity difference, ΔFt(x,y), to identify those low-confident pixels. The unreliable pixels are discounted from feature measurements by assigning very low weights, wt, for that time frame.
The processing flow for the spatial-temporal regulation method is shown in
The spatial temporal sequence input is processed by a computerized spatial-temporal weight regulation step 204 to generate weight sequence 200 for weighted model estimation 202. The weighted model estimation 202 outputs at least one model parameter 102.
In one embodiment of the invention, the spatial-temporal weight regulation method determines weight sequence using spatial-temporal confidence based regulation. The spatial-temporal confidence based regulation method generates a spatial-temporal confidence sequence Ct(x, y) integrating the object confidence mask St(x, y) and temporal confidence sequence Tt(x, y).
In one embodiment of the invention wherein the image pixel is 8 bit deep and the temporal confidence sequence, Tt(x,y), is calculated by
T
t(x, y)=255−(255×ΔFt(x, y))
where the variation of the adjacent frame temporal intensity, ΔFt(x,y), is defined by
Since the temporal confidence, Tt(x,y), has to be greater than 0, we set Tt(x,y)=max(0, Tt(x,y)).For the second frame and the second to last frame, only two intensity variations are involved to get temporal confidence Tt(x,y). Those ordinary skill in the art should recognize that other methods of temporal confidence sequence generation could be applied within the scope of this invention.
In one embodiment of the invention, the integration can be done by multiplication assuming the confidence are independently derived:
C
t(x, y)=St(x, y)×Tt(x, y)
Other integration method such as linear combination, division (normalization) can also be used for integration.
The confidence sequence is used to create the weight sequence. In one embodiment of the invention, the weight sequence, wt, is derived by accumulating the confidence values for the object as follows:
where Cmax(x, y): the maximum value of Ct.
In this embodiment, wt is the summation of the confidence for all pixels of the object. The summation is normalized by dividing it by the summation of the maximum spatial-temporal confidence value in the object.
In one embodiment of the invention, the modified nonlinear regression method is used for model parameter estimation. The modification allows weighted fitting. This method is general purpose and is applicable to other model estimation not just for the destaining model.
In the destining model example, to find the optimized I(ti)=Ae−αt
To minimize this cost function, the derivatives to the three parameters are set to zero. That is,
The solution are done in three steps:
the α derivative of the cost function c is calculated as follows:
By arranging the formula, we can define a function ƒ(α)
ƒ(α)=A<te−2αt>w+B<te−αt>w−<yte−αt>w
α is determined by solving ƒ(α)=0. This is performed by a nonlinear regression procedure.
The flow chart for finding the optimal α is shown in
The model estimation is improved with appropriate temporal confidence values based on their reliabilities. The confidence values are determined iteratively from the previous iteration fitting result. The processing flow for the iterative improvement method for model estimation is shown in
The τ fitting result at one iteration including the input data and the estimated result. The iterative weight update method updated the weights for the data points wherein the data with large errors are given smaller weights. The updated weights will be used for the model estimation in the next iteration.
In one embodiment of the invention, the steps for the iterative improvement method for model estimation are listed as follows:
To assign appropriated weight values to each time point, we used exponential function so that it can discriminate higher confidence from lower one effectively. If the error, which is derived from the difference between the actual intensity and the estimated intensity by τ estimation, is smaller, much lower weight value is mapped by the exponential function than the linear function.
The spatial-temporal regulation method and the iterative improvement method can be combined for improved model estimation as shown in
The iterative improvement method has ability to identify and reduce the temporal image frame with large errors by adjusting their weight values. This is a passive approach. It changes the way the data is used but it does not change the data even if they are in error.
The data assurance method of this invention is an active approach. In this approach, if a point with large error is detected and the error is determined as an outlier, the data is disqualified for model estimation. Alternatively, the error of the data is corrected and the corrected data is used for updated model estimation. One large source of measurement error is caused by the spatial positional shift of the object between time frames. This could be due to the movement of the objects and/or the camera and/or the positioning system. Therefore, the data integrity assurance method searches the misplaced objects in the neighborhood and restores them for model estimation update.
The processing flow for the data integrity assurance is shown in
The outlier data identification step identifies the temporal image frames with large error. The error between the estimation result derived from the estimated model parameter and the real value from the spatial temporal sequence is calculated. If the error is larger than a threshold, the error is considered as an outlier, and the data point is subjected to the spatial-temporal data integrity check.
One large source of measurement error is caused by the spatial position shifting of the object between different time-lapse frames. This could be due to the movement of the objects and/or the camera and/or the positioning system. Therefore, in one embodiment of the invention, the spatial-temporal data integrity check first identifies the image frame that introduces the large error. It then checks the temporal variation values of the object around the frame. If the temporal variation values are significantly greater than the average value of the object, the data is potentially not a true outlier. In this case, we can shift and re-measure the object feature for multiple shift positions around this temporal frame. The new feature values after the position shifts are used to further determine the outlier data status.
If at least one of the new values makes the data become a non-outlier, the data is considered not a true outlier and the best (closest to the model) new (shifted) value replaces the old one for model estimation. This is performed by the spatial-temporal data correction step. If all new values are also outliers, the data is considered a true outlier and it is disqualified from the model fitting.
This invention allows a model adequacy regulation step to identify multiple populations when data points that appear to be outliers are in fact members of distinctive populations. When there are many true outliers detected by the iterative method, the model adequacy regulation process performs a new model fitting for the true outliers. If a significant number of previous outliers can be fitted into a new model, the new model is considered a different population.
Our iterative model estimation method performs the model fitting to the dominant model parameter, and leaves the data points with non-dominant model parameter as outliers. By repetition, the result of the model estimation comes closer to the dominant model parameter. Since the initial model parameter estimation is based on the combination of multiple model parameter population it is difficult to detect a new model in the first estimation. However, the iterative method drives estimated model parameter closer to the dominant model parameter value out of the multiple populations after repetition.
The invention has been described herein in considerable detail in order to comply with the Patent Statutes and to provide those skilled in the art with the information needed to apply the novel principles and to construct and use such specialized components as are required. However, it is to be understood that the inventions can be carried out by specifically different equipment and devices, and that various modifications, both as to the equipment details and operating procedures, can be accomplished without departing from the scope of the invention itself.