-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9cb4e8b
commit 84beba8
Showing
329 changed files
with
51,256 additions
and
37,203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
version: "2" | ||
|
||
build: | ||
os: "ubuntu-22.04" | ||
tools: | ||
python: "3.8" | ||
|
||
python: | ||
install: | ||
- requirements: requirements/docs.txt | ||
- requirements: requirements.txt | ||
- method: pip | ||
path: . | ||
sphinx: | ||
fail_on_warning: true | ||
version: "2" | ||
|
||
build: | ||
os: "ubuntu-22.04" | ||
tools: | ||
python: "3.8" | ||
|
||
python: | ||
install: | ||
- requirements: requirements/docs.txt | ||
- requirements: requirements.txt | ||
- method: pip | ||
path: . | ||
# sphinx: | ||
# fail_on_warning: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
# Minimal makefile for Sphinx documentation | ||
# | ||
|
||
# You can set these variables from the command line, and also | ||
# from the environment for the first two. | ||
SPHINXOPTS ?= | ||
SPHINXBUILD ?= sphinx-build | ||
SOURCEDIR = . | ||
BUILDDIR = _build | ||
|
||
# Put it first so that "make" without argument is like "make help". | ||
help: | ||
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | ||
|
||
.PHONY: help Makefile | ||
|
||
# Catch-all target: route all unknown targets to Sphinx using the new | ||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). | ||
%: Makefile | ||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | ||
# Minimal makefile for Sphinx documentation | ||
# | ||
|
||
# You can set these variables from the command line, and also | ||
# from the environment for the first two. | ||
SPHINXOPTS ?= | ||
SPHINXBUILD ?= sphinx-build | ||
SOURCEDIR = . | ||
BUILDDIR = _build | ||
|
||
# Put it first so that "make" without argument is like "make help". | ||
help: | ||
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | ||
|
||
.PHONY: help Makefile | ||
|
||
# Catch-all target: route all unknown targets to Sphinx using the new | ||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). | ||
%: Makefile | ||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
.header-logo { | ||
background-image: url("../image/LOGO.png"); | ||
background-size: 60px 60px; | ||
height: 60px; | ||
width: 60px; | ||
} | ||
.header-logo { | ||
background-image: url("../image/LOGO.png"); | ||
background-size: 60px 60px; | ||
height: 60px; | ||
width: 60px; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,63 @@ | ||
libcom.fos_score | ||
------------------- | ||
.. automodule:: libcom.fos_score | ||
:members: | ||
libcom.color_transfer | ||
---------------------- | ||
.. automodule:: libcom.color_transfer | ||
:members: | ||
|
||
libcom.controllable_composition | ||
-------------------------------- | ||
.. automodule:: libcom.controllable_composition | ||
:members: | ||
:special-members: __call__ | ||
|
||
libcom.fos_score | ||
------------------- | ||
.. automodule:: libcom.fos_score | ||
:members: | ||
:special-members: __call__ | ||
|
||
libcom.harmony_score | ||
----------------------- | ||
.. automodule:: libcom.harmony_score | ||
:members: | ||
:special-members: __call__ | ||
|
||
libcom.naive_composition | ||
------------------------- | ||
.. automodule:: libcom.naive_composition | ||
:members: | ||
|
||
libcom.opa_score | ||
------------------ | ||
.. automodule:: libcom.opa_score | ||
:members: | ||
:special-members: __call__ | ||
|
||
libcom.image_harmonization | ||
--------------------------- | ||
.. automodule:: libcom.image_harmonization | ||
:members: | ||
:special-members: __call__ | ||
|
||
libcom.inharmonious_region_localization | ||
---------------------------------------- | ||
.. automodule:: libcom.inharmonious_region_localization | ||
:members: | ||
:special-members: __call__ | ||
|
||
libcom.painterly_image_harmonization | ||
---------------------------------------- | ||
.. automodule:: libcom.painterly_image_harmonization | ||
:members: | ||
:special-members: __call__ | ||
|
||
libcom.fopa_heat_map | ||
---------------------------------------- | ||
.. automodule:: libcom.fopa_heat_map | ||
:members: | ||
:special-members: __call__ | ||
|
||
libcom.shadow_generation | ||
---------------------------------------- | ||
.. automodule:: libcom.shadow_generation | ||
:members: | ||
:special-members: __call__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
# Color Transfer | ||
|
||
Given a composite image obtained by copy-and-paste, we transfer the color of foreground object to fit background scene by using: | ||
|
||
**Reinhard's algorithm**: | ||
|
||
> **Color Transfer between Images** [[paper]](https://www.cs.tau.ac.il/~turkel/imagepapers/ColorTransfer.pdf)<br> | ||
> | ||
> E. Reinhard, M. Adhikhmin, B. Gooch, P. Shirley <br> | ||
> Accepted by **IEEE Computer Graphics and Applications 2001**. | ||
## Brief Method Summary | ||
|
||
Reinhard's algorithm achieves color transfer by taking background as source image and applying its color characteristic to foreground object. Specifically, this method adjusts the mean and the standard deviation of L*αβ* channels to match the global color distribution of two images. | ||
# Color Transfer | ||
|
||
Given a composite image obtained by cut-and-paste, we can adjust the foreground color to match the background by using Reinhard's algorithm, which is a traditional color transfer method. When the requirement for the harmonized result is not very high, we can use [traditional color transfer methods](https://github.com/bcmi/Color-Transfer-for-Image-Harmonization) instead of image harmonization methods. When the foreground and background have pure colors and we simply want to match their colors, traditional color transfer methods may work better than image harmonization methods. | ||
|
||
> **Color Transfer between Images** [[paper]](https://www.cs.tau.ac.il/~turkel/imagepapers/ColorTransfer.pdf)<br> | ||
> | ||
> E. Reinhard, M. Adhikhmin, B. Gooch, P. Shirley <br> | ||
> Accepted by **IEEE Computer Graphics and Applications 2001**. | ||
## Brief Method Summary | ||
|
||
Reinhard's algorithm achieves color transfer by taking background as source and applying its color characteristic to foreground object. Specifically, this method adjusts the mean and the standard deviation of L*αβ* channels to match the color distributions between foreground and background. |
Oops, something went wrong.