Previously, indexing an ants image always returned a numpy array. This fix ensures that an ants image is returned where possible. No changes are made to indexing with another ants image or to setting behavior.
coverage: 81.233% (+0.09%) from 81.141%
when pulling 0f22d0613869594184c633dc51682e0e18f78345 on fix-image-indexing
into 7d876d800b3a861ab8683b1a4119086cdde15435 on master.
Previously, indexing an ants image always returned a numpy array. This fix ensures that an ants image is returned where possible. No changes are made to indexing with another ants image or to setting behavior.