Model Pipeline - Histogram computation
This pipeline computes the histogram of pixel intensities in an image. It helps us understand how bright or dark the image is by counting how many pixels have each brightness level.
Jump into concepts and practice - no test required
This pipeline computes the histogram of pixel intensities in an image. It helps us understand how bright or dark the image is by counting how many pixels have each brightness level.
N/A
| Epoch | Loss ↓ | Accuracy ↑ | Observation |
|---|---|---|---|
| 1 | N/A | N/A | Histogram computation is not a training process, so no loss or accuracy. |
calcHist function for a grayscale image stored in variable img?hist = cv2.calcHist([img], [0], None, [128], [0,256]) print(hist.shape)
img:hist = cv2.calcHist([img], [0, 1, 2], None, [256], [0,256])