Added a file that defines a new generic image interface for images in dlib.
This is the dlib/image_processing/generic_image.h file. Then I changed all the image processing functions so that they use this interface. All the changes are very minor, but there are just a lot of them. Any user code that was using array2d objects to represent images will still work. However, this change makes it so that users can use their own custom image objects with dlib by simply implementing a few global functions for their image object.
Showing
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Please
register
or
sign in
to comment