Michal Karzel
Michal Karzel

Reputation: 33

Image filtering

I have a problem with removing the line artifact from the OCT image. I trying wiener and median filtering but nothing works well.

In this picture is clearly visible line artifact in both directions.

I have I more picture with I take by averaging 450 images in Z axe.

Can you help me? please.

Upvotes: 3

Views: 499

Answers (3)

Andrew Wagner
Andrew Wagner

Reputation: 24547

Try a Gaussian blur by a few pixels. Then, for each column subtract the median pixel. Repeat for the rows.

Upvotes: 0

bla
bla

Reputation: 26069

Another option might be to Fourier filter your image with two masks of sincs (sinc(x)=sin(x)/x) functions for vertical and horizontal lines. On a different note, from what I see you may want to improve data acquisition by understanding where these lines come from (i.e. take a background image, where you "scan" nothing and compensate for shot noise of the detector etc)

Upvotes: 1

Paul R
Paul R

Reputation: 212969

If you're talking about the vertical lines then since the lines are quite narrow you could use morphological operators, e.g. 1x7 horizontal erode (min) followed by 1x7 horizontal dilate (max).

Upvotes: 0

Related Questions