0

我有一个非常大的图像,我想用一个小模板 (T) 扫描它并存储在数据库中,然后使用该数据库进行图像重建。但是,如果我想扫描所有图像,我的模式数据库的大小会非常大。是否有任何解决方案可以减少模式数据库的大小?或者,有没有什么方法可以扫描图像来制作一个更小但更丰富的图案数据库?

4

1 回答 1

2

You could run PCA on your template database to generate an alternate orthogonal template basis. All of your original templates are linear combinations of these basis templates. Since convolution is a linear operation you can convolve the image with each of the basis templates and recombine the results using the appropriate weights the get the results you would have gotten with each of the original templates.

PCA is usually used for dimensionality reduction, and so, you can choose just the first N basis templates as your approximate alternate templates. These should give a good approximation for the original DB but with reduced computational time.

N should be determined by the magnitude of the eigen-value corresponding to the selected basis eigen-vector (template).

于 2012-09-04T05:41:07.310 回答