Maybe you could employ TransformPhysicalPointToIndex()? See discussion for background.
TransformPhysicalPointToIndex()