Skip to content

Latest commit

 

History

History

task09

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Task09: Poisson Image Editing(Gauss-Seidel method, pybind11)

preview

Deadline: June 23rd (Thu) at 15:00pm


Before Doing Assignment

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 from main branch.
  • make sure you are currently in the task09 branch (use git 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!


Problem 1

  1. Build the code using cmake
  2. go to the task09 folder cd task09
  3. Run the code with python3 blend.py
  4. Take a screenshot image (looks like image at the top)
  5. Save the screenshot image overwriting task09/problem1.png

problem1

Problem 2

Write code around line #45 in main.cpp to implement Poisson image editing.

Save the screenshot image overwriting task09/problem2.png

problem2

After Doing the Assignment

After modify the code, push the code and submit a pull request.

Reference