generated from freudenreichan/info2Praktikum-NeuronalesNetz
last fix
This commit is contained in:
parent
7d30feef54
commit
2a4ff89df7
@ -1,4 +1,5 @@
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "imageInput.h"
|
||||
@ -19,10 +20,10 @@ static int getCharValueFromFile(FILE* openedFile) {
|
||||
return addToFile;
|
||||
}
|
||||
|
||||
GrayScaleImageSeries *readImages(const char *path)
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user