Skip to content

This is a program wirtten in Win32 API and can be used to draw intensity histogram plots of images. This should be used for greyscale images (although it will work for RGB) as RGB scales are not seperated yet.

Notifications You must be signed in to change notification settings

Halleys123/HistogramVisualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ Windows

Image Histogram Plot

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.

Requirements

  • Windows OS
  • make utility
  • MSVC C++ compiler

Building the Project

To build the project, follow these steps:

  1. Open the Command Prompt.
  2. Navigate to the project directory:
    cd /d:/Projects/C++/HistogramVisualizer
  3. Run the make command:
    make

This will compile the source files and generate the executable in bin folder.

Running the Program

After building the project, you can run the executable:

  1. In the Command Prompt, navigate to the project directory if not already there:
    cd /d:/Projects/C++/HistogramVisualizer
  2. Run the executable:
    ./main.exe

Usage

  1. When the program starts, a window will appear with a text field and a button.
  2. Enter the path of the image you want to load in the text field.
  3. Click the "Load Image" button.
  4. Two new windows will appear: one displaying the image and the other displaying the histogram of the image.

Sample

Load Panel

Image Histogram
Image Histogram
alt text alt text

License

This project is licensed under the MIT License.

About

This is a program wirtten in Win32 API and can be used to draw intensity histogram plots of images. This should be used for greyscale images (although it will work for RGB) as RGB scales are not seperated yet.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published