0 like 0 dislike
0 like 0 dislike
[High School Math] How to normalize/de-normalize a vector with the dimensions of an image ?

1 Answer

0 like 0 dislike
0 like 0 dislike
Think of it as scaling the template image to the size of the input image.
Let:

[Xt,Yt] = vector NtEt

[Wt,Ht] = template image size

[Xi,Yi] = vector NiEi

[Wi,Yi] = input image size

[Xn,Yn] = normalized vector

Since the vector is 2 dimensional, the norm of vector [Xt,Yt] with respect to the template image

[Wt,Ht] = [Xt/sqrt(Wt^2 +Ht^2 ), Yt/sqrt(Wt^2 +Ht^2 )] = [Xn,Yn]

To denormalize with respect to the input image [Wi,Wi], means to obtain [Xi,Yi] from [Xn,Yn]

So [Xi,Yi] = [Xn\*sqrt(Wi^2 +Hi^2 ), Yn\*sqrt(Wi^2 +Hi^2 )]

Essentially, you are finding the ratio between template size and image size Rti, where

Rti= sqrt(Wi^2 +Hi^2 )/sqrt(Wt^2 +Ht^2 ),

and scaling the vector by Rti.
by

Related questions

0 like 0 dislike
0 like 0 dislike
26 answers
foreveramber asked Jun 21, 2022
I need to learn highschool level math or my employer will fire me. I'm stuck on an algebra problem in the pre-algebra section of my textbook.
foreveramber asked Jun 21, 2022
0 like 0 dislike
0 like 0 dislike
2 answers
evanrodgers asked Jun 21, 2022
How to prepare for an exam that requires atleast an 8th grade level in math to pass? (after years of neglecting the subject)
evanrodgers asked Jun 21, 2022
0 like 0 dislike
0 like 0 dislike
4 answers
thrilll_32 asked Jun 21, 2022
Where to start learning math as an engineer with only field related knowledge of mathematics?
thrilll_32 asked Jun 21, 2022
0 like 0 dislike
0 like 0 dislike
2 answers
monopacks asked Jun 21, 2022
Spm form 3 math questions on circle, can someone help me with this, i don’t exactly know how to do this, i guess the interior angle of pentagon is 540 degree but after ...
monopacks asked Jun 21, 2022
0 like 0 dislike
0 like 0 dislike
1 answer
CTVNewsJeff asked Jun 21, 2022
[Grade 10 Math ] Quad word problem ; How to determine the selling price of the shirt? I know how to find max revenue but I'm confused how to find the sell pricing
CTVNewsJeff asked Jun 21, 2022

33.4k questions

135k answers

0 comments

33.7k users

OhhAskMe is a math solving hub where high school and university students ask and answer loads of math questions, discuss the latest in math, and share their knowledge. It’s 100% free!