Velocer › 单词卡 › University of Illinois Urbana-Champaign › CS 445: Computational Photography · UIUC
CS 445: Computational Photography · UIUC
Computational photography, my notes as flashcards. · 作者:quad_day_notes · 115 张卡片
- What is a digital image in terms of a camera sensor and data structure?A camera's photodiode sensor array converts photons into numbers, and the image is stored as a raster, a matrix of pixels.
- How is an RGB image represented in Python, and how is a pixel channel indexed?It is an H×W×3 array, indexed as im[y, x, c] for row, column, and channel.
- What does filtering compute, and what is it used for?Filtering computes a function of each pixel's local neighborhood; it is used to enhance images (denoise, resize, contrast), extract information (texture, edges, keypoints), and detect patterns (template matching).
- What does a box filter do and what artifact does it produce?It replaces each pixel with its neighborhood average, smoothing sharp features but producing blocky artifacts.
- What happens when a filter has a single 1 at an offset?It shifts the image by that offset.
- What does it mean for a filter to sum to 1?It preserves the overall brightness of the image.
- How is sharpening computed?Sharpening is twice the original image minus a local average, which accentuates differences from the neighborhood.
- What do Sobel filters estimate?They estimate horizontal and vertical gradients, which reveal edges.
- What kind of filter is a Gaussian filter and what does it remove?It is a low-pass filter that smoothly removes high frequencies.
- What property allows repeated small Gaussian blurs to equal one larger blur?Convolving a Gaussian with itself yields another Gaussian, so repeated small blurs combine into one larger blur.
- What is the difference between correlation and convolution?Convolution flips the kernel, whereas correlation does not; for symmetric kernels they produce the same result.
- How can motion blur be synthesized with a filter?Use a line-shaped kernel rotated to match the direction of motion.
- What is Fourier's idea about signals?A signal can be built by adding up sine and cosine waves of various frequencies, each with its own weight (a Fourier series).
- What does an image's Fourier magnitude show?How much of each frequency and orientation the image contains.
- Why do box filters cause ringing or edgy artifacts?Their frequency response has side lobes, which produce ringing; Gaussians avoid this because they fall off smoothly.
- What are hybrid images?Images that combine the low frequencies of one image with the high frequencies of another, so what you see depends on viewing distance.
- What is the Nyquist–Shannon sampling criterion?To reconstruct a signal, sample at least twice its highest frequency: fs ≥ 2fmax.
- What causes aliasing?Undersampling, i.e., sampling below twice the signal's highest frequency.
- What are two ways to anti-alias?Sample more often, or remove frequencies above half the new sampling rate before downsampling.
- How do you downsample an image by a factor of 2?Blur with a Gaussian, then keep every other pixel.
- Why are Gaussian filters preferred over box filters in frequency terms?A Gaussian's frequency response falls off smoothly without side lobes, so it avoids ringing artifacts.
- What is the fastest template matching option, and what is its main drawback?The zero-mean filter is the fastest option, but it is a poor matcher.
- What does SSD stand for in template matching, and what is its key limitation?SSD is the sum of squared differences; it can be computed with filters but is affected by global brightness changes.
- Which template matching method is unaffected by local brightness and contrast, and what is its cost?Normalized cross-correlation is unaffected by local brightness and contrast, but it is the slowest of the three methods.
- How is a Gaussian pyramid constructed?Repeatedly blur and downsample the image, allowing patterns to be found at different scales.
- What is a Laplacian pyramid level?Each level is a Gaussian level minus its smoothed version, capturing band-pass detail.
- How can an image be rebuilt exactly from a Laplacian pyramid?By adding the levels back up.
- What is coarse-to-fine registration?Align at the coarsest pyramid level by minimizing SSD, then refine the alignment at finer levels.
- What does the iris control in the eye, and what camera part is it analogous to?The iris controls the pupil, which acts like the camera's aperture.
- What role do the retina's photoreceptors play, in the camera analogy?They act as the film, capturing the light.
- What are the key properties of rods?Rods are very sensitive, work at night, are slow, and come in only one type.
- What are the key properties of cones?Cones work in bright light, provide color vision, and are concentrated in the fovea.
- Why are dim stars easier to see off-center?Cones are concentrated in the fovea, so looking slightly off-center uses more sensitive rods.
- What wavelength range does visible light span?About 400–700 nm, where the Sun emits most of its energy.
- How does Intelligent Scissors differ from Graph Cuts in user interaction?Intelligent Scissors uses a user seed and cursor-driven lowest-cost paths, while Graph Cuts labels pixels globally by minimizing an energy via min-cut.
- What does the source/sink min-cut represent in Graph Cuts segmentation?The cut partitions pixels into foreground (connected to source) and background (connected to sink).
- Why is treating the image as a graph of pixels useful for segmentation?It lets segmentation be formulated as path-finding (Intelligent Scissors) or min-cut (Graph Cuts) over pixel nodes and edges.
- What visual artifacts and limitations are typical of simple cut-and-paste image compositing?Cut and paste shows segmentation errors, blocky edges, and fails when objects are semi-transparent.
- What is the formula for alpha compositing?output = α·F + (1 − α)·B, where F is the foreground, B the background, and α the blending weight.
- What does feathering do in alpha compositing, and what happens if the window is mis-sized?Feathering softens the mask. A window that is too small produces seams, while one that is too large causes ghosting.
- How does Laplacian pyramid blending work?Build Laplacian pyramids of both images and a Gaussian pyramid of the mask, blend each level using the mask at that level, then collapse the pyramid.
- In Laplacian pyramid blending, how do low and high frequencies differ in blending speed?Low frequencies blend slowly, while high frequencies blend quickly.
- What is the goal of Poisson (gradient-domain) blending?To solve for pixels whose gradients match the source inside the region while matching the target at the boundary, typically as a sparse least-squares system.
- Besides blending, what applications arise from gradient-domain ideas?Reconstruction from gradients, non-photorealistic rendering, colorization by optimization, and sharpening.
- How is non-photorealistic rendering achieved with gradient-domain ideas?Keep gradients on edges and reduce gradients elsewhere.
- What mathematical system does Poisson blending require solving?A sparse least-squares system.
- How many point pairs are needed to determine a 2D affine map?Three point pairs, for example mapping one triangle to another.
- What is forward mapping in image warping?It sends source pixels to the output image, which can leave holes; this is called splatting.
- What is inverse mapping in image warping?It pulls each output pixel from the source location T^-1(x', y') using interpolation such as nearest, bilinear, or bicubic.
- Why is inverse mapping usually preferred over forward mapping?It avoids holes in the output, but it requires an invertible warp.
- Why does cross-dissolving alone produce ghosting in morphing?Because it averages the images without aligning them; morphing must average the object's shape, not just the images.
- What are the steps of the morphing procedure for each frame t?Compute the average shape (1-t)P + tQ of corresponding points, warp both images to it triangle by triangle with affine warps, then cross-dissolve the colors.
- What is the average shape used in morphing between corresponding point sets P and Q at frame t?(1-t)P + tQ.
- How are images warped to the average shape during morphing?Triangle by triangle, using affine warps.
- What does Delaunay triangulation maximize, and why is that useful?It maximizes the smallest angle, avoiding skinny triangles.
- How can a triangulation be improved toward Delaunay?By performing edge flips.
- What interpolation methods are mentioned for inverse mapping?Nearest, bilinear, and bicubic interpolation.
- What is the key difference between forward and inverse mapping?Forward mapping pushes source pixels to the output and can leave holes; inverse mapping pulls output pixels from the source and avoids holes but needs an invertible warp.
- What is a pinhole camera aperture and what image does it produce?A small hole that lets only a few rays from each point through, forming a sharp but dim image.
- In a pinhole camera, what is the focal length f?The distance from the pinhole to the film (image plane).
- What geometric properties does projection preserve and lose?It loses length and angles but keeps straight lines straight.
- What is a vanishing point in projection?The point where parallel 3D lines meet in the image; it corresponds to a 3D direction.
- What is a vanishing line?The line shared by the vanishing points of parallel planes.
- Why are homogeneous coordinates useful for projection?They make projection linear and are invariant to scale, so a point becomes a ray.
- What does the projection equation x = K[R|t]X represent?The mapping of a 3D point X to image point x via intrinsics K and extrinsics R, t.
- What does the intrinsic matrix K contain?Focal length, principal point (u0, v0), aspect ratio, and skew.
- What do the extrinsics R and t represent?The camera pose: rotation and translation of the camera.
- What distortion do real lenses add beyond the pinhole model?Radial distortion.
- What is the weak perspective assumption?A distant object is treated as having constant depth.
- What effect does a longer focal length have on field of view and depth of field?It narrows the field of view and reduces depth of field.
- What effect does a larger aperture have on light and depth of field?It admits more light but reduces depth of field.
- What is the dolly zoom (vertigo effect)?Moving the camera while changing focal length so the subject keeps its size while the background stretches.
- How does the Tour into the Picture method model a scene?As an axis-aligned box plus billboards for foreground objects, through which a virtual camera can fly.
- What is an environment map?A representation of the light arriving from each direction in a scene, used to realistically light inserted objects.
- What is a light probe, and how is it captured?A mirrored ball photographed to capture incoming light; the normal is derived from pixel position, then the reflection direction, and the result is converted to an equirectangular map.
- Why is HDR needed for image-based lighting?Because light sources are far brighter than the rest of the scene, so a single standard exposure cannot capture the full range of radiances.
- How is an HDR image created from multiple exposures?Merge several exposures taken with varying shutter speed, aperture, or ND filters, solving g(Z_ij) = ln R_i + ln Δt_j for the response curve g and the radiances.
- In HDR merging, which pixels are weighted more and why?Mid-range pixels are weighted more because they are less affected by noise and saturation, and smoothness of the response curve is enforced.
- What does the rendering equation compute?The reflected light, as the integral of incoming light times the BRDF times the incidence-angle factor over all incoming directions.
- What are the possible fates of light at a surface?It can be absorbed, diffusely reflected, specularly reflected, transmitted, or scattered beneath the surface.
- How does ray tracing generate an image?It casts rays from the camera and adds reflection/refraction and shadow rays, optionally including multiple inter-reflections.
- What is the trade-off in choosing samples per pixel in ray tracing?More samples reduce aliasing but increase rendering time; fewer samples are faster but noisier.
- What steps does the Karsch et al. method use to insert objects into a single photo?Estimate a box layout and camera from vanishing points, estimate the lights, add occlusion boundaries, then render (e.g., in Blender).
- What is the difference between an environment map and a light probe?An environment map stores the light arriving from each direction; a light probe is the physical mirrored ball photographed to capture that light, which is then converted into an environment map.
- What makes a good keypoint?A good keypoint is repeatable (found consistently across images) and distinctive (unlikely to be confused with other points).
- How does the Harris corner detector identify corners?It uses the smoothed second-moment matrix of gradients; a corner has two large eigenvalues, and cornerness is computed from det M and trace M, followed by non-maximum suppression.
- What does the Difference of Gaussians method detect, and across what structure?It detects blobs across a scale pyramid (Lowe's method). Orientation is then normalized by a dominant gradient direction.
- What is the SIFT descriptor based on?Spatial histograms of gradient orientations around the keypoint, making it robust and selective.
- How are descriptors matched, and what is the ratio test?Matches are found by nearest neighbor, keeping only matches much better than the second-best match (the ratio test).
- How does the DLT algorithm estimate a homography?Four matches give linear equations Ah = 0; h is the singular vector with the smallest singular value. Coordinates should be normalized (zero mean, unit scale) first for stability.
- How does RANSAC estimate a homography robustly?Repeat: pick a minimal random sample (4 matches), fit H, count inliers within a threshold (e.g., 3 pixels); keep the model with the most inliers, then refine.
- What are the main steps in image stitching?Detect and match keypoints, estimate H with RANSAC, project onto a planar, cylindrical, or spherical surface, then blend.
- What is the bag of visual words approach?Cluster keypoint descriptors with k-means so each image becomes a bag of visual words, then rank images by tf-idf for fast retrieval.
- How do vocabulary trees help visual word retrieval?They scale up the bag-of-visual-words retrieval process to large image collections.
- What geometric transforms are used to insert content in augmented reality?A homography for flat surfaces or a projection for 3D content.
- What are the hard parts of augmented reality rendering?Lighting, shadows, and occlusion.
- What does 'Building Rome in a Day' do?It reconstructs 3D scenes from thousands of internet photos using SIFT, vocabulary tree matching, RANSAC verification, and triangulation.
- How does scene completion fill holes in a reconstruction?By finding similar images among millions of photos; with enough data, simple matching finds near-duplicates.
- What is the pipeline of incremental structure from motion?Detect features, match with a ratio test and fundamental-matrix inliers, initialize from two images via the essential matrix (5-point algorithm), add cameras and points, and bundle adjust.
- What does bundle adjustment minimize?Reprojection error.
- Which algorithm initializes the two-image reconstruction in structure from motion?The 5-point algorithm, which estimates the essential matrix.
- What matching test is used in structure from motion feature matching?A ratio test combined with fundamental-matrix inliers.
- What is the key idea behind large-scale photo reconstruction with enough data?With enough data, simple matching finds near-duplicates, enabling reconstruction from thousands of internet photos.
- How did Lyu and Farid distinguish computer-generated images from photographs?They trained an SVM on predictable wavelet statistics of natural images, which differ from those of CG images.
- In stereo vision, where do matching points lie?Matches lie on epipolar lines; with parallel cameras these are scanlines.
- How is depth computed from stereo disparity?Depth = fB/(x − x′), where f is focal length, B is baseline, and x − x′ is disparity. Disparity is inversely proportional to depth.
- What are common failure cases for stereo matching?Textureless areas, occlusions, repeated patterns, and specular surfaces.
- How does the Kinect estimate depth?It projects an infrared dot pattern and performs stereo matching between the projector and sensor, then estimates body pose from the depth image.
- What is the plenoptic function?The intensity of light at every position, direction, wavelength, and time. Conventional cameras sample only a tiny slice of it.
- How does sliding-window face detection work?A classifier is applied to features (such as wavelet or intensity patterns) over sliding windows to detect faces.
- Why is face recognition difficult?It must handle variation in expression, lighting, age, occlusion, and viewpoint.
- How does DeepFace prepare faces for recognition?It aligns faces using fiducial points and a 3D model before passing them to a deep network.
- What is the goal of video magnification?To exaggerate tiny motions or changes in video that are otherwise hard to see.
- How does the Lagrangian approach to video magnification work?It tracks points using Harris features, robust registration, and trajectory clustering into layers, then magnifies their motion.
- How does the Eulerian approach to video magnification work?It amplifies temporal changes within each pixel rather than tracking points.
Velocer 免费:间隔重复,还能从任何文档创建你自己的卡片。
PDF to flashcards · Lecture to flashcards · Practice exam · Syllabus study plan · Anki import
University of Illinois Urbana-Champaign 的更多牌组
- CS 580: Algorithmic Game Theory · UIUC
- CS 444: Deep Learning for Computer Vision · UIUC
- CS 441: Applied Machine Learning · UIUC
- CS 440: Artificial Intelligence · UIUC
- CS 425: Distributed Systems · UIUC
- CS 421: Programming Languages and Compilers · UIUC
- CS 374: Intro to Algorithms and Models of Computation · UIUC
- CS 357: Numerical Methods I · UIUC
- CS 341: System Programming · UIUC
- CS 225: Data Structures · UIUC
- CS 173: Discrete Structures · UIUC