Skip to content

Commit

Permalink
added p1
Browse files Browse the repository at this point in the history
  • Loading branch information
tanjeffreyz committed Sep 2, 2023
1 parent 40e790a commit 54747af
Show file tree
Hide file tree
Showing 37 changed files with 992 additions and 0 deletions.
12 changes: 12 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<title>CS 180 Portfolio</title>
</head>
<body style="max-width: 1000px">
<h1>CS 180 Portfolio</h1>
<a href="./p1-prokudin-gorskii">
<h3>Project 1: Colorizing the Prokudin-Gorskii photo collection</h1>
</a>
</body>
</html>
Binary file added p1-prokudin-gorskii/extras/contrast/cathedral.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added p1-prokudin-gorskii/extras/contrast/church.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added p1-prokudin-gorskii/extras/contrast/monastery.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added p1-prokudin-gorskii/extras/contrast/tobolsk.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added p1-prokudin-gorskii/extras/lady_fixed.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions p1-prokudin-gorskii/extras/lady_fixed.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
g_dy: 56
g_dx: 9
r_dy: 115
r_dx: 11
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.
389 changes: 389 additions & 0 deletions p1-prokudin-gorskii/index.html

Large diffs are not rendered by default.

134 changes: 134 additions & 0 deletions p1-prokudin-gorskii/offsets.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
const offsets = {
"emir.tif": {
"g_dy": 50,
"g_dx": 24,
"r_dy": 104,
"r_dx": 42
},
"_sunset_at_the_sea.tif": {
"g_dy": 45,
"g_dx": -26,
"r_dy": 115,
"r_dx": -56
},
"monastery.jpg": {
"g_dy": -3,
"g_dx": 2,
"r_dy": 3,
"r_dx": 2
},
"_conservatory.jpg": {
"g_dy": 6,
"g_dx": 3,
"r_dy": 13,
"r_dx": 4
},
"church.tif": {
"g_dy": 26,
"g_dx": 3,
"r_dy": 58,
"r_dx": -5
},
"three_generations.tif": {
"g_dy": 54,
"g_dx": 12,
"r_dy": 112,
"r_dx": 9
},
"melons.tif": {
"g_dy": 81,
"g_dx": 10,
"r_dy": 179,
"r_dx": 13
},
"_in_little_russia.tif": {
"g_dy": -23,
"g_dx": 7,
"r_dy": -34,
"r_dx": 10
},
"onion_church.tif": {
"g_dy": 51,
"g_dx": 26,
"r_dy": 108,
"r_dx": 36
},
"train.tif": {
"g_dy": 42,
"g_dx": 3,
"r_dy": 87,
"r_dx": 31
},
"tobolsk.jpg": {
"g_dy": 3,
"g_dx": 3,
"r_dy": 6,
"r_dx": 3
},
"icon.tif": {
"g_dy": 42,
"g_dx": 17,
"r_dy": 91,
"r_dx": 22
},
"_lilacs.tif": {
"g_dy": 51,
"g_dx": -7,
"r_dy": 99,
"r_dx": -26
},
"cathedral.jpg": {
"g_dy": 5,
"g_dx": 2,
"r_dy": 11,
"r_dx": 3
},
"_sunset.tif": {
"g_dy": 75,
"g_dx": -41,
"r_dy": 114,
"r_dx": -68
},
"_bird_cherry_tree.tif": {
"g_dy": -31,
"g_dx": -94,
"r_dy": 22,
"r_dx": -83
},
"_peonies.jpg": {
"g_dy": 8,
"g_dx": 2,
"r_dy": 15,
"r_dx": 3
},
"_urals.tif": {
"g_dy": 40,
"g_dx": 32,
"r_dy": 94,
"r_dx": 58
},
"self_portrait.tif": {
"g_dy": 77,
"g_dx": 27,
"r_dy": 176,
"r_dx": 36
},
"harvesters.tif": {
"g_dy": 60,
"g_dx": 17,
"r_dy": 125,
"r_dx": 15
},
"sculpture.tif": {
"g_dy": 33,
"g_dx": -11,
"r_dy": 140,
"r_dx": -26
},
"lady.tif": {
"g_dy": 56,
"g_dx": 8,
"r_dy": 104,
"r_dx": 2
}
}
Binary file added p1-prokudin-gorskii/results/_bird_cherry_tree.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added p1-prokudin-gorskii/results/_conservatory.jpg
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.
Binary file added p1-prokudin-gorskii/results/_lilacs.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added p1-prokudin-gorskii/results/_peonies.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added p1-prokudin-gorskii/results/_sunset.jpg
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.
Binary file added p1-prokudin-gorskii/results/_urals.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added p1-prokudin-gorskii/results/cathedral.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added p1-prokudin-gorskii/results/church.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added p1-prokudin-gorskii/results/emir.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added p1-prokudin-gorskii/results/harvesters.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added p1-prokudin-gorskii/results/icon.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added p1-prokudin-gorskii/results/lady.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added p1-prokudin-gorskii/results/melons.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added p1-prokudin-gorskii/results/monastery.jpg
Binary file added p1-prokudin-gorskii/results/onion_church.jpg
Binary file added p1-prokudin-gorskii/results/sculpture.jpg
Binary file added p1-prokudin-gorskii/results/self_portrait.jpg
Binary file added p1-prokudin-gorskii/results/tobolsk.jpg
Binary file added p1-prokudin-gorskii/results/train.jpg
Loading

0 comments on commit 54747af

Please sign in to comment.