PatchesExtration writes garbage patches when sampler->GetNumberOfAcceptedSamples() is 0
When sampler->GetNumberOfAcceptedSamples() is 0, the resizer doesn't work inside the otb::tf::Sampler
.
In the meantime, there is no need to write a (0, 0) image!
An exception must be thrown when no patch can be extracted.