image-rs / imageproc

Image processing operations
MIT License
755 stars 148 forks source link

Update stats function to take GenericImageView #427

Closed tinou98 closed 4 years ago

tinou98 commented 4 years ago

All function only need access to a GenericImageView, not a GenericImage. This should avoid a call to to_image.

This is not a breaking change because all GenericImage must implement GenericImageView.

theotherphil commented 4 years ago

Thanks!