making this work with gazebo-generated depth images, fixup whitespace