Details and Options
The pixels of img are sorted by hue, divided into equal portions (the feathers), and divided again into 100 equal portions for each feather (the rami) which are then sorted by brightness. These sorted groups of pixels become the color functions for the curves of each ramus.
The bins in ResourceFunction["ImagePalettePlumes"] are determined by actual colors used, in contrast to a histogram's bins which are equal parts of the hue spectrum. For example, if there is no red in img, then the first feather will show shades of orange or the next used hue in the HSB color space.
ResourceFunction["ImagePalettePlumes"] creates a new image in the "RGB" color space.
ResourceFunction["ImagePalettePlumes"] can take the following options:
|"Excluded"||"BlackWhite"||discards certain pixels from img|
|ImageSize||1000||the size of the output image|
|"PlumeCount"||7||the number of plumes, 0 ≤ n,n ∈ ℤ|
Possible values for the "Excluded" option include:
|None or "None"||processes all of the pixels in img|
|"White"||discards pixels close to white|
|"Black"||discards pixels close to black|
|"BlackWhite"||discards pixels close to either black or white|
|"GrayTones"||discards all pixels with saturation values below 0.2|
|n||discards all pixels with saturation values ≤ n|
With "PlumeCount"→0, the palette data is displayed in a more utilitarian rectangular format, with no feathers.
ResourceFunction["ImagePalettePlumes"] can take a long time to render. Downsizing the image first shortens the render time.