PIXHIST3D(1)
β¨ pixhist3d(1) β NAME β¨
okay bestie, welcome to pixhist3d(1) from the BRL-CAD manual π β itβs the little tool whose whole job is display RGB color space utilization. No cap, thatβs the vibe check. π¦
β¨ SYNOPSIS β¨
pixhist3d [file.pix]
π¦ DESCRIPTION π¦
so hereβs the tea: pixhist3d reads a pix(5) RGB image from file.pix β or straight from standard input if no file is given, bestie β and it builds a count of color frequencies in the RGB color space. Then it displays three orthographic views of that space on a framebuffer. Iconic. π
The red, green, and blue values from 0 to 255 form a right-handed coordinate system. Each displayed face shows the frequencies integrated through the color cube perpendicular to that face. The counts are scaled so that the maximum value is full white, and any non-zero scaled count less than 20 is displayed at intensity 20 so as to remain visible. Lowkey thoughtful. π«Ά
The three faces shown on the 512x512 framebuffer are:
- Lower left: red vertical, green horizontal
- Upper left: blue vertical, green horizontal
- Lower right: red vertical, blue horizontal
The environment variable FB_FILE is used to select the display device (see brlcad(1)). If this variable is not set, the default device for your system will be used. periodt. π
πΈ OPTIONS πΈ
-h,-?β print a usage message and exit. short, sweet, slays. π
π EXAMPLES π
π Example 1. Inspect the color distribution of a rendered image π
rt -o scene.pix -s 512 scene.g all.g
pixhist3d scene.pix
Render a scene with rt(1) to a pix(5) file, then display the three orthographic projections of its RGB color-space usage on the framebuffer. Bright regions reveal which colors dominate the image and how the red, green, and blue channels are correlated. itβs giving βdata but make it visualβ β¨
π₯ SEE ALSO π₯
π AUTHOR π
BRL-CAD Team β the collective main characters behind this page π
π COPYRIGHT π
This software is Copyright (c) 1989-2026 by the United States Government as represented by U.S. Army Research Laboratory.
π BUG REPORTS π
Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. donβt be shy, bestie β bug reports are a love language π
π thatβs the whole page β source/version: BRL-CAD, manual page: PIXHIST3D(1), and the footer didnβt give us a date, so Iβm not inventing one. 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