华硕猛禽1080ti_F-22猛禽动力回路的视频分析

华硕猛禽1080ti

The F-22 Raptor has vectored thrust. This means that the engines don’t just push towards the front of the aircraft. Instead, the thrust can be directed upward or downward (from the rear of the jet). With this vectored thrust, the Raptor can do some cool stuff like this power loop. I first saw this on thedrive.com.

F-22猛禽具有矢量推力。 这意味着引擎不仅会推向飞机的前部。 取而代之的是,推力可以指向上方或下方(从射流的后部)。 有了这个矢量推力,猛禽可以做一些很酷的事情,例如功率循环。 我首先在thedrive.com上看到了这一点。

There are countless F-22 power loop videos online (I mean, I didn’t actually count). However, I like this one since it has the following features.

在线上有无数F-22电源回路视频(我是说,我实际上没有数过)。 但是,我喜欢它,因为它具有以下功能。

  • The motion of the aircraft is mostly perpendicular to the view of the camera. This makes it appear to move in a 2D motion of the video frame.

    飞机的运动大部分垂直于摄像机的视野。 这使其看起来像在视频帧的2D运动中移动。

  • The Raptor is fairly far away from the camera such that you can see the whole motion of the power loop.

    猛禽离摄像机很远,因此您可以看到电源回路的整个运动。
  • Finally, there are these things called “mountains” in the background. Who cares about mountains? I do. The mountains can serve as points to mark the background so that I can account for the panning of the camera.

    最后,在后台有称为“山”的东西。 谁在乎山脉? 我做。 山脉可以作为标记背景的点,这样我就可以说明相机的摇摄。

Oh, well then let’s do it. Of course I’m going to use my favorite video analysis program, Tracker Video Analysis. In this case, I’m going to start off by scaling the video based on the length of the F-22 with a value of 18.9 meters. After that, I need to mark points on the mountain range to keep track of the origin using calibration point pairs (here is an older tutorial if you want to see how to do that).

哦,那就开始吧。 当然,我将使用我最喜欢的视频分析程序Tracker Video Analysis 。 在这种情况下,我将首先根据F-22的长度(值为18.9米)缩放视频。 之后,我需要在山脉上标记点,以使用校准点对来跟踪原点( 如果您想了解如何进行校准,可以使用旧的教程 )。

Once you adjust the video for the motion of the camera, you can make these awesome “frame corrected” views.

一旦根据摄像机的运动调整了视频,就可以制作出这些很棒的“帧校正”视图。

Image for post

I love that.

我喜欢那个。

OK, now for some physics. I want to mark the location of both the front and the rear of the F-22 so that I can measure it’s position AND it’s orientation. It’s a little easier to do the calculations in python. Here is a plot of the front and back of the aircraft. Oh, this is the trajectory (x vs. y). Here is the python code with all the data.

好的,现在开始一些物理学。 我想标记F-22前后的位置,以便可以测量它的位置和方向。 在python中进行计算要容易一些。 这是飞机正面和背面的图解。 哦,这就是轨迹(x与y)。 这是包含所有数据的python代码。

Image for post

But that doesn’t really show you the orientation of the aircraft since you can’t easily see with point on the blue curve goes with which point on the red curve. So, here’s how I can calculate the orientation angle of the aircraft. Let me start with a diagram.

但这并不能真正显示飞机的方向,因为您很难轻易看到蓝色曲线上的点与红色曲线上的点。 因此,这就是我如何计算飞机的方位角。 让我从图开始。

Image for post

Just to be clear, I’m going to first find the vector value from the rear to the front of the F-22. From the x and y-components of this vector, I can calculate the angle.

为了清楚起见,我将首先找到F-22从后到前的向量值。 从这个向量的x和y分量,我可以计算出角度。

Just to test stuff, here is my plot of angle (in degrees) as a function of time. Also, the code.

仅出于测试目的,这是我随时间变化的角度图(以度为单位)。 另外,代码 。

Image for post

Note: you have to do a little angle trick when the vector is in the 3rd quadrant (when both components are negative). But still, this looks fine.

注意:向量在第三象限时(两个分量均为负值),您必须做一点角度技巧。 但是,这看起来还不错。

But what about the angle of attack? This is the angle between the velocity vector and the “orientation” vector for the aircraft. I already have the orientation vector (not sure if that’s the correct technical name), so I just need to get the velocity vector.

但是攻角呢? 这是速度矢量和飞机的“方向”矢量之间的角度。 我已经有了方向矢量(不确定这是否是正确的技术名称),所以我只需要获取速度矢量。

Here’s what I’m going to do. First, I will find a new point — the center of mass of the plane. OK, technically this will just be the center of the aircraft since I will just average the vector position of the front and rear.

这就是我要做的。 首先,我将找到一个新点-平面的质心。 好的,从技术上讲,这将只是飞机的中心,因为我将平均前后向量位置。

Image for post

Now to find the velocity vector, I am going to take three points (labeled 1, 2, 3). The velocity at point 2 will be the change in position from 1 to 3 divided by the time interval.

现在找到速度矢量,我将取三个点(标记为1、2、3)。 点2处的速度将是位置从1到3的变化除以时间间隔。

Image for post

Hopefully, by using 3 data points it will sort of “smooth” out the velocity. Here is my plot of the velocity of the center of the F-22. Code.

希望通过使用3个数据点,可以“平滑”速度。 这是我对F-22中心速度的曲线图。 码。

Image for post

I lied. I decided to use the a wider range of points (2 times before to 2 times after) for the average velocity. The other was a bit too jagged. I suspect there is a problem with the video frame rate — you can see there are some repeated frames that mess up the velocity. But this should be good enough.

我撒了谎。 我决定对平均速度使用更大范围的点(前2次到后2次)。 另一个太参差不齐。 我怀疑视频帧速率存在问题-您可以看到有些重复的帧会扰乱速度。 但这应该足够了。

Now that I have a velocity vector and an orientation vector, I just need to find the angle between these two vectors. Here is the classic trick that uses the definition of the dot-product for vectors.

现在我有了速度矢量和方向矢量,我只需要找到这两个矢量之间的夹角即可。 这是将点积定义用于矢量的经典技巧。

Image for post
Image for post

Oh darn. I just realized that I am using θ for the angle of attack, but I already used to for the orientation angle. Oh well — we are all adults here right? Sorry about that.

真是的 我刚刚意识到我将θ用于迎角,但我已经习惯于将方位角用于迎角。 哦,对了-我们都是大人吗? 对于那个很抱歉。

OK, so here is the angle of attack as a function of time. You know I’m going to give you the code — you don’t have to ask.

好的,这是迎角随时间变化的函数。 您知道我将为您提供代码-您不必问。

Image for post

I’m not sure about that spike at the beginning, but I’m pretty happy with this. Oh, one last thing — the motion of the Raptor was NOT perpendicular to the camera. You can see this because the apparent size of the aircraft changes over time. But still, it’s a pretty sweet video for analysis.

我不确定一开始的峰值,但是对此我感到非常满意。 哦,最后一件事-猛禽的运动不垂直于相机。 您会看到这是因为飞机的外观尺寸会随时间变化。 但是,这仍然是一个很好的分析视频。

翻译自: https://medium.com/swlh/video-analysis-of-an-f-22-raptor-power-loop-b3e4fbfd6d55

华硕猛禽1080ti

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/389281.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

Memory-Associated Differential Learning论文及代码解读

Memory-Associated Differential Learning论文及代码解读 论文来源: 论文PDF: Memory-Associated Differential Learning论文 论文代码: Memory-Associated Differential Learning代码 论文解读: 1.Abstract Conventional…

大数据技术 学习之旅_如何开始您的数据科学之旅?

大数据技术 学习之旅Machine Learning seems to be fascinating to a lot of beginners but they often get lost into the pool of information available across different resources. This is true that we have a lot of different algorithms and steps to learn but star…

数据可视化工具_数据可视化

数据可视化工具Visualizations are a great way to show the story that data wants to tell. However, not all visualizations are built the same. My rule of thumb is stick to simple, easy to understand, and well labeled graphs. Line graphs, bar charts, and histo…

Android Studio调试时遇见Install Repository and sync project的问题

我们可以看到,报的错是“Failed to resolve: com.android.support:appcompat-v7:16.”,也就是我们在build.gradle中最后一段中的compile项内容。 AS自动生成的“com.android.support:appcompat-v7:16.”实际上是根据我们的最低版本16来选择16.x.x及以上编…

VGAE(Variational graph auto-encoders)论文及代码解读

一,论文来源 论文pdf Variational graph auto-encoders 论文代码 github代码 二,论文解读 理论部分参考: Variational Graph Auto-Encoders(VGAE)理论参考和源码解析 VGAE(Variational graph auto-en…

tableau大屏bi_Excel,Tableau,Power BI ...您应该使用什么?

tableau大屏biAfter publishing my previous article on data visualization with Power BI, I received quite a few questions about the abilities of Power BI as opposed to those of Tableau or Excel. Data, when used correctly, can turn into digital gold. So what …

网络编程 socket介绍

Socket介绍 Socket是应用层与TCP/IP协议族通信的中间软件抽象层,它是一组接口。在设计模式中,Socket其实就是一个门面模式,它把复杂的TCP/IP协议族隐藏在Socket接口后面,对用户来说,一组简单的接口就是全部。 Socket通…

BP神经网络反向传播手动推导

BP神经网络过程: 基本思想 BP算法是一个迭代算法,它的基本思想如下: 将训练集数据输入到神经网络的输入层,经过隐藏层,最后达到输出层并输出结果,这就是前向传播过程。由于神经网络的输出结果与实际结果…

使用python和pandas进行同类群组分析

背景故事 (Backstory) I stumbled upon an interesting task while doing a data exercise for a company. It was about cohort analysis based on user activity data, I got really interested so thought of writing this post.在为公司进行数据练习时,我偶然发…

搜索引擎优化学习原理_如何使用数据科学原理来改善您的搜索引擎优化工作

搜索引擎优化学习原理Search Engine Optimisation (SEO) is the discipline of using knowledge gained around how search engines work to build websites and publish content that can be found on search engines by the right people at the right time.搜索引擎优化(SEO…

Siamese网络(孪生神经网络)详解

SiameseFCSiamese网络(孪生神经网络)本文参考文章:Siamese背景Siamese网络解决的问题要解决什么问题?用了什么方法解决?应用的场景:Siamese的创新Siamese的理论Siamese的损失函数——Contrastive Loss损失函…

Dubbo 源码分析 - 服务引用

1. 简介 在上一篇文章中,我详细的分析了服务导出的原理。本篇文章我们趁热打铁,继续分析服务引用的原理。在 Dubbo 中,我们可以通过两种方式引用远程服务。第一种是使用服务直联的方式引用服务,第二种方式是基于注册中心进行引用。…

一件登录facebook_我从Facebook的R教学中学到的6件事

一件登录facebookBetween 2018 to 2019, I worked at Facebook as a data scientist — during that time I was involved in developing and teaching a class for R beginners. This was a two-day course that was taught about once a month to a group of roughly 15–20 …

SiameseFC超详解

SiameseFC前言论文来源参考文章论文原理解读首先要知道什么是SOT?(Siamese要做什么)SiameseFC要解决什么问题?SiameseFC用了什么方法解决?SiameseFC网络效果如何?SiameseFC基本框架结构SiameseFC网络结构Si…

Python全栈工程师(字符串/序列)

ParisGabriel Python 入门基础字符串:str用来记录文本信息字符串的表示方式:在非注释中凡是用引号括起来的部分都是字符串‘’ 单引号“” 双引号 三单引""" """ 三双引有内容代表非空字符串否则是空字符串 区别&#xf…

跨库数据表的运算

跨库数据表的运算,一直都是一个说难不算太难,说简单却又不是很简单的、总之是一个麻烦的事。大量的、散布在不同数据库中的数据表们,明明感觉要把它们合并起来,再来个小小的计算,似乎也就那么回事……但真要做起来&…

熊猫在线压缩图_回归图与熊猫和脾气暴躁

熊猫在线压缩图数据可视化 (Data Visualization) I like the plotting facilities that come with Pandas. Yes, there are many other plotting libraries such as Seaborn, Bokeh and Plotly but for most purposes, I am very happy with the simplicity of Pandas plotting…

SiameseRPN详解

SiameseRPN论文来源论文背景一,简介二,研究动机三、相关工作论文理论注意:网络结构:1.Siamese Network2.RPN3.LOSS计算4.Tracking论文的优缺点分析一、Siamese-RPN的贡献/优点:二、Siamese-RPN的缺点:代码流…

数据可视化 信息可视化_可视化数据操作数据可视化与纪录片的共同点

数据可视化 信息可视化Data visualization is a great way to celebrate our favorite pieces of art as well as reveal connections and ideas that were previously invisible. More importantly, it’s a fun way to connect things we love — visualizing data and kicki…

python 图表_使用Streamlit-Python将动画图表添加到仪表板

python 图表介绍 (Introduction) I have been thinking of trying out Streamlit for a while. So last weekend, I spent some time tinkering with it. If you have never heard of this tool before, it provides a very friendly way to create custom interactive Data we…