PIXHIST3D-PLOT3(1)
π pixhist3d-plot3 β the BRL-CAD manual page, but make it cute
okay so bestie, welcome to pixhist3d-plot3, a little tool from the BRL-CAD fam that takes your image's colors and yeets them into 3D space so you can actually look at them. it's giving "color space utilization" but make it a vibe. β¨
π NAME π
pixhist3d-plot3 β outputs RGB color space utilization in 3D unix-plot form, periodt.
π¦ SYNOPSIS π¦
pixhist3d-plot3 [file.pix] > file.plot3
πΈ DESCRIPTION πΈ
so here's the tea, bestie: pixhist3d-plot3 reads a color pix(5) format image β either from the named file.pix or from standard input β and writes to standard output a point for each unique RGB color that occurs in the image. literally one point per unique color, no cap. π
the points are emitted as a BRL extended three-dimensional UNIX plot (peep libbv(3) and plot3(5) for the lore). red, green, and blue lines are drawn along the edges of the color cube to mark the coordinate axes β iconic little coordinate besties. π
the color space is sampled at a resolution of 128x128x128, i.e. the least significant bit of each color plane is ignored. (yes, that's a real detail, don't come for me. π)
these plots are best viewed in an interactive 3D plot display program so the color cube can be rotated and examined from all angles. because like, what's the point of a cube you can't spin, right? π₯ anomalies in an image's colors are often readily apparent, e.g. oversaturation resulting in intensity clipping. so it's lowkey a diagnostic queen. π
the command takes no options. zero. none. she's minimal like that. π
β¨ EXAMPLES β¨
π Example 1. Visualize the color space of an image
pix-fb -i image.pix &
pixhist3d-plot3 image.pix | plot3-fb
plot the set of colors used by image.pix as a 3D point cloud inside the RGB cube and display it on a framebuffer with plot3-fb(1). running an interactive viewer that rotates the plot reveals clustering, gaps, and clipping in the image's color usage. fr fr, spinning that cube is so satisfying. π«Ά
β Example 2. Save the color cube plot for later viewing
pixhist3d-plot3 < render.pix > render.plot3
read render.pix from standard input and store the resulting 3D plot in render.plot3, which can subsequently be displayed or converted with other plot3(5) tools. save it for later, bestie, she'll be there when you need her. π
π SEE ALSO π
brlcad(1), pixhist3d(1), pixhist(1), plot3-fb(1), pix-fb(1), pix(5), plot3(5)
π AUTHOR π
BRL-CAD Team β the icons themselves. π
π COPYRIGHT π
this software is Copyright (c) 1989-2026 by the United States Government as represented by U.S. Army Research Laboratory. yes the whole range, she's been thriving since '89. β¨
π¬ BUG REPORTS π¬
reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org β don't be shy, they want the receipts. π«Ά
and that's the whole manual page, bestie! π
this icon of a page lives in the BRL-CAD manual collection (BRL-CAD), and this particular version was last touched on PIXHIST3D-PLOT3(1) duty β so go forth, plot your colors in 3D, and slay your color space analysis. mwah! πβ¨ππ¦
π¦ where this page comes from
- nixpkgs unstable: brlcad 7.44.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms