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