generated from freudenreichan/info2Praktikum-NeuronalesNetz
imageinput.c erste Hilfsfunktion begonnen
This commit is contained in:
1 parent
cfe95a6221
commit
2b84bdac23
1 file changed
+10
-1
+10
-1
@@ -7,12 +7,21 @@
|
||||
#define FILE_HEADER_STRING "__info2_image_file_format__"
|
||||
|
||||
// TODO Implementieren Sie geeignete Hilfsfunktionen für das Lesen der Bildserie aus einer Datei
|
||||
|
||||
static readNumberOfImages(const char *path, )
|
||||
{
|
||||
GrayScaleImageSeries series;
|
||||
fread(series.images, sizeof(unsigned short), 1, path);
|
||||
|
||||
}
|
||||
// TODO Vervollständigen Sie die Funktion readImages unter Benutzung Ihrer Hilfsfunktionen
|
||||
GrayScaleImageSeries *readImages(const char *path)
|
||||
{
|
||||
GrayScaleImageSeries *series = NULL;
|
||||
FILE *file = fopen(path, "wb");
|
||||
|
||||
|
||||
fclose(file);
|
||||
|
||||
return series;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user