* Adding the crop function implementation
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Remove debugging symbols
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Add another two sheeps photos
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Adding tests for cropping the images
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Adding documentation of CropResize
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Improve the imeplementation according to what is mentioned
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Adding images to make it easier to understand
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Update src/mlpack/core/data/image_resize_crop.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Update doc/user/load_save.md
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Update src/mlpack/core/data/image_resize_crop.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Update src/mlpack/core/data/image_resize_crop.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Update src/mlpack/core/data/image_resize_crop.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Fix Ryan proposal
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Fix the docs
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Remove the test regarding checking of the dimension are identical
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Add a pixel-level sanity check test.
* Update documentation; slight wording cleanup, add a clear example.
* Add a test for the case where we upscale.
* Use different filenames.
* Prevent resize if the user did not ask for it
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Remove unused variables.
* Change && to ||
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Fix style, and function name
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Fix the other style issues
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Add a note to HISTORY.md.
---------
Signed-off-by: Omar Shrit <omar@avontech.fr>
Co-authored-by: Ryan Curtin <ryan@ratml.org>