PBRT_V2 总结记录 <19> Sampling Theory

概述

1. Although the final output of a renderer like pbrt is a two-dimensional grid of colored
pixels, incident radiance is actually a continuous function defined over the film plane.
The manner in which the discrete pixel values are computed from this continuous function
can noticeably affect the quality of the final image generated by the renderer; if this
process is not performed carefully, artifacts will be present.
Fortunately, a relatively small
amount of additional computation to this end can substantially improve the quality of
the rendered images.

(整个 Film Plane 上的 incident radiance 实际上是一个连续函数 ,但是Pixel是离散的,这些离散的Pixel其实是从incident radiance 连续函数中计算出来, 其实个人理解,就是利用 离散的Pixel去重新构建一个新的函数,逼近 原来的连续函数)

 

2. sampling theory—the theory of taking discrete sample values
from functions defined over continuous domains and then using those samples to reconstruct
new functions that are similar to the original
.Building on principles of sampling
theory, the Samplers in this chapter select sample points on the image plane at which incident
radiance will be computed

(采样的理论就是,从一个连续函数A中进行采样,得到一些采样点,利用这些采样点,重新构造出一个新的函数B,使得函数B 相似于 原来的函数A)

 

Sampling Theory

1. When thinking about digital images, it is important to differentiate between image pixels, which represent the value of a
function at a particular sample location
, and display pixels, which are physical objects that emit light with some distribution.

(Pixel 表示的就是 采样一个函数的某一个位置得到的函数值)

 

2.

Displays use the image pixel values to construct a new image function over the display
surface.This function is defined at all points on the display, not just the infinitesimal
points of the digital image’s pixels. This process of taking a collection of sample values
and converting them back to a continuous function is called reconstruction
.

(显示器 使用所有 Pixel 值来为整个屏幕构建一个新的图像函数,这个新的图像函数不只是和Pixel有关,还是和整个屏幕的所有的点都有关,这个收集采样值和把他们转成一个连续函数的过程叫做 reconstruction)

 

3. 

In order to compute the discrete pixel values in the digital image, it is necessary to sample
the original continuously defined image function. In pbrt, like most other ray-tracing
renderers, the only way to get information about the image function is to sample it by
tracing rays.

(为了计算图片里面的离散像素值,需要去采样 原始的连续的图片函数,在pbrt中,或者其他的光线追踪渲染器,去获得图片函数信息的唯一方式就是 发射线去采样)

 

4. 

While an image could be generated by just sampling the function precisely at the pixel positions, a
better result can be obtained by taking more samples at different positions and incorporating
this additional information about the image function into the final pixel values.

 

5. 

Indeed, for the best-quality result, the pixel values should be computed such that the reconstructed
image on the display device is as close as possible to the original image of the
scene on the virtual camera’s film plane.

(最好的图片质量就是,用 Pixel 来 重构 的图片 尽可能地接近  真实相机拍出来的 相片)

 

6. 

Because the sampling and reconstruction process involves approximation, it introduces
error known as aliasing, which can manifest itself in many ways, including jagged edges
or flickering in animations. These errors occur because the sampling process is not able
to capture all of the information from the continuously defined image function.

(走样主要是因为,采样的过程中没有 在连续的图片函数中 获得足够的信息)

 

7. 

Because the only information available
about f comes from the sample values at the positions x‘, ˜ f is unlikely to match f
perfectly since there is no information about f ’s behavior between the samples.

(上面演示的就是,在 原函数 进行采样,利用采样点 重构 一个新的函数出来)

8.

Fourier analysis can be used to evaluate the quality of the match between the reconstructed
function and the original.

(简单理解:傅里叶分析 是用来评估 重构函数和原函数 的差别大不大)

 

 

The Frequency Domain And The Fourier Transform

 

1. 

One of the foundations of Fourier analysis is the Fourier transform, which represents a
function in the frequency domain. (We will say that functions are normally expressed in
the spatial domain.)
Consider the two functions graphed in Figure 7.2. The function in
Figure 7.2(a) varies relatively slowly as a function of x, while the function in Figure 7.2(b)
varies much more rapidly. The slower-varying function is said to have lower frequency
content. Figure 7.3 shows the frequency space representations of these two functions;
the lower-frequency function’s representation goes to zero more quickly than the higherfrequency
function.

(Fourier transform  可以用 把一个 函数从 spatial domain 变到 frequency domain)

 

Most functions can be decomposed into a weighted sum of shifted sinusoids. This remarkable
fact was first described by Joseph Fourier, and the Fourier transform converts a
function into this representation. This frequency space representation of a function gives
insight into some of its characteristics
—the distribution of frequencies in the sine functions
corresponds to the distribution of frequencies in the original function. Using this
form, it is possible to use Fourier analysis to gain insight into the error that is introduced
by the sampling and reconstruction process, and how to reduce the perceptual impact of
this error.

(Fourier transform  可以用 把一个 函数从 spatial domain 变到 frequency domain,在 frequency domain 中表示一个函数的话,可以更方便地看清楚这个函数的 一些特征,方便查错和纠错)

 

2. 

The Fourier transform of a one-dimensional function f (x) is

The new function F is a function of frequency, ω。

We will denote the Fourier transform operator by , such that {f (x)} = F(ω).

 is clearly a linear operator—that is, {af (x)} = a{f (x)} for any scalar a, and {f (x) + g(x)} =
{f (x)} + {g(x)}.

 

 

3. 

The inverse Fourier transform

 

 

Ideal Sampling And Reconstruction

1. (数学来表示采样)

Recall that the sampling process requires us to choose a set of equally spaced
sample positions and compute the function’s value at those positions. Formally, this corresponds
to multiplying the function by a “shah,” or “impulse train,” function, an infinite
sum of equally spaced delta functions. The shah  is defined as

 

 

where T defines the period, or sampling rate. This formal definition of sampling is
illustrated in Figure 7.4. The multiplication yields an infinite sequence of values of the
function at equally spaced points:

 

2. Reconstructed function

These sample values can be used to define a reconstructed function  by choosing a
reconstruction filter function r(x) and computing the convolution

where the convolution operation ⊗ is defined as

For reconstruction, convolution gives a weighted sum of scaled instances of the reconstruction
filter centered at the sample points:

 

For example, in Figure 7.1, the triangle reconstruction filter, f (x) = max(0, 1− |x|), was
used. Figure 7.5 shows the scaled triangle functions used for that example.

 

 

We have gone through a process that may seem gratuitiously complex in order to end up at an intuitive result: the reconstructed function ~f(x) can be obtained by interpolating
among the samples in some manner.
By setting up this background carefully, however,
Fourier analysis can now be applied to the process more easily.

 

3. Reconstructed function in  frequency domain

An important idea used in Fourier analysis is the fact that the Fourier transform of the
product of two functions {f (x)g(x)} can be shown to be the convolution of their
individual Fourier transforms F(ω) and G(ω):

 

It is similarly the case that convolution in the spatial domain is equivalent to multiplication
in the frequency domain:

These properties are derived in the standard references on Fourier analysis. Using these
ideas, the original sampling step in the spatial domain, where the product of the shah
function and the original function f (x) is found, can be equivalently described by the
convolution of F(ω) with another shah function in frequency space.

(如果把上面的 Reconstructed function in spatial domain 的最后一个公式套上去,其实就是说明,在 spatial domain 中的乘法可以用 frequency domain 空间的 卷积 代替)

 

We also know the spectrum of the shah function from Table 7.1; the Fourier
transform of a shah function with period T is another shah function with period 1/T .

This reciprocal relationship between periods is important to keep in mind: it means that
if the samples are farther apart in the spatial domain, they are closer together in the
frequency domain.

(如果 采样点 在 spatial domain 中是距离较远的话,那么在 frequency domain.距离就会比较紧凑)

 

Thus, the frequency domain representation of the sampled signal is given by the convolution
of F(ω) and this new shah function. Convolving a function with a delta function
just yields a copy of the function, so convolving with a shah function yields an infinite
sequence of copies of the original function, with spacing equal to the period of the shah
(Figure 7.6). This is the frequency space representation of the series of samples.

(根据上面所说的,在  frequency domain 中,Reconstructed 公式带有 卷积,例如 一个function 和 delta function 的卷积,得到的结果就是直接克隆 这个function,如果是 一个function 与 shah function 进行卷积,就是 无限的克隆这个function,看以下的图片)

 

Now that we have this infinite set of copies of the function’s spectrum, how do we
reconstruct the original function? Looking at Figure 7.6, the answer is obvious: just
discard all of the spectrum copies except the one centered at the origin, giving the original
F(ω). In order to throw away all but the center copy of the spectrum, we multiply by a
box function of the appropriate width (Figure 7.7).
The box function  of width T
is defined as

(利用一个 Box Function 来 获得 reconstruct origin function)

 

This multiplication step corresponds to convolution with the reconstruction filter in the
spatial domain. This is the ideal sampling and reconstruction process. To summarize:

This is a remarkable result: we have been able to determine the exact frequency space
representation of f (x), purely by sampling it at a set of regularly spaced points. Other
than knowing that the function was band limited, no additional information about the
composition of the function was used.

 

4. Reconstructed function in spatial domain

Applying the equivalent process in the spatial domain will likewise recover f (x) exactly.
Because the inverse Fourier transform of the box function is the sinc function, ideal
reconstruction in the spatial domain is found by

or

 

Unfortunately, because the sinc function has infinite extent, it is necessary to use all of
the sample values f (i) to compute any particular value of ˜ f (x) in the spatial domain.

Filters with finite spatial extent are preferable for practical implementations even though
they don’t reconstruct the original function perfectly.

 

A commonly used alternative in graphics is to use the box function for reconstruction,
effectively averaging all of the sample values within some region around x. This is a very
poor choice
, as can be seen by considering the box filter’s behavior in the frequency
domain: This technique attempts to isolate(隔绝) the central copy of the function’s spectrum
by multiplying by a sinc, which not only does a bad job of selecting the central copy of the
function’s spectrum but includes high-frequency contributions from the infinite series of
other copies of it as well.

 

 

以下是对提供的参考资料的总结,按照要求结构化多个要点分条输出: 4G/5G无线网络优化与网规案例分析: NSA站点下终端掉4G问题:部分用户反馈NSA终端频繁掉4G,主要因终端主动发起SCGfail导致。分析显示,在信号较好的环境下,终端可能因节能、过热保护等原因主动释放连接。解决方案建议终端侧进行分析处理,尝试关闭节电开关等。 RSSI算法识别天馈遮挡:通过计算RSSI平均值及差值识别天馈遮挡,差值大于3dB则认定有遮挡。不同设备分组规则不同,如64T和32T。此方法可有效帮助现场人员识别因环境变化引起的网络问题。 5G 160M组网小区CA不生效:某5G站点开启100M+60M CA功能后,测试发现UE无法正常使用CA功能。问题原因在于CA频点集标识配置错误,修正后测试正常。 5G网络优化与策略: CCE映射方式优化:针对诺基亚站点覆盖农村区域,通过优化CCE资源映射方式(交织、非交织),提升RRC连接建立成功率和无线接通率。非交织方式相比交织方式有显著提升。 5G AAU两扇区组网:与三扇区组网相比,AAU两扇区组网在RSRP、SINR、下载速率和上传速率上表现不同,需根据具体场景选择适合的组网方式。 5G语音解决方案:包括沿用4G语音解决方案、EPS Fallback方案和VoNR方案。不同方案适用于不同的5G组网策略,如NSA和SA,并影响语音连续性和网络覆盖。 4G网络优化与资源利用: 4G室分设备利旧:面对4G网络投资压减与资源需求矛盾,提出利旧多维度调优策略,包括资源整合、统筹调配既有资源,以满足新增需求和提质增效。 宏站RRU设备1托N射灯:针对5G深度覆盖需求,研究使用宏站AAU结合1托N射灯方案,快速便捷地开通5G站点,提升深度覆盖能力。 基站与流程管理: 爱立信LTE基站邻区添加流程:未提供具体内容,但通常涉及邻区规划、参数配置、测试验证等步骤,以确保基站间顺畅切换和覆盖连续性。 网络规划与策略: 新高铁跨海大桥覆盖方案试点:虽未提供详细内容,但可推测涉及高铁跨海大桥区域的4G/5G网络覆盖规划,需考虑信号穿透、移动性管理、网络容量等因素。 总结: 提供的参考资料涵盖了4G/5G无线网络优化、网规案例分析、网络优化策略、资源利用、基站管理等多个方面。 通过具体案例分析,展示了无线网络优化中的常见问题及解决方案,如NSA终端掉4G、RSSI识别天馈遮挡、CA不生效等。 强调了5G网络优化与策略的重要性,包括CCE映射方式优化、5G语音解决方案、AAU扇区组网选择等。 提出了4G网络优化与资源利用的策略,如室分设备利旧、宏站RRU设备1托N射灯等。 基站与流程管理方面,提到了爱立信LTE基站邻区添加流程,但未给出具体细节。 新高铁跨海大桥覆盖方案试点展示了特殊场景下的网络规划需求。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值