open all | close all

Lens Distortion 镜头失真Image 图片Lens Distortion 镜头失真

Lens Distortion

镜头失真

Solve Mode

解决模式

Both methods with their individual guides 这两种方法都有各自的指导

The difference between these modes are:

这些模式之间的区别是:

  • Manual 手册: This is actually the alternative method if : 这实际上是另一种方法,如果Automatic 自动的 fails. With this method you create guides along the straight image edges and then adjust the Lens Distortion model’s settings until the guides match the image edges. For this you need a good eye and knowledge of how (complicated) lens distortion settings work. 失败。使用这种方法,您可以沿着直线图像边缘创建导轨,然后调整镜头畸变模型的设置,直到导轨与图像边缘匹配。为此,你需要一个良好的眼睛和知识如何(复杂)镜头失真设置的工作
  • However, this method can work if you simply want to remove distortion using the 但是,如果您只是想使用?Quadratic 二次型 settings without additional guides. 设置没有额外的指南
  • Automatic 自动的: This method is much easier and is also the recommended method. Guides are positioned with several points on distorted, i.e., curved, image edges. Once enough guides have been positioned the image can be undistorted. All respective lens distortion settings will be modified accordingly. : 这个方法简单得多,也是推荐的方法。导轨的位置上有几个点的扭曲,即,弯曲,图像的边缘。一旦有足够的引导已经定位图像可以不失真。所有相应的镜头畸变设置将相应地修改

Add Line
Add N-Point Line

添加 linedn-point 直线

Depending on the method selected, these settings can be used to create interactive guides that must be positioned as accurately as possible along the straight (but displayed as distorted) edges. The Manual method lets you create 2-point lines and the Automatic method lets you create 3-point lines. Additional points can be added to 3-point lines at any time via Ctrl/Cmd+clicking on the line. This is useful when working with longer lines.

根据所选择的方法,这些设置可用于创建交互式指南,必须沿着直线(但显示为扭曲)边缘尽可能准确地定位。使用 Manual 方法可以创建2点线,使用 Automatic 方法可以创建3点线。通过 Ctrl/Cmd + 点击线条,可以在任何时候将额外的点添加到3点线上。这在处理较长的代码行时很有用。

How to best position guides is explained in the example above.

如何最好的位置指南是解释在上面的例子。

Delete Selected Line
Delete Selected Line

删除选定的 LineDelete 选定行

Deletes the selected guide.

删除选定的指南。

Auto Solve

自动解决

Click on this button after guides have been created in Automatic mode (note that you must first have the proper Lens Distortion Model selected). Cinema 4D will then "straighten" the bent lines and create a set of lens profile settings that will automatically be defined and can subsequently be saved.

点击这个按钮后,指南已创建在自动模式(注意,你必须首先有适当的镜头失真模型选择)。C4D 将“校正”的弯曲线,并创建一套镜头配置设置,将自动定义,随后可以保存。

Not all guides have to be created before clicking the Auto Solve button. This can also be done with only one or two guides but the result will most likely not be satisfying. Simply add more guides and further undistort the image until you’re satisfied with the result.

并不是所有的指南都必须在点击自动解决按钮之前创建。这也可以做到只有一个或两个指南,但结果很可能不会令人满意。只需添加更多的指南和进一步取消扭曲的形象,直到您满意的结果。

Lens Distortion Model

镜头畸变模型

Determine which Lens Distortion Model to use based on the distortion. 根据畸变确定使用哪种镜头畸变模型

You can select from five different models.

你可以从五种不同的型号中选择。

Select the Lens Distortion Model based on the type of image or video footage:

根据图像或视频片段的类型选择镜头失真模型:

  • 3DE Radial Standard Degree 4 3De 径向标准度4 or 3DE Standard Classic 3DE 标准经典 for ,normal’ material with little distortion (the difference between the two is explained below) 对于,正常的材质几乎没有变形(两者之间的差异在下面解释)
  • 3DE Radial Fisheye Degree 8 三维径向鱼眼8度 for fisheye distortions 用于鱼眼畸变
  • 3DE Anamorphic Standard Degree 4 3DE 变形标准等级4 for anamorphic (horizontally squeezed) material 用于变形(水平挤压)材质

If these names sound familiar it’s because they originate from the Lens Distortion Plugin Kit from Science-D-Vision (which was also used for the lens distortion functionality) and their names were not changed to eliminate any possible confusion.

如果这些名字听起来很熟悉,那是因为它们来自 Science-D-Vision 的镜头失真插件工具包(也用于镜头失真功能) ,而且它们的名字没有更改以消除任何可能的混淆。

The difference between the most commonly used models:

最常用的模型之间的区别:

  • 3DE Radial Standard Degree 4 3De 径向标准度4: This is the more technically sophisticated model that can work with decentralized (not all lying on the optical axis) lenses. This model also has two settings ( 当前位置: 这是一种技术上比较复杂的模型,可以用于分散(并非全部位于光轴上)的镜头。这个模型还有两个设置(Phi Cylindric Direction 披圆柱形方向 and B Cylindric Bending 圆柱形弯曲) that takes into consideration the effect known as ,beam splitting’ for stereo takes. These values should always be set to ) ,考虑到已知的效果,光束分裂的立体采取。这些值应该始终设置为0% for normal takes. 为了正常的拍摄
  • 3DE Standard Classic 3DE 标准经典: This is a simplified model compared to : 这是一个比较简化的模型3DE Radial Standard Degree 4 3De 径向标准度4 and can achieve good results with few guides. This model is also better suited for use with 而且在很少指导的情况下也能达到很好的效果。这个模型也更适合与Manual 手册 mode because you have fewer settings with which you have to work (which can be a great relief due to the other model’s large number of similar settings). 模式,因为你有更少的设置,你必须工作(这可以是一个伟大的救济,由于其他模式的大量类似的设置)

The 3DE Anamorphic Degree 6 model is only included for the sake of completeness (in case you created a corresponding lens profile in another application). Its use is otherwise not recommended.

3DE 变形度6模型只是出于完整性的考虑(如果您在另一个应用程序中创建了相应的镜头配置文件)。否则不建议使用。

The Lens Distortion Models’ various settings

镜头失真模型的各种设置

The settings for each Lens Distortion Model will not be described individually. They are variables within complex formulas that we will not bog you down with. These are defined automatically by Cinema 4D anyway. Instead, we have depicted the most important settings, each with a positive and a negative value, in the image below. This gives you an impression of the effect that these settings have.

每个镜头失真模型的设置将不会单独描述。它们是复杂公式中的变量,我们不会让你陷入困境。无论如何,这些都是由 Cinema 4D 自动定义的。相反,我们描绘了最重要的设置,每个都有一个正值和一个负值,在下面的图像中。这给你一个印象的效果,这些设置有。

You can view these settings as shape controllers - regions of the image will be distorted or undistorted differently, depending on which setting is modified.

您可以将这些设置视为形状控制器——图像的区域将以不同的方式被扭曲或未扭曲,这取决于修改了哪个设置。

Quadratic[-500..500%]
Cubic[-500..500%]
X Offset[-100..100%]
Y Offset[-100..100%]
Quadratic[-100..100%]
U Degree 2[-100..100%]
V Degree 2[-100..100%]
Quartic[-100..100%]
U Degree 4[-100..100%]
V Degree 4[-100..100%]
Phi Cylindric Direction[-180..180]
B Cylindric Bending[-20..20%]
X Offset[-100..100%]
Y Offset[-100..100%]
Quadratic[-100..100%]
Quartic[-100..100%]
Curvature X[-100..100%]
Curvature Y[-100..100%]
Anamorphic Squeeze[12..800%]
X Offset[-100..100%]
Y Offset[-100..100%]
Cx02[-100..100%]
Cy02[-100..100%]
Cx22[-100..100%]
Cy22[-100..100%]
Cx04[-100..100%]
Cy04[-100..100%]
Cx24[-100..100%]
Cy24[-100..100%]
Cx44[-100..100%]
Cy44[-100..100%]
Lens Rotation[-4..4]
Squeeze-X[80..120%]
Squeeze-Y[80..120%]
X Offset[-100..100%]
Y Offset[-100..100%]
Cx02[-100..100%]
Cy02[-100..100%]
Cx22[-100..100%]
Cy22[-100..100%]
Cx04[-100..100%]
Cy04[-100..100%]
Cx24[-100..100%]
Cy24[-100..100%]
Cx44[-100..100%]
Cy44[-100..100%]
Cx06[-100..100%]
Cy06[-100..100%]
Cx26[-100..100%]
Cy26[-100..100%]
Cx46[-100..100%]
Cy46[-100..100%]
Cx66[-100..100%]
Cy66[-100..100%]
X Offset[-100..100%]
Y Offset[-100..100%]
Quadratic[-100..100%]
Quartic[-100..100%]
Degree 6[-100..100%]
Degree 8[-100..100%]

平方[-500。0.500% ]立方体[-500。0.500% ] x 抵消[-100。. 100% ] y 偏移量[-100。. 100% ]二次[-100。. 100% ] u Degree 2[-100.. 100% ] v 学位2[-100。. 100% ]四分之一[-100。. 100% ] u Degree 4[-100.. 100% ] v 学位4[-100。. 100% ] Phi Cylindric Direction [-180.. 180] b 圆柱形弯曲[-20。0.20% ] x 抵消[-100。. 100% ] y 偏移量[-100。. 100% ]二次[-100。. 100% ]四分之一[-100。. 100% ]曲率 x [-100。. 100% ]曲率 y [-100。. 100% ]失真挤压[12。0.800% ] x 抵消[-100。. 100% ] y 偏移量[-100。. 100% ] Cx02[-100.. 100% ] Cy02[-100.. 100% ] Cx22[-100.. 100% ] Cy22[-100.. 100% ] Cx04[-100.. 100% ] Cy04[-100.. 100% ] Cx24[-100.. 100% ] Cy24[-100.. 100% ] Cx44[-100.. 100% ] Cy44[-100.. 100% ]镜头旋转[-4。. 4]挤压-x [80。. 120% ]挤 y [80。. 120% ] x 抵消[-100。. 100% ] y 偏移量[-100。. 100% ] Cx02[-100.. 100% ] Cy02[-100.. 100% ] Cx22[-100.. 100% ] Cy22[-100.. 100% ] Cx04[-100.. 100% ] Cy04[-100.. 100% ] Cx24[-100.. 100% ] Cy24[-100.. 100% ] Cx44[-100.. 100% ] Cy44[-100.. 100% ] Cx06[-100.. 100% ] Cy06[-100.. 100% ] Cx26[-100.. 100% ] Cy26[-100.. 100% ] Cx46[-100.. 100% ]第46款[-100。. 100% ] Cx66[-100.. 100% ]第66款[-100。. 100% ] x 抵消[-100。. 100% ] y 偏移量[-100。. 100% ]二次[-100。. 100% ]四分之一[-100。. 100% ]学位6[-100。. 100% ]学位8[-100。. 100% ]

Load Lens Profile
Save Lens Profile

加载镜头表面轮廓

Once the footage has been undistorted, manually or automatically, this particular profile should be saved. This profile can be loaded at these locations or using the corresponding tool in Cinema 4D. These files (with the suffix *.lns) contain the Lens Distortion Model created here with all its settings.

一旦镜头没有扭曲,手动或自动,这个特定的配置文件应该保存。这个配置文件可以加载在这些地点或使用相应的工具在C4D。这些文件(带有后缀 *)。Lns)包含镜头失真模型创建这里与所有的设置。

Images, videos and guides will NOT be saved (to do so, the Project file must be saved).

图像、视频和指南将不会被保存(为此,必须保存 Project 文件)。