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
#! /usr/bin/python | |
# We lay sides of image parallel to axi of planes | |
# Bigger side of image maps to bigger side of rect | |
# On images we always have X ~ Width, Y ~ Height (it is true for OpenCV) | |
def PlaneToImage(Point, LTCorner, RBCorner, resW, resH): | |
assert(not resW==resH) | |
if (resW > resH): | |
if (abs(LTCorner[0]-RBCorner[0]) > abs(LTCorner[1]-RBCorner[1])): | |
OnImgX, OnImgY = 0, 1 |
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
import numpy as np | |
import math as m | |
# we assume that line is parameterized by values from segment [0, 1] placed uniformly | |
# startPoint, endPoint - 2D point | |
# nSteps - integer value | |
# vectorField - function that takes 2D point and return 2D vector | |
def checkStraightLineForTransversality(startPoint, endPoint, nSteps, vectorField): | |
tangentVector = endPoint - startPoint | |
normalVector = np.array([-tangentVector[1], tangentVector[0]]) |
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
import numpy as np | |
import math as m | |
# calculates point of parameterized curve | |
# accepts parameterization interval, parameterization function | |
# and discretization step | |
def ezLinePlot(Boundaries, CurveParametrization, Steps): | |
left, right = Boundaries | |
curveParamPoints = np.linspace(left, right, Steps) | |
curvePoints = [CurveParametrization(t) for t in curveParamPoints] |
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
Первое преобразование | |
$$ e'_{x/y/z} = {\rm Rodr}_{\langle \phi_1, e_z \rangle} (e_{x/y/z}) $$ | |
$$ v' = {\rm Rodr}_{\langle \phi_1, e_z \rangle} (v) $$ | |
Второе преобразование | |
$$ e''_{x/y/z} = {\rm Rodr}_{\langle \phi_2, e'_y \rangle} (e'_{x/y/z}) $$ | |
$$ v'' = {\rm Rodr}_{\langle \phi_2, e'_y \rangle} (v') $$ |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Website: https://nnov.hse.ru/en/bipm/topmethods/2019/
Where: Nizhny Novgorod, Russia
When: January 3-6, 2019
OlderNewer