Image Processing Midterm

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/136

encourage image

There are no tags or description

Looks like no tags are added yet.

137 Terms

1
New cards

Sample spacing and physical location

x_m = x_0 + m*Δx, y_n = y_0 + n*Δy; index m along x (rows), n along y (columns); f[m,n] = f(x_m, y_n). An M×N array alone carries no physical scale; spacing converts indices to locations.

2
New cards

Density, extent, array size

density = 1/Δx; array size M = extent_x/Δx; cell convention extent = M*Δx; center-to-center (M-1)*Δx. State the convention.

3
New cards

Bit depth, levels, quantizer

L = 2^b; storage M*N*b bits (1 byte = 8 bits, 1 MB = 10^6 bytes); quantizer = reproduction levels + decision thresholds (nearest-level: halfway between levels); many inputs → one level; step 1/(L-1) (endpoints mapped) or 1/L (bin centers).

4
New cards

False contouring

smooth ramp with too few levels → flat bands with abrupt steps; shows first in smooth regions; objectionable at ~16 or fewer levels; enters at quantization, before storage.

5
New cards

Sampling vs. quantization loss

sampling: where samples are (loss in finely varying regions); quantization: which values (loss in smooth regions); fixed extent → sampling changes M×N, bit depth does not; both many-to-one → irreversible: later processing can only estimate under assumptions.

6
New cards

Aliasing (observational)

two different continuous patterns take identical values at every retained sample → stored arrays identical, data cannot distinguish originals; misrepresentation is structured (convincing coarse pattern), not damaged-looking.

7
New cards

Aliasing: non-recoverability

enlarging, interpolating, smoothing, or sharpening all operate on the same samples that lost the distinction; mitigation must act before the sampling/downsampling step (e.g., prefilter).

8
New cards

Failure mechanisms and where they enter

blur: softens edges, spatial spread, at acquisition or processing. noise: irregular value perturbation, at measurement. aliasing: false structured pattern, at sampling. pixelation: blocky squares, display appearance (few samples shown as blocks), at display/reconstruction. false contouring: flat bands, at quantization.

9
New cards

Diagnosing failures (four questions)

(1) reproducible across re-acquisitions? noise no; blur/aliasing yes. (2) many samples across the affected feature? blur spreads; coarse sampling doesn't. (3) wrong content missing (blur/sampling) or present (aliasing)? (4) changes with display only? pixelation yes. Appearance ≠ evidence.

10
New cards

Blur mechanism (PSF)

PSF = image of one point; broad PSF spreads a point over a neighborhood, merging details closer than the spot width; enters before digitization (focus, motion, optics, aperture); averaging repeated acquisitions suppresses noise but leaves blur unchanged.

11
New cards

Dynamic range vs. contrast

dynamic range: max measurable / min detectable (saturation over noise floor); contrast: highest minus lowest present in an image; more bits do not create usable range below noise or above saturation.

12
New cards

Operator notation

T{f}[m,n]: apply T to the whole image, then inspect output at (m,n); write T{f[m,n]} only for pointwise scalar operations.

13
New cards

Linearity

T{a*f1 + b*f2} = a*T{f1} + b*T{f2} for arbitrary inputs/scalars; prove with general symbols, disprove with one counterexample; a nonzero additive offset makes it affine, not linear.

14
New cards

Shift invariance

T{f_{n0}}[n] = T{f}[n - n0] for every shift; shifting input shifts output and changes nothing else; independent of linearity.

15
New cards

LSI

both linear and shift invariant; a modeling assumption about the operator, not a universal fact; it buys the impulse-response characterization.

16
New cards

Linearity counterexamples

(f[n])^2: not linear (2·1 → 4 ≠ 2·1), shift invariant; n*f[n]: linear but not shift invariant (gate tied to location); f[n]+4: shift invariant but affine; saturation min(f,200): nonlinear, shift invariant, acts as identity below the cap.

17
New cards

Impulse and impulse response

δ[n] = 1 at n=0 else 0; h[n] = T{δ}[n]; any operator answers an impulse, only LSI lets one h predict every input; response generally not an impulse.

18
New cards

Impulse decomposition

f[m,n] = Σ_m' Σ_n' f[m',n'] δ[m-m', n-n']; true for every f, assumes nothing about T; expresses f in components whose LSI responses are predictable.

19
New cards

Convolution derivation steps

(1) decompose into scaled shifted impulses; (2) pull sums/scalars out — linearity; (3) each shifted-impulse response = shifted copy of h — shift invariance; (4) name the sum: g[m,n] = Σ Σ f[m',n'] h[m-m', n-n'].

20
New cards

Convolution hand computation

(f*h)[m,n] = Σ h[Δm,Δn] f[m-Δm, n-Δn]; reverse once (180° about anchor), place anchor on requested output, multiply aligned, add; anchor is a position that doesn't move; keep offsets and storage indices separate.

21
New cards

Correlation definition

(f⋆h)[m,n] = Σ h[Δm,Δn] f[m+Δm, n+Δn] (template as stored); asks "how well does the template match here?"

22
New cards

When convolution and correlation agree

same footprint, opposite offset pairing; agree for every input exactly when the kernel is centrosymmetric about its stated origin (h[Δm,Δn] = h[-Δm,-Δn]); one mirror axis is not enough; agreement doesn't make the questions the same.

23
New cards

Boundary extension rules

zero: 0 outside; replicate: nearest edge sample; reflect (edge-excluding): c,b | a,b,c,d | c,b; symmetric (edge-including): b,a | a,b,c,d | d,c; circular: periodic. Library names are not universal.

24
New cards

Output support

valid: only locations whose footprint is inside, length L_f - L_h + 1, no extension rule needed; same: input-sized, requires a rule; full: L_f + L_h - 1 (zero-outside assumption). Support and extension are independent decisions.

25
New cards

Complete filter specification

support/extent; origin/anchor; coefficients or rule; convolution or correlation; output support; boundary extension. Omitting the last two makes border results unreproducible.

26
New cards

Boundary rule choice

a rule encodes an assumption about the world outside the array: zero = known background; replicate = local constancy; reflect = mirrored continuation; circular = genuinely periodic. No universally correct rule; declare it or compare and report sensitivity; "same size" ≠ zero padding.

27
New cards

Border outputs and the LSI caveat

only outputs whose footprint leaves the array depend on the extension rule; interior outputs agree under all rules; the finite operation (extension + crop) is part of the definition, so global shift invariance is not automatic.

28
New cards

Random variable, PDF, CDF

X = model of a measurement, realization = one stored value; CDF F_X(x) = P(X ≤ x); P(a<X≤b) = F(b)-F(a); density integrates to 1; a density value is not a probability (continuous X: P(X=x0)=0).

29
New cards

Additive-noise model components

g = f + η; "Gaussian" names only the marginal shape; also state additivity, mean/bias, variance model, spatial dependence; five separate assumptions.

30
New cards

Averaging K acquisitions

zero mean → unbiased (E[mean]=f); independence + equal variance → Var(mean) = ση²/K, SD = ση/√K; Gaussian shape needed for neither; a running average wobbles, not monotone per pixel.

31
New cards

When averaging fails

fixed offset shared across acquisitions → bias survives; correlated/shared disturbance → shrinks less than √K; unequal variances → equal-variance step fails; clipping before averaging → bias; averaging never reduces blur.

32
New cards

Parameterized vs. learned operators

g = T_θ{f}; parameterization says what may vary (chosen before data); learning says how θ is chosen; a 3×3 LSI kernel has 9 parameters; loss measures disagreement, it does not search.

33
New cards

Point transformation

s = T(r), g[m,n] = T(f[m,n]): same rule at every pixel, no neighbors, no position; nonlinear ≠ spatially contextual.

34
New cards

Height vs. slope of a point transform

height = brightness of one value; |Δs| ≈ |dT/dr| |Δr|; |T'|>1 expands, <1 compresses; sign controls order; for decreasing transforms use magnitude; "compression" from signed slope alone is wrong.

35
New cards

Transform families

negative (L-1)-r (order flipped, no contrast change); log (L-1) log(1+r)/log L (steep near dark); exponential L^{r/(L-1)}-1 (exact inverse of log); gamma (L-1)(r/(L-1))^γ (γ

36
New cards

Digital realization order

compute float → clip to [0,L-1] → quantize → store; unsafe order compute → quantize → wrapping store turns out-of-range values into wrong-end values; the transform never wraps, a store does — wraparound is an implementation-order bug.

37
New cards

Histogram and normalized histogram

counts n_l, normalized n_l/(MN); preserves the multiset of values, discards coordinates; permuting pixels changes nothing.

38
New cards

CDF

running sum of the normalized histogram, non-decreasing, ends at 1; a histogram bar is a height, a CDF value is an accumulation; bimodal histogram shows two concentrations of mass, not two objects.

39
New cards

What the histogram cannot support

where pixels are; whether similar values are adjacent or connected; shape, texture, boundaries; "bimodal → two objects/foreground-background" is an unsupported claim.

40
New cards

Contrast stretch

window transform with image-derived endpoints; in-band slope (L-1)/(r_high - r_low); contrast ≠ brightness (adding a constant: slope 1, no contrast change); stretching multiplies differences, clipping tails merges them.

41
New cards

Percentiles

P_q = Q(q/100) is an intensity value, not a percentage; min/max endpoints fragile (one stray pixel sets the mapping); percentile endpoints resist outliers but deliberately clip tails (task-dependent trade).

42
New cards

Continuous equalization

T(r) = (L-1) F_R(r), slope (L-1) p_R(r); steep where density is high, shallow where sparse, flat where zero; the mapping is forced by the uniform-output requirement; target density 1/(L-1), discrete target 1/L.

43
New cards

Verifying uniformity

p_S(s) = p_R |dr/ds| = p_R · 1/((L-1)p_R) = 1/(L-1) where p_R > 0 and locally invertible; density cancels; no single smooth formula required (piecewise works).

44
New cards

Discrete equalization LUT

s_l = round[(L-1) F_r(r_l)], state rounding; monotone but generally not invertible; information lost exactly when two occupied levels share a label; empty level sharing a label loses nothing; highest occupied level → L-1.

45
New cards

Finite equalization truths

not guaranteed uniform; uniform over all L impossible for L ≥ 3 under this rule (label 0 receives < 1/(2(L-1)) < 1/L); can be exactly flat across occupied levels; empty input bins create flat CDF steps; finer output grid reduces collisions.

46
New cards

Histogram specification

match cumulative coordinates: z = G^{-1}(T(r)), F_Z(z) = F_R(r); match cumulative values, not bar heights; equalization is the uniform-target special case.

47
New cards

Finite specification approximation

staircase inverse is approximate (declare a convention, e.g., nearest, ties to lower); whole levels move together so achieved counts generally differ; a large target-CDF jump collapses several levels onto one and leaves others unproduced.

48
New cards

Global equalization failures

dominant background writes the mapping (its variation and noise amplified, less range for the rest); one global table cannot tailor per-region needs (same input → same output everywhere); steep regions amplify noise; "distribution changed" ≠ "contrast increased" ≠ "image improved for the task."

49
New cards

Coordinate-free demonstration

permuting pixels leaves counts, normalized histogram, CDF, and every globally derived LUT unchanged; local-support methods (AHE/CLAHE) do change under permutation but still discard arrangement inside the support.

50
New cards

Sum-to-one and convexity

sum-to-one ⇒ constants pass unchanged; nonnegative + sum-to-one ⇒ output bounded by the supplied neighborhood's min/max (cannot overshoot a step); sum-to-one alone does not bound; derivative kernels sum to zero instead.

51
New cards

Box vs. Gaussian kernels

box: equal spatial trust, sinc-like signed frequency response, cannot overshoot; Gaussian: distance-weighted trust, approximately Gaussian response; both blur transitions; scale σs separate from support; σs ≠ ση (name match is not an argument).

52
New cards

Scale vs. support

fixed support, increasing σs → weights flatten (more smoothing); fixed σs, widening support → mostly recovers truncated tail mass and levels off (5×5 retains 0.98181, 9×9 0.99999 at σs=1.0); ±3σs is a rule of thumb.

53
New cards

Separability

h[Δm,Δn] = a[Δm]b[Δn] (rank-one; test rows proportional); cost Mh*Nh → Mh+Nh (5×5: 25→10; 21×21: 441→42); same filter under consistent conventions; separable ≠ smoothing; not every kernel is separable.

54
New cards

Choosing a filter from the corruption model

distributed small perturbations → weighted average (box/Gaussian); sparse extreme replacements → median (order statistic, nonlinear, no kernel); ask: given this corruption and the structure to keep, which rule is defensible?

55
New cards

Median filter and qualifications

g = median{neighborhood}; robust because extremes sort to the end, not the middle; not "outlier detection," it knows what is locally in the minority; under i.i.d. Gaussian + locally constant signal the mean is better justified; edge-preserving only relative to linear smoothing (thin lines/structures vanish); larger support helps until genuine structure becomes locally minor, then hurts.

56
New cards

RMSE and its limits

MSE = mean squared error, RMSE = sqrt; supports controlled comparison; aggregates over all pixels equally — doesn't say where error falls or which structure was sacrificed; similar residuals can hide very different preservation.

57
New cards

Controlled comparison requirements

same clean reference, same crop, same conventions, same display scale; metrics on unclipped arrays; filter choice needs corruption assumption + structure to preserve + controlled evidence including direct inspection of that structure.

58
New cards

First differences

D+ = f[n+1]-f[n], D- = f[n]-f[n-1], D0 = (f[n+1]-f[n-1])/2; one step between samples: forward reports on the left sample, backward on the right, centered half-value on both; placement explained by support and origin; derivative = evidence of change, not an edge verdict.

59
New cards

Zero sum property

first-difference kernels sum to zero ⇒ exactly zero on constants; necessary, not sufficient (the all-zero kernel also sums to zero); zero sum is not a definition of an edge detector.

60
New cards

Gradient components and direction

D_x = (f[m+1,n]-f[m-1,n])/2 (row direction, m downward), D_y = (f[m,n+1]-f[m,n-1])/2 (column direction, n rightward); magnitude sqrt(Dx²+Dy²); θ_g = atan2(Dy,Dx) from downward toward rightward; atan2 needed for the quadrant, ratio alone fails when Dx=0.

61
New cards

Gradient direction vs. edge orientation

gradient direction: steepest increase, dark→bright sense, modulo 360°; edge orientation: the line the edge runs along, modulo 180°; θ_e = θ_g + 90° (mod 180°); gradient normal to the edge because walking along the edge changes intensity least.

62
New cards

Sobel/Prewitt

centered difference × normalized perpendicular smoother: Prewitt 1/6 overall, Sobel 1/8 overall; neighborhood support keeps one noisy sample from dominating; dropping the factor scales magnitudes/thresholds, not locations, directions, orientations, or one-operator rankings.

63
New cards

Antisymmetric derivative kernels

centered first-derivative kernels are antisymmetric: flipping multiplies by -1; convolution with the unreversed kernel negates both components (direction +180°), magnitude unchanged; edge orientation unchanged; a magnitude display cannot reveal this sign error.

64
New cards

Second difference and Laplacian

f[n+1]-2f[n]+f[n-1]: zero on constants and linear ramps, reports change of slope; Laplacian (4-neighbor) sum of 4 neighbors - 4f, sums to zero; sign convention declared, every sign statement depends on it; rising edge: positive on dark side, negative on bright side.

65
New cards

Laplacian sharpening

g = f - α∇²_d f under negative-center convention (with +4 center, f + α∇²); subtract pushes edge sides apart; example α=0.25: 20→5, 80→95, jump 60→90, flat regions untouched.

66
New cards

Unsharp masking

b = G_σ*f, r = f-b, g = f+κr (κ>1 high-boost); normalized smoother ⇒ brightness unchanged; as κ grows: noise amplified, halos, clipping loses distinctions; equals Laplacian sharpening only for particular smoothers (1/4[1,2,1] with α=κ/4); different construction in general.

67
New cards

LoG and edge candidates

∇²(G_σ*f) = (∇²G_σ)*f; σ part of the detector definition; signed response (positive dark side, negative bright side), zero crossing = candidate, not verdict; a nonnegative display cannot be a raw LoG; larger σ: fewer noise crossings, shifted/merged positions.

68
New cards

Canny criteria

good detection, good localization, single response; criteria independent; "optimal" only relative to stated model, assumptions, and weighting (idealized step in additive noise).

69
New cards

Canny stages and mapping to criteria

Gaussian smoothing → detection (costs localization); gradient magnitude/direction → candidate evidence; NMS → crest (single response + localization); double threshold → strong/weak/rejected; hysteresis over 8-connected chains → keeps weak evidence connected to strong.

70
New cards

Nonmaximum suppression

compare with the two neighbors along the gradient direction, keep if at least as large as both; before any threshold (weak local maximum can survive, strong non-crest suppressed); NMS is not thresholding.

71
New cards

Hysteresis

keep strong pixels; keep weak only if an 8-connected chain of kept pixels reaches a strong one; uses spatial connectivity, not gradient direction; connectivity is evidence, not proof; 4- vs. 8-connectivity part of the definition.

72
New cards

Change of basis and projection

a change of basis changes coordinates, not the object; c_b = <b,x>/<b,b> is the source of the inverse DFT's 1/M; the sample basis coordinates of a signal are its samples.

73
New cards

Sinusoids, phasors, Euler

A cos(2πμt+θ): A = swing, μ = cycles/unit (period 1/μ), θ = phase; phase is an angle, positive θ shifts the wave earlier by θ/(2πμ); e^{jθ} = cosθ + j sinθ; phasor = arrow of length A turning at rate μ; multiplying by j = 90° CCW turn.

74
New cards

Which Fourier object

continuous + periodic → series; continuous + non-periodic → continuous FT; finite stored samples → DFT; FFT = an algorithm for the same DFT, not another transform.

75
New cards

DFT basis and projection

φ_u[m] = e^{j2πum/M}; M = how many, m = where, u = which; F[u] = <φ_u, f> = Σ f[m] e^{-j2πum/M}; minus sign = conjugate, not "negative frequencies only"; ⟨φ_u,φ_v⟩ = M δ_uv (orthogonal, not unit length); inverse carries 1/M and uses φ_u.

76
New cards

Why exactly M patterns

M samples = M-dimensional space; φ_{u+M} = φ_u since e^{j2πm}=1 for integer m; chain: M samples → M dimensions → M patterns → M coefficients.

77
New cards

Reading a coefficient

F[u] = |F[u]|e^{jφ[u]}: projection (alignment), or magnitude (strength) + phase (where in cycle); phase undefined at |F|=0; angles modulo 2π; three scales: F[u], F[u]/M (inverse multiplier), F[u]/√M (unit-norm coordinate).

78
New cards

Real-signal conjugate symmetry

F[(-u) mod M] = F*[u]; shorthand F[M-u] = F*[u] for u=1..M-1; DC self-paired; even M: u=M/2 self-paired and real; partners have equal magnitudes, opposite phases.

79
New cards

Conjugate pair → real cosine

pair u, M-u synthesizes (2|F[u]|/M) cos(2πum/M + φ[u]); DC contributes F[0]/M (not doubled); even-M self-paired index contributes (F[M/2]/M)(-1)^m (not doubled).

80
New cards

Circular shift property

f[(m-m0) mod M] ↔ e^{-j2πum0/M} F[u]; magnitudes unchanged; unwrapped phase change -2πum0/M is a ramp proportional to u (not one common turn); displayed phase wraps modulo 2π.

81
New cards

2-D basis and DFT

φ_{u,v}[m,n] = e^{j2π(um/M + vn/N)}; u cycles down rows, v across columns; separable (rows then columns); F[0,0] = pixel sum = MN × mean; forward unnormalized, inverse 1/(MN); grayscale stripes = Re φ only.

82
New cards

Reading a centered spectrum

brightness = magnitude (log display is visualization); distance from DC = rate (shorter period farther out); direction from DC = direction of brightness variation (across stripes); vertical stripes on the v_c axis; v = N/p when whole cycles fit; p = L/r on square L×L; otherwise energy leaks into neighboring bins.

83
New cards

Period vs. support in the spectrum

period sets where the lobe sits; support width sets spread around it (narrower patch → broader lobes, first zero about N/W); separate mechanisms; sharp edges need far-from-DC coefficients, distinct from narrowness.

84
New cards

Transformation signatures

translation: magnitudes unchanged, phase ramp zero at DC; rotation: whole spectrum turns, distance from DC preserved (period kept), support/ripples turn too; scaling: period change moves centers, support change alters spread, enlarging contracts the spectrum; modulation (×cosine): two half-weight copies at ±[u0,v0]; product of cosines → off-axis peaks.

85
New cards

Magnitude vs. phase

magnitude = which rates/orientations and how strongly; phase = alignment/arrangement; magnitude-only loses layout; phase-only keeps outlines but edge-like/noisy; no single coefficient or magnitude point localizes a feature — location spread across coefficients, not lost.

86
New cards

Convolution and correlation theorems

G = F H (elementwise) for circular convolution; basis wave scaled by |H|, shifted by arg H; real template: C = F H* (spatially reversed template); H* = H[(-u) mod M]; agree exactly when h is centrosymmetric (then H real at every bin).

87
New cards

Finite-DFT boundary model

same-size DFT product = circular operation; periodic extension is a boundary rule, not "no boundary," and not mirroring; chain: finite DFT → periodic extension → circular convolution/correlation.

88
New cards

Circular vs. linear convolution

linear length M + Mh - 1; circular collects indices congruent mod M (wraparound): blur trail re-enters at the opposite edge; matching can manufacture a complete template match across the boundary (self-match score) that isn't in the signal.

89
New cards

Padding, alignment, cropping

choose U ≥ M + Mh - 1 (and V likewise) so periodic copies don't overlap; padding changes bin spacing, not the image; store kernel origin at index 0 (corner-stored centered kernel → crop offset (Mh-1)/2); "pad to double" is not the rule; pad both arrays.

90
New cards

Five quantities not to confuse

kernel support; padded transform size; kernel origin/embedding; crop/alignment (lag 0 for correlation); centered display (fftshift = viewing only, not part of the computation).

91
New cards

Difference-image diagnosis

border-band error ≈ kernel reach → wrong boundary model or insufficient padding; whole-image structured error → indexing, origin, crop, or misplaced display shift; tiny unstructured values → roundoff.

92
New cards

Reusable pipeline

intended operation → boundary model → padding/grid → DFT → H or H* → inverse → align/crop → validate against a spatial reference; each stage answers a different question.

93
New cards

Kernel → frequency response (C.1)

evaluate at u=0, M/4, M/2: H[0] = coefficient sum (passes constants if 1, rejects if 0); symmetric kernel → real H; antisymmetric kernel → purely imaginary H; centered difference returns 0 at u=M/2 (blind to fastest alternation), while [1,-2,1] reaches -4 there; a cascade multiplies responses.

94
New cards

Boundary models via DFT (C.2)

padded DFT product computes the circular operation on whatever arrays it is given, so the boundary model is whatever fills the padding: zeros → zero row; replicated values at the added ends → replicate row; keep the middle outputs; an unpadded same-size product returns the periodic row.

95
New cards

Low-pass families and common D0

at ρ = D/D0: ideal passes 1 (boundary included), Butterworth exactly 1/2 (every order), Gaussian ≈ 0.607; shared D0 ≠ shared attenuation; higher β steepens toward ideal; D0 slides the curve; Butterworth H(ρ)+H(1/ρ) = 1; selectivity, abruptness, and transition width (two named levels) are different words.

96
New cards

Ringing vs. sharpening overshoot

ringing: abrupt spectral cutoff → signed oscillating kernel → many slowly fading lobes both sides, softer transition (ideal ~9% first overshoot); sharpening halos: one lobe per side confined to the smoother's reach, steeper transition (can be larger, e.g., 25%); profile shape, not size, names the mechanism; cures differ (lower gain vs. smoother transition).

97
New cards

Measuring overshoot

fix plateaus g_lo, g_hi and window Ω; lecture convention 100(g_max - g_hi)/g_hi; contrast-normalized 100(g_max - g_hi)/(g_hi - g_lo); report none if g_max ≤ g_hi; name the normalization; a clipped display can hide overshoot; overshoot requires signed kernel weights, not negative frequency-response values.

98
New cards

High-pass, inversion, emphasis

inversion 1-f ≠ high-pass ≠ sharpening; H_HP = 1 - H_LP (DC gain 0, zero-mean signed output, responds to texture/noise); emphasis H = α1 + α2 H_HP, α1 = 1 keeps the mean; unsharp masking is emphasis with α1 = 1.

99
New cards

Module 1 operators as responses

box: low-pass with signed side lobes (5-tap dips to -0.25, first zero at 1/5 cycle/pixel); Gaussian: approximately Gaussian response, wider spatial = narrower spectral; Sobel Dy: zero DC gain, largest at v_c = ±N/4 (directionality); Laplacian: -4[sin²(πu_c/M) + sin²(πv_c/N)], 0 at DC, -8 at highest frequency.

100
New cards

Band-pass/band-reject

band selects a ring of periods, not object sizes; Gaussian-form: q = (D²-C0²)/(D W), H_BP = e^{-q²}, crossings at e^{-1} exactly W apart but asymmetric about C0; band-reject = 1 - band-pass; same W ≠ same band across families; band-pass output signed (zero mean).