curve fitting to remove the obscure pixels

4 ビュー (過去 30 日間)
Yazan Awwad
Yazan Awwad 2014 年 1 月 7 日
コメント済み: Image Analyst 2014 年 1 月 7 日
I have a series of 180 images obtained using an ultrasound machine. I performed image registration on them (all the images are of the same object and they are aligned now). I was wondering how i would be able to apply curve fitting between these images to remove the obscure pixels. like i noticed that some pixels have a high pixel value in some images and some images have low pixels values of the same pixels. Any help would be appreciated. Thank you, Yazan

回答 (2 件)

Matt J
Matt J 2014 年 1 月 7 日
I imagine median-filtering the data in those pixels might be easier than curve-fitting.
  2 件のコメント
Yazan Awwad
Yazan Awwad 2014 年 1 月 7 日
median filtering the data blurred the image, I took the average of the 180 images and the resulted one was blurred which is not favored in my case
Matt J
Matt J 2014 年 1 月 7 日
編集済み: Matt J 2014 年 1 月 7 日
I assume your images are arranged as an array I(i,j,k) where k=1...180.
The intention was that you median filter along the k-axis, not across neighbouring i,j. Moreover, you should be doing it only for (i,j) coordinates where your bad pixels are located, something we presume you know.
I took the average of the 180 images and the resulted one was blurred which is not favored in my case
There may be problems with your registration accuracy in that case.

サインインしてコメントする。


Image Analyst
Image Analyst 2014 年 1 月 7 日
Try a modified median filter where you replace each pixel by the median if the pixel is more than some number different than the median. So it doesn't blur because not every pixel is being replaced - only real outliers are being replaced. I think that's what I do in the attached salt and pepper noise demos (one for color and one for grayscale).
  4 件のコメント
Matt J
Matt J 2014 年 1 月 7 日
編集済み: Matt J 2014 年 1 月 7 日
If you're looking to consolidate the images into a single image, then the resolution of the final image will be limited by the registration accuracy, no matter what consolidation method you use. Averaging them together should have been a good reflection of the resolution you'll be limited to.
You should probably remove outlier pixel values before you do the image registration.
Image Analyst
Image Analyst 2014 年 1 月 7 日
Yes. Remove outliers, then call imregister() (to align to the first image or some standard image), then cast to double (to avoid clipping) and sum into an accumulator image, finally divide by 180.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeGeometric Transformation and Image Registration についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by