Deadline: June 23rd (Thu) at 15:00pm
If you have not done the task00, do it first to set up the C++ graphics development environment.
Follow this document to submit the assignment, In a nutshell, before doing the assignment,
- make sure you synchronized the
main
branch of your local repository to that of remote repository. - make sure you created branch
task09
frommain
branch. - make sure you are currently in the
task09
branch (usegit branch -a
command).
This assignment needs pybind11
library. Download it with
cd acg-<username>
git submodule update externa/pibyind11
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade numpy
python3 -m pip install --upgrade Pillow
Now you are ready to go!
- Build the code using cmake
- go to the task09 folder
cd task09
- Run the code with
python3 blend.py
- Take a screenshot image (looks like image at the top)
- Save the screenshot image overwriting
task09/problem1.png
Write code around line #45
in main.cpp
to implement Poisson image editing.
Save the screenshot image overwriting task09/problem2.png
After modify the code, push the code and submit a pull request.
- J. Matías Di Martino, Gabriele Facciolo, and Enric Meinhardt-Llopis, Poisson Image Editing, Image Processing On Line, 6 (2016), pp. 300–325. https://www.cs.jhu.edu/~misha/Fall07/Papers/Perez03.pdf