Compare commits
No commits in common. "689ae7bd5649eb5434f0e0fbcfa3099b7f234e00" and "c1086b6be5774a67ca4627f74cfeef4c539a32c5" have entirely different histories.
689ae7bd56
...
c1086b6be5
12
imageInput.c
12
imageInput.c
@ -8,18 +8,6 @@
|
|||||||
|
|
||||||
// TODO Implementieren Sie geeignete Hilfsfunktionen für das Lesen der Bildserie aus einer Datei
|
// TODO Implementieren Sie geeignete Hilfsfunktionen für das Lesen der Bildserie aus einer Datei
|
||||||
|
|
||||||
static int checkDimensions(GrayScaleImage imageData){
|
|
||||||
|
|
||||||
int ok = 0;
|
|
||||||
|
|
||||||
if(imageData.width == 10 && imageData.height == 10 && imageData.buffer <= BUFFER_SIZE)
|
|
||||||
return ok = 1;
|
|
||||||
|
|
||||||
else
|
|
||||||
return ok = 0;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
// TODO Vervollständigen Sie die Funktion readImages unter Benutzung Ihrer Hilfsfunktionen
|
// TODO Vervollständigen Sie die Funktion readImages unter Benutzung Ihrer Hilfsfunktionen
|
||||||
GrayScaleImageSeries *readImages(const char *path)
|
GrayScaleImageSeries *readImages(const char *path)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user