Top - hat filter - baseline correction
4 ビュー (過去 30 日間)
古いコメントを表示
Hello. I would like to use top hat filter in order to correct baseline in mass spectrum. Does anyone know how to implement this in Matlab ( I try to avoid ready function msbackadj)
0 件のコメント
回答 (1 件)
Image Analyst
2013 年 9 月 18 日
編集済み: Image Analyst
2013 年 9 月 18 日
There is a Fourier top hat filter, and there is morphological top hat filter (sometimes called top hat transform, like Wikipedia does to distinguish it from the Fourier version). Not sure which you want.
The morphological one is in the Image Processing Toolbox. If you don't have that you can perform it via blockproc(). It will detect little bright or dark blips on a varying background.
The Fourier one sounds like a low pass filter (blurring) to me. So you can implement that simply with taking the FFT and multiplying all frequencies higher than a certain frequency by zero, then inverse transforming. In imaging we call that sliding mean filter, box filter, blurring, averaging filter, sliding average filter, convolution, low pass filter, or something like that (to avoid confusion with the more common morphological top hat filter).
I only use the morphological top hat filter. If I do use the Fourier one to blur things, I call it by different names..
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Filter Banks についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!