1/188
Audited against the supplied textbook, Courses 08–12 slides, and professor sample images. All 189 cards are retained: factual errors were corrected and repeated cards were converted into stronger calculation, transfer, and full-pipeline questions. Learn in blocks; use Practice Test for shuffled MCQ; explain why the nearest distractor is wrong.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
This operation is defined as (A ⊖ B) ⊕ B — erosion followed by dilation with the same SE. What is it?
Opening — erosion followed by dilation with the same SE. It removes foreground features that cannot survive the erosion and then regrows the remaining set. The result is anti-extensive (A∘B ⊆ A) and may still differ in size or shape from the original.
This transform is f − (f ∘ b), the image minus its own opening. What is it?
White top-hat — f − (f∘b) returns bright structures and local intensity detail removed by the opening, typically features smaller than or poorly fitting the SE. It is not guaranteed to reproduce an object mask exactly; it can also estimate/correct slowly varying background.
An operation smooths contours, breaks thin bridges/protrusions, and removes small foreground islands. Which operation is it, and does it exactly restore every surviving object's original size?
Opening — erosion followed by dilation with the same SE. It removes foreground parts that cannot contain the SE and smooths contours. It is anti-extensive (A∘B ⊆ A): erosion and dilation are not inverses, so a surviving object's exact original size or shape is not guaranteed.
An operation smooths contours, bridges narrow foreground breaks, fills small dark gaps/holes, and is extensive. Which operation is it, and does it exactly undo dilation?
Closing — dilation followed by erosion with the same SE. It fills/bridges dark gaps smaller than the SE and is extensive (A ⊆ A•B). The erosion reduces the expansion but does not generally restore the exact original boundary; the operators are not inverses.
Mathematical morphology is fundamentally based on which mathematical framework?
Mathematical morphology is based on order/set theory: binary images are subsets of Z²; grayscale images are ordered-valued functions f:D⊆Z²→R (or a gray-level lattice) using local suprema/infima. A 3-D surface/umbra is a useful geometric interpretation, not the only formal model.
What distinguishes opening by reconstruction from a standard opening?
In binary opening by reconstruction, the erosion supplies markers and reconstruction under the original mask restores each connected mask component reached by a surviving marker. Components erased by erosion do not return. In grayscale reconstruction, describe contour/peak restoration rather than claiming unconditional exact-object recovery.
Can the original set A be reconstructed from the final morphological skeleton alone? What does reconstruction actually require?
Not from an unlabeled final skeleton alone. Exact reconstruction uses every indexed subset: A = ∪ₖ[Sₖ(A) ⊕ kB]. The erosion-depth k (or an equivalent radius label at each skeleton point) must be retained; discarding that depth information loses what is needed to rebuild A.
In a binary image of scattered fruit blobs, each blob receives its own unique integer label so the blobs can be counted. What operation is this, and how does it differ from thresholding?
Connected Component Analysis (CCA): it assigns a distinct integer ID to each connected foreground region. Thresholding only creates a binary foreground/background mask; CCA labels the separate objects in that mask. Diagonal-only contact joins components under 8-connectivity but not 4-connectivity.
What does LDA optimize, how does it differ from PCA, and what is its maximum output dimension for C classes?
Linear Discriminant Analysis uses labels and seeks directions with high between-class scatter relative to within-class scatter. PCA ignores labels and maximizes overall variance. LDA can produce at most C-1 discriminant dimensions for C classes.
How does split-and-merge segmentation work, and what condition decides the final regions?
Start with the whole image. If its homogeneity predicate Q is false, split it into quadrants recursively; then merge adjacent regions only when their union satisfies Q. The result should be a connected partition whose individual regions satisfy Q and whose adjacent unions do not. Blocky boundaries are a common limitation.
One global threshold T works under uniform light. A left-to-right illumination gradient is added. What should change?
Use adaptive/local T(x,y) or correct/flatten the background first. The illumination gradient breaks the single-global-threshold assumption; do not merely retune one constant T.
For finite real logits, what exact conditions must a softmax output vector satisfy?
Every exact component satisfies 0 < pᵢ < 1 and Σpᵢ = 1. A negative entry or wrong sum is invalid. Exact 0/1 entries occur only as a limit or through finite-precision underflow/rounding; this is why the professor's all-positive sum-one option is the safe choice.
Two foreground pixels touch only at one corner. How many connected components are there under 4-connectivity and under 8-connectivity?
Two components under 4-connectivity; one component under 8-connectivity. Diagonal contact is excluded by N4 but included by N8.
A binary image contains 3 connected foreground components and 4 holes in total. What is its Euler number?
E = C − H = 3 − 4 = −1. Count all connected components and all holes before subtracting.
Define specificity. How is it different from recall?
Specificity = TN/(TN+FP): among the actual negatives, what fraction was correctly rejected. Recall (sensitivity) = TP/(TP+FN): among the actual positives, what fraction was found. Specificity answers the negative-class question; recall answers the positive-class question.
For a linear hard-margin SVM, what are the decision function and geometric margin width, and which training points determine the boundary?
Classify by sign(w^T x + b). The two supporting hyperplanes are w^T x+b=+1 and =-1, so geometric margin width is 2/||w||. Support vectors lie on those margin boundaries (or inside for soft margin) and determine w,b; far-away points usually do not.