NaN value after coregistartion

I am using two passes of RS2 for my project. After performing coregistration on calibrated product with coarse window size of 32 X 32, I have huge number of NaN values especially on the water body.

Kindly provide me the solution to solve this issue of removing NaN values on co-registered products.


Right click on the band name and select properties in the menu. Then
uncheck the No-Data Value Used checkbox in the properties window. The
NaN in the image should disappear.

Hello, thank you for your help. I want to tell you that still few pixel values are NaN. Is there any solution you would wish to provide.