What's Going On
motoole2 commented on slide_068 of Radiometry and reflectance ()

It appears that the domains over which the integrals are being performed are mixed up. The last equation should be written as follows:

$S = \int_{0}^{2\pi} \int_{0}^{\pi} \sin(\theta) d\theta d\phi = 4\pi$


motoole2 commented on slide_114 of Neural Networks ()

Yes, you're definitely right that the partial derivative with respect to w1 depends on both w2 and w3. (And perhaps the slide is a bit misleading in that respect.)

In the example on this slide, the partial derivative of a3 (output of a particular layer) with respect to f2 (input of a particular layer) is a function of w3. Similarly, the partial derivative of a2 with respect to f1 is a function of w2. So as a result, the weights w2 and w3 will appear when computing the gradient for w1.


mckennab commented on slide_114 of Neural Networks ()

Why don't we depend on our weights w2, w3 in computing the gradient for w1? Aren't those essentially constants in our function?

If I had something like y = f(5*g(x)), dy/dx would include the 5 in there, right?


motoole2 commented on slide_082 of Alignment and Tracking ()

There appears to be an error on this slide: in the third equation, $T(x) - I(W(x;p))$ should be $I(W(x;p)) - T(x)$.


motoole2 commented on slide_113 of Convolutional Neural Networks ()

Yes! That's all there is to it.


lgeng commented on slide_113 of Convolutional Neural Networks ()

Is lambda * W the partial derivative of just L_reg with respect to W?


motoole2 commented on slide_008 of Two-view Geometry ()

Sounds correct to me! Let me add some details.

The camera center (in world coordinates) is a homogeneous 3D coordinate $\mathbf{c}$ that satisfies the equation $\mathbf{0} = \mathbf{P}\mathbf{c}$. That is, it's the only point in 3D space whose projection onto the image plane is undefined.

As a result, there are a couple of ways to solve for the camera center $\mathbf{c}$. As you stated, one approach is to compute the smallest eigenvector of a 4x4 matrix $\mathbf{P}^T \mathbf{P}$. Or compute the SVD $\mathbf{P} = \mathbf{U}\Sigma \mathbf{V}^T$, and grab the smallest singular vector of $\mathbf{V}$.


mckennab commented on slide_008 of Two-view Geometry ()

To find the camera center, do we take the eigenvector v in V in U?V^T that corresponds to an eigenvalue of 0, and that vector by itself is the coordinates of the camera center?


motoole2 commented on slide_028 of Stereo ()

Update: Replaced $\frac{b - X}{Z} = \frac{x'}{f}$ with $\frac{X - b}{Z} = \frac{x'}{f}$


motoole2 commented on slide_080 of 2D Transformations ()

Great question! This is described in a bit more detail on page 743 of the Szeliski textbook. It might be helpful to refer to the matrix cookbook, which contains a number of identities related to matrices and vectors.

For the first step, we should note that $||\mathbf{x}||^2 = \sum_{k=1}^{K} \mathbf{x}_k^2 = \mathbf{x}^T \mathbf{x}$. Using this fact, we can expand out the first term as follows: $||\mathbf{A}\mathbf{x} - \mathbf{b}||^2 = (\mathbf{A}\mathbf{x} - \mathbf{b})^T (\mathbf{A}\mathbf{x} - \mathbf{b}) = \mathbf{x}^T (\mathbf{A}^T \mathbf{A})\mathbf{x} - 2\mathbf{x}^T \mathbf{A}^T\mathbf{b} + \mathbf{b}^T \mathbf{b}$.

After that, the last few lines take the derivative with respect to $\mathbf{x}$, set the derivative to 0, and solve for $\mathbf{x}$. If you would like more details on how to do this (e.g., computing derivatives of matrices and vectors), I would recommend looking at Section 2.4 of the matrix cookbook.


lemonyum commented on slide_080 of 2D Transformations ()

How did we expand out E_LLS = ||Ax-b||^2 to get the line below it?


motoole2 commented on slide_061 of Image Filtering ()

Instead of convolving an image with a 2D separable filter, we can instead perform two separate 1D convolution operations to our image. The first convolution is between a $M \times M$ image and a $1 \times N$ kernel. The second convolution is between the resulting $M \times M$ image (output from the first step) and a $N \times 1$ kernel. The cost of a convolution operation is $M^2 N$ in both cases (for every pixel in our image, we have to perform $N$ multiplication and addition operations). So the total cost is $2M^2 N$.


potato commented on slide_061 of Image Filtering ()

How do you get the cost of convolution with separable filter in 2 X N X M^2? How would you multiply the row/column vectors in to get it?


motoole2 commented on slide_068 of Hough Transform ()

As mentioned in class (someone pointed it out), d is indeed $\rho$. Thanks for clearing that up, @lemonyum!


lemonyum commented on slide_068 of Hough Transform ()

I think it's the values of rho


randomboi2206 commented on slide_068 of Hough Transform ()

what is d here


lgeng commented on slide_001 of Course Introduction ()

Hello!


motoole2 commented on slide_053 of Image Filtering ()

Good catch---this is a typo: I = g.


randomboi2206 commented on slide_053 of Image Filtering ()

what is I and g here?


Kokomo commented on slide_004 of Course Introduction ()

Helloooo : )


manchas commented on slide_004 of Course Introduction ()

Hey!


Mike commented on slide_088 of Image Filtering ()

Thanks! That makes a lot of sense!


motoole2 commented on slide_088 of Image Filtering ()

The $h=2$ represents the distance between samples. So in this case, we're sampling two values $f(x+1)$ and $f(x-1)$ at points $x+1$ and $x-1$, which have a distance of $(x+1)-(x-1) = 2$.

We could change this value though. For example, we could sample $f(x+1)$ and $f(x)$ (corresponding to $h=1$), or $f(x-2)$ and $f(x+2)$ (corresponding to $h=4$). However, $h > 0$ should be as small as possible for the derivative to be approximately correct.


Prakruthi commented on slide_001 of Course Introduction ()

Hi!


Mike commented on slide_088 of Image Filtering ()

Why do we set h=2 here? Where does 2 come from?


Marko_hen commented on slide_001 of Course Introduction ()

Hello!


rlac235711 commented on slide_004 of Course Introduction ()

Hi!


lemonyum commented on slide_004 of Course Introduction ()

Hi!


motoole2 commented on slide_056 of Course Introduction ()

Yup, should be just fine.


bobzhangyc commented on slide_056 of Course Introduction ()

Hi, Is the first version of the book okay?


jshuieh commented on slide_004 of Course Introduction ()

Hi!


motoole2 commented on slide_062 of Image Filtering ()

Yeah, that's a more apt description of what's going on here (think I'll steal it in the future).


bobzhangyc commented on slide_062 of Image Filtering ()

This kind of blurring is like projecting my PC on a low-resolution screen instead of taking pictures from my camera.


mckennab commented on slide_001 of Course Introduction ()

Hi everyone!


curious_george commented on slide_004 of Course Introduction ()

hi yall


yankaih commented on slide_004 of Course Introduction ()

Hi!


csz commented on slide_004 of Course Introduction ()

Hiiii