Initial commit with project files

This commit is contained in:
2025-06-27 14:34:11 +02:00
commit 7ea3207e63
310 changed files with 9331 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
i_00 = 1 # New position: (x=0.5, y=0.5)
i_10 = 2 # New position: (x=1.5, y=0.5)
i_01 = 3 # New position: (x=0.5, y=1.5)
i_11 = 4 # New position: (x=1.5, y=1.5)
# 1)
i_new_bilinear = 0.5 * (0.5 * 1 + 0.5 * 2) + 0.5 * (0.5 * 3 + 0.5 * 4)
i_new_nn = 4 # Multiple solutions! Here: Ceil
print(i_new_bilinear, i_new_nn)
# 2)
# This solution is depending on the border behaviour! If no border behaviour is defined, there is not bilinear solution!
i_new_bilinear = ...
i_new_nn = 1
print(i_new_nn)