darsia.hsv_spectrum#
- hsv_spectrum(img, roi, bins=100)[source]#
Plot histograms for all HSV components present in a ROI of an image.
- Parameters:
- img
np.ndarray Image array in RGB space with matrix indexing.
- roi
tupleofslices Slice for y-components, and slice for x-components, defining a region of interest, to be cropped from img.
- img