Merge remote-tracking branch 'origin/Development' into Development
This commit is contained in:
commit
e97f2869fb
1 changed files with 9 additions and 1 deletions
10
image.c
10
image.c
|
|
@ -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)
|
||||
|
|
|
|||
Reference in a new issue