Skip to content
ml-recall

#histogram-equalization

2 questions from Computer Vision Basics

Timed test

2 questions · 2 min · score and explanations at the end

Take a test
Q 1 / 2Score 0 / 0

Question 1: Short answer

mediumAI-checkedComputer Vision Basics

A 4×44 \times 4 image with 3-bit gray levels (L=8L = 8 levels, 0 to 7) is [2334324543632456]\begin{bmatrix}2&3&3&4\\3&2&4&5\\4&3&6&3\\2&4&5&6\end{bmatrix}. Histogram equalization maps level vv to h(v)=round⁡(cdf⁡(v)−cdf⁡min⁡N−cdf⁡min⁡(L−1))h(v) = \operatorname{round}\left(\frac{\operatorname{cdf}(v) - \operatorname{cdf}_{\min}}{N - \operatorname{cdf}_{\min}}(L - 1)\right), where cdf⁡(v)\operatorname{cdf}(v) counts the pixels with level ≤v\le v, cdf⁡min⁡\operatorname{cdf}_{\min} is its smallest nonzero value and NN is the number of pixels. What is h(4)h(4)?

a whole number from 0 to 7