generated from freudenreichan/info2Praktikum-NeuronalesNetz
last fix
This commit is contained in:
+3
-2
@@ -1,4 +1,5 @@
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "imageInput.h"
|
||||
@@ -22,7 +23,7 @@ static int getCharValueFromFile(FILE* openedFile) {
|
||||
GrayScaleImageSeries* readImages(const char *path)
|
||||
{
|
||||
GrayScaleImageSeries *series = NULL;
|
||||
|
||||
// uint16_t
|
||||
FILE* openFile;
|
||||
|
||||
openFile = fopen(path, "rb");
|
||||
@@ -95,7 +96,7 @@ GrayScaleImageSeries *readImages(const char *path)
|
||||
}
|
||||
}
|
||||
|
||||
// the fclose happens here, since every other path closes the file. beforehand
|
||||
// the fclose happens here, since every other path closes the file beforehand
|
||||
fclose (openFile);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user