mtxslv/dca0445_dip

Running pixels.cpp went wrong

Closed this issue · 1 comments

I tried to run pixels.cpp following the tutorial. But it threw an exeption:

nao abriu bolhas.png
Falha de segmentação (imagem do núcleo gravada)

It happens because bolhas.png is not in the main folder. I saved the picture inside ~/example_images/.
The pixel.cpp code suppose the file is in the main folder, so it needs to be manually changed. Then you must go in every imread() command and change the file name from bolhas.png to example_code/bolhas.png. It fixed the issue.