summaryrefslogtreecommitdiffstats
path: root/ml/dlib/dlib/image_loader/load_image_abstract.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-03-21 17:19:04 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-03-21 17:19:04 +0000
commit310edf444908b09ea6d00c03baceb7925f3bb7a2 (patch)
tree7064577c7fa7a851e2e930beb606ea8237b0bbd2 /ml/dlib/dlib/image_loader/load_image_abstract.h
parentReleasing debian version 1.44.3-2. (diff)
downloadnetdata-310edf444908b09ea6d00c03baceb7925f3bb7a2.tar.xz
netdata-310edf444908b09ea6d00c03baceb7925f3bb7a2.zip
Merging upstream version 1.45.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ml/dlib/dlib/image_loader/load_image_abstract.h')
-rw-r--r--ml/dlib/dlib/image_loader/load_image_abstract.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/ml/dlib/dlib/image_loader/load_image_abstract.h b/ml/dlib/dlib/image_loader/load_image_abstract.h
deleted file mode 100644
index f357bb278..000000000
--- a/ml/dlib/dlib/image_loader/load_image_abstract.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright (C) 2011 Davis E. King (davis@dlib.net), Nils Labugt
-// License: Boost Software License See LICENSE.txt for the full license.
-#undef DLIB_LOAd_IMAGE_ABSTRACT_
-#ifdef DLIB_LOAd_IMAGE_ABSTRACT_
-
-#include "../image_processing/generic_image.h"
-
-namespace dlib
-{
- template <typename image_type>
- void load_image (
- image_type& image,
- const std::string& file_name
- );
- /*!
- requires
- - image_type == an image object that implements the interface defined in
- dlib/image_processing/generic_image.h
- ensures
- - This function loads an image from disk, in the indicated file file_name, and
- writes it to the indicated image object.
- - It is capable of reading the PNG, JPEG, BMP, GIF, and DNG image formats. It
- is always capable of reading BMP and DNG images. However, for PNG, JPEG, and
- GIF you must #define DLIB_PNG_SUPPORT, DLIB_JPEG_SUPPORT, and
- DLIB_GIF_SUPPORT respectively and link your program to libpng, libjpeg, and
- libgif respectively.
- throws
- - image_load_error
- This exception is thrown if there is some error that prevents
- us from loading the given image file.
- !*/
-
-}
-
-#endif // DLIB_LOAd_IMAGE_ABSTRACT_
-
-