Merge remote-tracking branch 'origin/Development' into Development

This commit is contained in:
Jakob Stornig 2023-09-19 10:24:35 +02:00
commit e97f2869fb

10
image.c
View file

@ -1,5 +1,7 @@
#pragma once
#include <stdio.h>
#include "image.h"
#include "matrix.h"
@ -8,4 +10,10 @@ typedef struct {
int image_label;
} Image;
void img_print (Img* img){
//print the image
matrix_print(img->pixel_values);
//print the number of the image
printf("%d", img->image_label);
}
void img_free (Img* img)