forked from freudenreichan/info2Praktikum-NeuronalesNetz
imageInput korrigiert2
This commit is contained in:
1 parent
d999786d02
commit
003d1820d9
1 file changed
+1
-1
@@ -96,7 +96,7 @@ GrayScaleImageSeries *pictureSeriesmemory(unsigned short numImagesShort) {
|
||||
int PicturesLabelsimport(GrayScaleImageSeries *series, FILE *file, unsigned short widthShort, unsigned short heightShort){
|
||||
|
||||
unsigned int pixelsPerImage = (unsigned int)widthShort * heightShort;
|
||||
for (unsigned int i = 0; i < series->count; i++;) {
|
||||
for (unsigned int i = 0; i < series->count; i++) {
|
||||
series->images[i].width = (unsigned int)widthShort;
|
||||
series->images[i].height=(unsigned int)heightShort;
|
||||
series->images[i].buffer = (GrayScalePixelType *)malloc(pixelsPerImage * sizeof(GrayScalePixelType));
|
||||
|
||||
Reference in new issue
Block a user