#ifndef IMAGEINPUT_H
#define IMAGEINPUT_H

typedef unsigned char GrayScalePixelType;

typedef struct {
    unsigned char *buffer;    // Pixeldaten (width * height)
    unsigned int width;
    unsigned int height;
    unsigned char label;      // <- Label hinzufügen
} GrayScaleImage;

typedef struct {
    GrayScaleImage *images;
    unsigned int count;
    unsigned char *labels;
} GrayScaleImageSeries;

GrayScaleImageSeries *readImages(const char *path);
void clearSeries(GrayScaleImageSeries *series);

#endif
