Description: Create two new windows and attach the first one to the Source Image menu, and
attach the second to the Destination Image menu. These two windows are 256 by
256 pixels size each. While the first window is used to show the histogram of the
source image, the second one is used to show the histogram of the destination image.
These two windows should be created only once, and you should be sure that you
prevent any further creation of these windows. Use the suitable formulas to calculate
the histogram at every gray level, and show it on these windows. Calculate the
histogram for the gray level image (not for the RGB). The window should be created
only when the appropriate item from the menu is selected. When the user chooses the
menu item “Show Histogram” on either the “Source Image” or “Destination
Image”, the corresponding window will be created.
To Search:
File list (Check if you may need any files):
Programs and images\baby.bmp
...................\Bmp.h
...................\CV.cpp
...................\Defs.h
...................\Files.h
...................\Image.h
...................\Mem.h
...................\noise.h
...................\Randomin.h
...................\version.h
Programs and images