Home | All Courses | Histo FAQs |
Let me know what you think |
Course IP_MFC: Image processing with C++/MFC
|
In histo1Doc.h in front of class CHisto1Doc : public CDocument |
In histo1Doc.cpp inside the constructor CBitmap1Doc() you have to initialize 3 variables: |
In histo1View.h you have to declare the following private variables of class CHisto1View : public CView |
In histo1View.cpp inside the constructor CHisto1View() you must intialize a variable |
In histo1Doc.cpp inside Serialize(CArchive& ar) inside the else clause: Code for reading an image and for computing its histogram |
In histo1Doc.cpp inside void CHisto1Doc::forget_it()() //Small private member function of CHisto1Doc |
In histo1View.cpp inside void CHisto1View::OnDraw(CDC* pDC) // |
In void CHisto1View::OnLButtonDown(UINT nFlags, CPoint point) //The user presses the left mouse button. |
In void CHisto1View::OnMouseMove(UINT nFlags, CPoint point) //This function computes the current threshold and the current binary image and calls OnDraw via Invalidate() |
In void CHisto1View::OnLButtonUp(UINT nFlags, CPoint point) //The user releases the mouse button. |
top of page: |