Removing boats

Hi everybody.
I would like to know if it could be possible to use the result of the “Object detection” tool as a mask to remove the boats from the image.
When I use the Vector “ShipDetection” it only removes one pixel…
I would like to remove evey pixel of the boats to apply the Oil Spill Detection tool afterwards. Otherwise, this tool detects boats as possible oil spills…
Anybody has an idea ?

maybe if you repeatedly apply a minimum filter on the images you can successively remove the boats, but this also changes the backscatter from the sea surface.