Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ar_sandbox_lib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AR_Sandbox
ar_sandbox_lib
Commits
f1df7949
Commit
f1df7949
authored
4 years ago
by
simon.fanetti
Browse files
Options
Downloads
Patches
Plain Diff
rename var in projection
parent
248f44a7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/projection.cpp
+1
-1
1 addition, 1 deletion
src/components/projection.cpp
with
1 addition
and
1 deletion
src/components/projection.cpp
+
1
−
1
View file @
f1df7949
...
...
@@ -277,7 +277,7 @@ cv::Point2i Projection::rotatePixel(cv::Point2i center, double angle, cv::Point2
cv
::
Point2i
Projection
::
revertRotatePixel
(
cv
::
Point2i
center
,
double
angle
,
cv
::
Point2i
rotatedPixel
){
cv
::
Mat_
<
float
>
matRotation
=
cv
::
getRotationMatrix2D
(
center
,
angle
,
1
);
cv
::
Mat
tmp
=
(
cv
::
Mat_
<
cv
::
Vec2f
>
(
1
,
1
)
<<
cv
::
Vec2f
(
pixel
.
x
,
p
ixel
.
y
));
cv
::
Mat
tmp
=
(
cv
::
Mat_
<
cv
::
Vec2f
>
(
1
,
1
)
<<
cv
::
Vec2f
(
rotatedPixel
.
x
,
rotatedP
ixel
.
y
));
cv
::
Mat
invMat
;
cv
::
invertAffineTransform
(
matRotation
,
invMat
);
cv
::
transform
(
tmp
,
tmp
,
invMat
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment