This program allows you to load an image, display it in a window, and show its histogram in another window. It is designed to run on Windows.
- Windows OS
make
utility- MSVC C++ compiler
To build the project, follow these steps:
- Open the Command Prompt.
- Navigate to the project directory:
cd /d:/Projects/C++/HistogramVisualizer
- Run the
make
command:make
This will compile the source files and generate the executable in bin folder.
After building the project, you can run the executable:
- In the Command Prompt, navigate to the project directory if not already there:
cd /d:/Projects/C++/HistogramVisualizer
- Run the executable:
./main.exe
- When the program starts, a window will appear with a text field and a button.
- Enter the path of the image you want to load in the text field.
- Click the "Load Image" button.
- Two new windows will appear: one displaying the image and the other displaying the histogram of the image.
Image | Histogram |
---|---|
![]() |
![]() |
![]() |
![]() |
This project is licensed under the MIT License.