Before the input image can be fed into the Radon transform, it needs to be pre-processed. This is related to the property of the Radon Transform using an accumulator matrix to transform accross the entire image. Therefore, noise will also be added in the final transform. We must therefore mask the original image from its very bright ship pixels with the mean value of the image (hough.cpp).