Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a method for pixel size in sophus::ImageView
Without this method it's difficult to calculate the actual size in bytes of subviews because they normally inherit the layout from the parent image, which has a pitch_bytes indicating the full width times pixel size. This simplifies that to expose the pixel size directly.
- Loading branch information