华硕猛禽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,一经查实,立即删除!

相关文章

聊天常用js代码

<script languagejavascript>//转意义字符与替换图象以及字体HtmlEncode(text)function HtmlEncode(text){return text.replace(//"/g, &quot;).replace(/</g, <).replace(/>/g, >).replace(/#br#/g,<br>).replace(/IMGSTART/g,<IMG style…

温故而知新:柯里化 与 bind() 的认知

什么是柯里化?科里化是把一个多参数函数转化为一个嵌套的一元函数的过程。&#xff08;简单的说就是将函数的参数&#xff0c;变为多次入参&#xff09; const curry (fn, ...args) > fn.length < args.length ? fn(...args) : curry.bind(null, fn, ...args); // 想要…

OPENVAS运行

https://www.jianshu.com/p/382546aaaab5转载于:https://www.cnblogs.com/diyunpeng/p/9258163.html

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

Memory-Associated Differential Learning论文及代码解读 论文来源&#xff1a; 论文PDF&#xff1a; Memory-Associated Differential Learning论文 论文代码&#xff1a; Memory-Associated Differential Learning代码 论文解读&#xff1a; 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…

纯API函数实现串口读写。

以最后决定用纯API函数实现串口读写。 先从网上搜索相关代码&#xff08;关键字&#xff1a;C# API 串口&#xff09;&#xff0c;发现网上相关的资料大约来源于一个版本&#xff0c;那就是所谓的msdn提供的样例代码&#xff08;msdn的具体出处&#xff0c;我没有考证&#xff…

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

数据可视化工具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的问题

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

Apache Ignite 学习笔记(二): Ignite Java Thin Client

前一篇文章&#xff0c;我们介绍了如何安装部署Ignite集群&#xff0c;并且尝试了用REST和SQL客户端连接集群进行了缓存和数据库的操作。现在我们就来写点代码&#xff0c;用Ignite的Java thin client来连接集群。 在开始介绍具体代码之前&#xff0c;让我们先简单的了解一下Ig…

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

一&#xff0c;论文来源 论文pdf Variational graph auto-encoders 论文代码 github代码 二&#xff0c;论文解读 理论部分参考&#xff1a; Variational Graph Auto-Encoders&#xff08;VGAE&#xff09;理论参考和源码解析 VGAE&#xff08;Variational graph auto-en…

IIS7设置

IIS 7.0和IIS 6.0相比改变很大谁都知道&#xff0c;而且在IIS 7.0中用VS2005来调试Web项目也不是什么新鲜的话题&#xff0c;但是我还是第一次运用这个东东&#xff0c;所以在此记下我的一些过程&#xff0c;希望能给更多的后来者带了一点参考。其实我写这篇文章时也参考了其他…

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 …

python 可视化工具_最佳的python可视化工具

python 可视化工具Disclaimer: I work for Datapane免责声明&#xff1a;我为Datapane工作 动机 (Motivation) There are amazing articles on data visualization on Medium every day. Although this comes at the cost of information overload, it shouldn’t prevent you …

网络编程 socket介绍

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

猿课python 第三天

字典 字典是python中唯一的映射类型,字典对象是可变的&#xff0c;但是字典的键是不可变对象&#xff0c;字典中可以使用不同的键值字典功能> dict.clear()          -->清空字典 dict.keys()          -->获取所有key dict.values()      …

在C#中使用代理的方式触发事件

事件&#xff08;event&#xff09;是一个非常重要的概念&#xff0c;我们的程序时刻都在触发和接收着各种事件&#xff1a;鼠标点击事件&#xff0c;键盘事件&#xff0c;以及处理操作系统的各种事件。所谓事件就是由某个对象发出的消息。比如用户按下了某个按钮&#xff0c;某…

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

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

使用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.在为公司进行数据练习时&#xff0c;我偶然发…

3.Contructor(构造器)模式—精读《JavaScript 设计模式》Addy Osmani著

同系列友情链接: 1.设计模式之初体验—精读《JavaScript 设计模式》Addy Osmani著 2.设计模式的分类—精读《JavaScript 设计模式》Addy Osmani著 Construct&#xff08;构造器&#xff09;模式 在经典的面向对象编程语言中&#xff0c;Construtor是一种在内存已分配给该对象的…

BZOJ 3653: 谈笑风生(离线, 长链剖分, 后缀和)

题意 给你一颗有 \(n\) 个点并且以 \(1\) 为根的树。共有 \(q\) 次询问&#xff0c;每次询问两个参数 \(p, k\) 。询问有多少对点 \((p, a, b)\) 满足 \(p,a,b\) 为三个不同的点&#xff0c;\(p, a\) 都为 \(b\) 的祖先&#xff0c;且 \(p\) 到 \(a\) 的距离不能超过 \(k\) 。 …