When Google Adsense says you are not allowed to show their adverts on pages containing nudity, this is what they mean:
If your post has a photo that shows nudity, either remove adverts from that particular page, or remove the photo or even the post entirely. It is not enough to claim to censor the picture – they will still ban you if they find that.
There are more rules like not asking people to click on the adverts to show their support. Make sure you read their policy and follow the rules.
Even linking to a porn site is a violation when Adsense is on the page. Avoid these and they will never ban you from their program.