Fixed two bugs in `dip_image` methods discovered by Rainer Heintzmann.
Fixed two bugs in `dip_image` methods discovered by Rainer Heintzmann.

DIPlib/diplib,DIPlib/diplib,DIPlib/diplib,DIPlib/diplib,DIPlib/diplib,DIPlib/diplib