Subtracting FFT2(A) to FFT2(B) can make a just object image?

asked 2015-08-05 21:20:56 -0500

kildonggo gravatar image

Image_A have an Object and Image_B have Ony Background which same as Image_A.

Subtracting FFT2(A) to FFT2(B) and inverse Can make a just object image?

Removing the background is possible with this method?

ex) C = ifft2(fft2(A) - fft2(B))

Thanks in advance ~

edit retag flag offensive close merge delete

Comments

1

Yes it's possible. But I think A-B it's easyer. Please don't post two messages with same subject. May be you can delete previous

LBerger gravatar imageLBerger ( 2015-08-06 01:34:33 -0500 )edit

Why would you take the cost of transfering to fft space just for background subtraction? Take a look at the available background subtraction module, right here and here!

StevenPuttemans gravatar imageStevenPuttemans ( 2015-08-06 03:46:36 -0500 )edit

Because Background of A & B is little different ... So, Subtraction result is not satisfactory.

My intention is to improving the subtraction accuracy using 2D FT's shift-invariant ability.
Is that possible?

Thank you your answer ~

kildonggo gravatar imagekildonggo ( 2015-08-11 01:18:47 -0500 )edit

I must say that I don't understand your answer. What do you want to do?

LBerger gravatar imageLBerger ( 2015-08-11 02:14:37 -0500 )edit

Before re-implementing everything that exists, take a look here. The background subtraction library contains a whole lot of new and old BGS algorithms and will sure have something that will suit your needs!

StevenPuttemans gravatar imageStevenPuttemans ( 2015-08-11 02:53:07 -0500 )edit

@StevenPuttemans I think that Background have two meanings one in video (MOG, MOG2, GMG... and your link of course and this one which is used in microscopy,X-ray...

LBerger gravatar imageLBerger ( 2015-08-11 03:01:42 -0500 )edit