Could a 'blank' image be in the tests?

d
davide.marincione (1380 points)
0 4 14
asked Nov 22, 2020 in HW6 required by davide.marincione (1,380 points)
Me and other students have been wondering: could images with just a black background and no rectangles be possible? If yes, how should we model the output for them? My thought is that for an image like that there would be no encoded image and just an output (0,0,0,0).
Do we have to worry about something like this or not?
Thanks in advance!
107 views

1 Answer

Best answer
andrea.sterbini (172780 points)
514 935 1789
answered Nov 22, 2020 by andrea.sterbini (172,780 points)
selected Nov 22, 2020 by davide.marincione
Good question.

No, I will generate at least one rectangle