VelocerMở ứng dụng

Velocer › Thẻ ghi nhớ › University of Illinois Urbana-Champaign › CS 445: Computational Photography · UIUC

CS 445: Computational Photography · UIUC

Computational photography, my notes as flashcards. · bởi quad_day_notes · 115 thẻ

University of Illinois Urbana-Champaign

Học bộ thẻ này Nhúng

  1. 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.
  2. 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.
  3. 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).
  4. 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.
  5. What happens when a filter has a single 1 at an offset?It shifts the image by that offset.
  6. What does it mean for a filter to sum to 1?It preserves the overall brightness of the image.
  7. How is sharpening computed?Sharpening is twice the original image minus a local average, which accentuates differences from the neighborhood.
  8. What do Sobel filters estimate?They estimate horizontal and vertical gradients, which reveal edges.
  9. What kind of filter is a Gaussian filter and what does it remove?It is a low-pass filter that smoothly removes high frequencies.
  10. 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.
  11. What is the difference between correlation and convolution?Convolution flips the kernel, whereas correlation does not; for symmetric kernels they produce the same result.
  12. How can motion blur be synthesized with a filter?Use a line-shaped kernel rotated to match the direction of motion.
  13. 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).
  14. What does an image's Fourier magnitude show?How much of each frequency and orientation the image contains.
  15. 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.
  16. 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.
  17. What is the Nyquist–Shannon sampling criterion?To reconstruct a signal, sample at least twice its highest frequency: fs ≥ 2fmax.
  18. What causes aliasing?Undersampling, i.e., sampling below twice the signal's highest frequency.
  19. What are two ways to anti-alias?Sample more often, or remove frequencies above half the new sampling rate before downsampling.
  20. How do you downsample an image by a factor of 2?Blur with a Gaussian, then keep every other pixel.
  21. 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.
  22. 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.
  23. 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.
  24. 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.
  25. How is a Gaussian pyramid constructed?Repeatedly blur and downsample the image, allowing patterns to be found at different scales.
  26. What is a Laplacian pyramid level?Each level is a Gaussian level minus its smoothed version, capturing band-pass detail.
  27. How can an image be rebuilt exactly from a Laplacian pyramid?By adding the levels back up.
  28. What is coarse-to-fine registration?Align at the coarsest pyramid level by minimizing SSD, then refine the alignment at finer levels.
  29. 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.
  30. What role do the retina's photoreceptors play, in the camera analogy?They act as the film, capturing the light.
  31. What are the key properties of rods?Rods are very sensitive, work at night, are slow, and come in only one type.
  32. What are the key properties of cones?Cones work in bright light, provide color vision, and are concentrated in the fovea.
  33. Why are dim stars easier to see off-center?Cones are concentrated in the fovea, so looking slightly off-center uses more sensitive rods.
  34. What wavelength range does visible light span?About 400–700 nm, where the Sun emits most of its energy.
  35. 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.
  36. 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).
  37. 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.
  38. 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.
  39. What is the formula for alpha compositing?output = α·F + (1 − α)·B, where F is the foreground, B the background, and α the blending weight.
  40. 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.
  41. 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.
  42. In Laplacian pyramid blending, how do low and high frequencies differ in blending speed?Low frequencies blend slowly, while high frequencies blend quickly.
  43. 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.
  44. Besides blending, what applications arise from gradient-domain ideas?Reconstruction from gradients, non-photorealistic rendering, colorization by optimization, and sharpening.
  45. How is non-photorealistic rendering achieved with gradient-domain ideas?Keep gradients on edges and reduce gradients elsewhere.
  46. What mathematical system does Poisson blending require solving?A sparse least-squares system.
  47. How many point pairs are needed to determine a 2D affine map?Three point pairs, for example mapping one triangle to another.
  48. What is forward mapping in image warping?It sends source pixels to the output image, which can leave holes; this is called splatting.
  49. 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.
  50. Why is inverse mapping usually preferred over forward mapping?It avoids holes in the output, but it requires an invertible warp.
  51. 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.
  52. 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.
  53. What is the average shape used in morphing between corresponding point sets P and Q at frame t?(1-t)P + tQ.
  54. How are images warped to the average shape during morphing?Triangle by triangle, using affine warps.
  55. What does Delaunay triangulation maximize, and why is that useful?It maximizes the smallest angle, avoiding skinny triangles.
  56. How can a triangulation be improved toward Delaunay?By performing edge flips.
  57. What interpolation methods are mentioned for inverse mapping?Nearest, bilinear, and bicubic interpolation.
  58. 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.
  59. 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.
  60. In a pinhole camera, what is the focal length f?The distance from the pinhole to the film (image plane).
  61. What geometric properties does projection preserve and lose?It loses length and angles but keeps straight lines straight.
  62. What is a vanishing point in projection?The point where parallel 3D lines meet in the image; it corresponds to a 3D direction.
  63. What is a vanishing line?The line shared by the vanishing points of parallel planes.
  64. Why are homogeneous coordinates useful for projection?They make projection linear and are invariant to scale, so a point becomes a ray.
  65. 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.
  66. What does the intrinsic matrix K contain?Focal length, principal point (u0, v0), aspect ratio, and skew.
  67. What do the extrinsics R and t represent?The camera pose: rotation and translation of the camera.
  68. What distortion do real lenses add beyond the pinhole model?Radial distortion.
  69. What is the weak perspective assumption?A distant object is treated as having constant depth.
  70. 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.
  71. What effect does a larger aperture have on light and depth of field?It admits more light but reduces depth of field.
  72. What is the dolly zoom (vertigo effect)?Moving the camera while changing focal length so the subject keeps its size while the background stretches.
  73. 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.
  74. What is an environment map?A representation of the light arriving from each direction in a scene, used to realistically light inserted objects.
  75. 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.
  76. 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.
  77. 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.
  78. 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.
  79. 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.
  80. What are the possible fates of light at a surface?It can be absorbed, diffusely reflected, specularly reflected, transmitted, or scattered beneath the surface.
  81. 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.
  82. 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.
  83. 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).
  84. 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.
  85. What makes a good keypoint?A good keypoint is repeatable (found consistently across images) and distinctive (unlikely to be confused with other points).
  86. 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.
  87. 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.
  88. What is the SIFT descriptor based on?Spatial histograms of gradient orientations around the keypoint, making it robust and selective.
  89. 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).
  90. 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.
  91. 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.
  92. 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.
  93. 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.
  94. How do vocabulary trees help visual word retrieval?They scale up the bag-of-visual-words retrieval process to large image collections.
  95. What geometric transforms are used to insert content in augmented reality?A homography for flat surfaces or a projection for 3D content.
  96. What are the hard parts of augmented reality rendering?Lighting, shadows, and occlusion.
  97. 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.
  98. 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.
  99. 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.
  100. What does bundle adjustment minimize?Reprojection error.
  101. Which algorithm initializes the two-image reconstruction in structure from motion?The 5-point algorithm, which estimates the essential matrix.
  102. What matching test is used in structure from motion feature matching?A ratio test combined with fundamental-matrix inliers.
  103. 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.
  104. 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.
  105. In stereo vision, where do matching points lie?Matches lie on epipolar lines; with parallel cameras these are scanlines.
  106. 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.
  107. What are common failure cases for stereo matching?Textureless areas, occlusions, repeated patterns, and specular surfaces.
  108. 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.
  109. 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.
  110. 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.
  111. Why is face recognition difficult?It must handle variation in expression, lighting, age, occlusion, and viewpoint.
  112. How does DeepFace prepare faces for recognition?It aligns faces using fiducial points and a 3D model before passing them to a deep network.
  113. What is the goal of video magnification?To exaggerate tiny motions or changes in video that are otherwise hard to see.
  114. 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.
  115. How does the Eulerian approach to video magnification work?It amplifies temporal changes within each pixel rather than tracking points.

Velocer miễn phí: ôn tập ngắt quãng và thẻ của riêng bạn từ bất kỳ tài liệu nào.

PDF to flashcards · Lecture to flashcards · Practice exam · Syllabus study plan · Anki import

Thêm bộ thẻ của University of Illinois Urbana-Champaign