summaryrefslogtreecommitdiff
path: root/imagealgos.h
diff options
context:
space:
mode:
Diffstat (limited to 'imagealgos.h')
-rw-r--r--imagealgos.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/imagealgos.h b/imagealgos.h
index 4094f87..e443e10 100644
--- a/imagealgos.h
+++ b/imagealgos.h
@@ -6,12 +6,14 @@
#include "image.h"
#include "pixels.h"
-size_t pgm_save(Image *img, FILE *outfile, bool really_save = false);
+size_t pgm_save(std::shared_ptr<Image> img,
+ FILE *outfile = nullptr,
+ bool really_save = false);
-void unpack_10bit(uint8_t const *src, Image const &image, uint16_t *dest);
-void unpack_16bit(uint8_t const *src, Image const &image, uint16_t *dest);
+// void unpack_10bit(uint8_t const *src, Image const &image, uint16_t *dest);
+// void unpack_16bit(uint8_t const *src, Image const &image, uint16_t *dest);
-Pixels process_columns(Image & image);
+// Pixels process_columns(Image & image);
QList<QLineF> pixelsToLines(const Pixels& rawProfile);
QList<QLineF> pointsToLines(const QList<QPointF>& points);