#include <ColorTable64DlgBar.h>
Inheritance diagram for CColorTable64DlgBar:
Public Types | |
IDD = IDD_DIALOG_BAR_COLORTABLE64 | |
enum | { IDD = IDD_DIALOG_BAR_COLORTABLE64 } |
Public Member Functions | |
CColorTable64DlgBar () | |
~CColorTable64DlgBar () | |
virtual bool | handleMessage (InMessage &message) |
Public Attributes | |
CButton | m_selectedColorOnlyCheck |
CButton | m_sendButton |
CSliderCtrl | m_rangeSlider |
CStatic | m_rangeStatic |
CSliderCtrl | m_penSlider |
CStatic | m_penStatic |
CComboBox | m_ct64ColorClassCombo |
CButton | m_automedian |
CButton | m_medianAllColors |
CButton | m_medianAllowReassign |
CButton | m_autoremove |
CSliderCtrl | m_medianRangeSlider |
CSliderCtrl | m_medianDistanceSlider |
CSliderCtrl | m_medianNeighbourSlider |
CStatic | m_medianRangeStatic |
CStatic | m_medianDistanceStatic |
CStatic | m_medianNeighbourStatic |
CComboBox | m_ct64ImageCombo |
CButton | m_highRes |
CButton | m_recordCheck |
CButton | m_recordAutoColor |
CButton | m_recordExtended |
CSliderCtrl | m_recordDistance |
Protected Member Functions | |
virtual void | DoDataExchange (CDataExchange *pDX) |
virtual BOOL | OnInitDialog () |
afx_msg void | OnPaint () |
afx_msg void | OnSize (UINT nType, int cx, int cy) |
afx_msg void | OnCt64ClearColorTable () |
afx_msg void | OnCt64ClearChannel () |
afx_msg void | OnCt64Open () |
afx_msg void | OnCt64Save () |
afx_msg void | OnSelchangeCt64ColorClassCombo () |
afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
afx_msg void | OnRButtonDown (UINT nFlags, CPoint point) |
afx_msg void | OnHScroll (UINT nSBCode, UINT nPos, CScrollBar *pScrollBar) |
afx_msg void | OnCt64Undo () |
afx_msg void | OnCt64SendToRobot () |
afx_msg void | OnCt64Remove () |
afx_msg void | OnCt64Median () |
afx_msg void | OnClearChannelInImage () |
afx_msg void | OnSelectedColorOnly () |
afx_msg void | OnSelchangeCt64ImageCombo () |
afx_msg void | OnMouseMove (UINT nFlags, CPoint point) |
afx_msg void | OnCapture1 () |
afx_msg void | OnCapture2 () |
afx_msg void | OnCapture3 () |
afx_msg void | OnCapture4 () |
afx_msg void | OnHighRes () |
afx_msg void | OnRecordReset () |
afx_msg void | OnRecordCheck () |
DECLARE_MESSAGE_MAP () | |
Private Member Functions | |
void | OnRecordNewImage () |
void | OnRecordClick (bool leftRight, int x, int y, int num) |
void | OnRecordSeedPixel (int x, int y, int threshold) |
void | OnRecordInitImages (int w, int h, Image &real, Image &gauss, Image &temp, Image &preview, ColorClassImage &segmentation) |
void | OnRecordFloodfill (int cx, int cy, OrderedList &object, int w, int h, Image &real, Image &gauss, Image &temp, Image &preview, ColorClassImage &segmentation) |
void | OnRecordShow (ColorClassImage &segmentation, OrderedList &object) |
void | generateSegmentedImage () |
void | sendLocal () |
void | setClickRangeSlider (unsigned char newPosition) |
void | setPenSlider (unsigned char newPosition) |
void | setMedianRangeSlider (unsigned char newPosition) |
void | setMedianDistanceSlider (unsigned char newPosition) |
void | setMedianNeighbourSlider (unsigned char newPosition) |
void | smoothImage () |
void | removeColorClassFromImage () |
Private Attributes | |
Image | rawImage [5] |
ColorClassImage | segmentedImage [5] |
bool | imageCaptured [5] |
bool | useHighRes |
ColorTable64 | colorTable |
ColorTable64 | previousColorTable |
bool | repaintRawImage |
bool | repaintSegmentedImage |
bool | undoColorTablePossible |
colorClass | selectedColorClass |
unsigned char | clickRange |
unsigned char | penSize |
unsigned char | medianRange |
unsigned char | medianDistance |
unsigned char | medianNeighbour |
bool | showSelectedColorClassOnly |
int | xPosRawImage [5] |
int | yPosRawImage |
int | xPosSegmentedImage [5] |
int | yPosSegmentedImage |
int | debugImageID |
int | xPosPreviewPixel [5] |
int | yPosPreviewPixel [5] |
int | record [64][64][64][numOfColors] |
int | backupRecord [64][64][64][numOfColors] |
bool | undoRecordPossible |
OrderedList | segments |
int | maxGeneratedSegmentedImages |
Definition at line 58 of file ColorTable64DlgBar.h.
anonymous enum |
CColorTable64DlgBar::CColorTable64DlgBar | ( | ) |
Default constructor.
Definition at line 30 of file ColorTable64DlgBar.cpp.
CColorTable64DlgBar::~CColorTable64DlgBar | ( | ) |
Definition at line 37 of file ColorTable64DlgBar.cpp.
CColorTable64DlgBar::DECLARE_MESSAGE_MAP | ( | ) | [protected] |
Reimplemented from CDynamicBarDlg.
void CColorTable64DlgBar::DoDataExchange | ( | CDataExchange * | pDX | ) | [protected, virtual] |
Definition at line 118 of file ColorTable64DlgBar.cpp.
References IDC_CT64_AUTO_MEDIAN, IDC_CT64_AUTO_REMOVE, IDC_CT64_COLOR_CLASS_COMBO, IDC_CT64_HIGH_RES, IDC_CT64_IMAGE_COMBO, IDC_CT64_MEDIAN_ALL_COLORS, IDC_CT64_MEDIAN_ALLOW_REASSIGN, IDC_CT64_MEDIAN_DISTANCE_SLIDER, IDC_CT64_MEDIAN_DISTANCE_STATIC, IDC_CT64_MEDIAN_NEIGHBOUR_SLIDER, IDC_CT64_MEDIAN_NEIGHBOUR_STATIC, IDC_CT64_MEDIAN_RANGE_SLIDER, IDC_CT64_MEDIAN_RANGE_STATIC, IDC_CT64_PEN_SLIDER, IDC_CT64_PEN_STATIC, IDC_CT64_RANGE_SLIDER, IDC_CT64_RANGE_STATIC, IDC_CT64_RECORD_AUTO_COLOR, IDC_CT64_RECORD_CHECK, IDC_CT64_RECORD_DISTANCE, IDC_CT64_RECORD_EXTENDED, IDC_CT64_SELECTED_COLOR_ONLY, IDC_CT64_SEND_TO_ROBOT, m_automedian, m_autoremove, m_ct64ColorClassCombo, m_ct64ImageCombo, m_highRes, m_medianAllColors, m_medianAllowReassign, m_medianDistanceSlider, m_medianDistanceStatic, m_medianNeighbourSlider, m_medianNeighbourStatic, m_medianRangeSlider, m_medianRangeStatic, m_penSlider, m_penStatic, m_rangeSlider, m_rangeStatic, m_recordAutoColor, m_recordCheck, m_recordDistance, m_recordExtended, m_selectedColorOnlyCheck, and m_sendButton.
void CColorTable64DlgBar::generateSegmentedImage | ( | ) | [private] |
Definition at line 1066 of file ColorTable64DlgBar.cpp.
References colorTable, ColorTable64::generateColorClassImage(), ColorTable64::generateHighResColorClassImage(), maxGeneratedSegmentedImages, rawImage, segmentedImage, selectedColorClass, and showSelectedColorClassOnly.
Referenced by handleMessage(), OnCapture1(), OnCapture2(), OnCapture3(), OnCapture4(), OnCt64ClearChannel(), OnCt64ClearColorTable(), OnCt64Open(), OnCt64Undo(), OnHighRes(), OnInitDialog(), OnSelchangeCt64ColorClassCombo(), OnSelectedColorOnly(), and removeColorClassFromImage().
bool CColorTable64DlgBar::handleMessage | ( | InMessage & | message | ) | [virtual] |
Called from a MessageQueue to distribute messages
message | The message that can be read. |
Reimplemented from CRobotControlDialogBar.
Definition at line 41 of file ColorTable64DlgBar.cpp.
References InMessage::bin, Image::cameraInfo, ColorCorrector::correct(), debugImageID, generateSegmentedImage(), InMessage::getMessageID(), idImage, idJPEGImage, m_automedian, m_autoremove, m_recordCheck, OnRecordNewImage(), rawImage, Images::rawImage, CameraInfo::resolutionHeight, useHighRes, xPosRawImage, xPosSegmentedImage, and yPosSegmentedImage.
void CColorTable64DlgBar::OnCapture1 | ( | ) | [protected] |
Definition at line 1085 of file ColorTable64DlgBar.cpp.
References generateSegmentedImage(), imageCaptured, and rawImage.
void CColorTable64DlgBar::OnCapture2 | ( | ) | [protected] |
Definition at line 1093 of file ColorTable64DlgBar.cpp.
References generateSegmentedImage(), imageCaptured, and rawImage.
void CColorTable64DlgBar::OnCapture3 | ( | ) | [protected] |
Definition at line 1101 of file ColorTable64DlgBar.cpp.
References generateSegmentedImage(), imageCaptured, and rawImage.
void CColorTable64DlgBar::OnCapture4 | ( | ) | [protected] |
Definition at line 1109 of file ColorTable64DlgBar.cpp.
References generateSegmentedImage(), imageCaptured, and rawImage.
void CColorTable64DlgBar::OnClearChannelInImage | ( | ) | [protected] |
void CColorTable64DlgBar::OnCt64ClearChannel | ( | ) | [protected] |
Definition at line 372 of file ColorTable64DlgBar.cpp.
References ColorTable64::clearChannel(), colorTable, generateSegmentedImage(), previousColorTable, selectedColorClass, sendLocal(), TRUE, and undoColorTablePossible.
void CColorTable64DlgBar::OnCt64ClearColorTable | ( | ) | [protected] |
Definition at line 360 of file ColorTable64DlgBar.cpp.
References ColorTable64::clear(), colorTable, generateSegmentedImage(), previousColorTable, sendLocal(), TRUE, and undoColorTablePossible.
void CColorTable64DlgBar::OnCt64Median | ( | ) | [protected] |
void CColorTable64DlgBar::OnCt64Open | ( | ) | [protected] |
Definition at line 384 of file ColorTable64DlgBar.cpp.
References ColorTable64::addCuboidToColorClass(), blue, colorTable, InFile::exists(), generateSegmentedImage(), File::getGTDir(), green, noColor, numOfColors, orange, pink, previousColorTable, InStream< S, R >::read(), record, red, sendLocal(), skyblue, white, and yellow.
void CColorTable64DlgBar::OnCt64Remove | ( | ) | [protected] |
Definition at line 903 of file ColorTable64DlgBar.cpp.
References removeColorClassFromImage(), and sendLocal().
void CColorTable64DlgBar::OnCt64Save | ( | ) | [protected] |
Definition at line 544 of file ColorTable64DlgBar.cpp.
References blue, colorTable, OutFile::exists(), ColorTable64::getColorClass(), File::getGTDir(), green, noColor, numOfColors, orange, pink, record, red, skyblue, white, OutStream< S, W >::write(), and yellow.
void CColorTable64DlgBar::OnCt64SendToRobot | ( | ) | [protected] |
Definition at line 194 of file ColorTable64DlgBar.cpp.
References CRobotControlQueuesToRobots::allRobots, OutMessage::bin, colorTable, OutMessage::finishMessage(), getQueues(), idColorTable64, MessageQueue::out, and CRobotControlQueues::toPhysical.
void CColorTable64DlgBar::OnCt64Undo | ( | ) | [protected] |
Definition at line 341 of file ColorTable64DlgBar.cpp.
References backupRecord, colorTable, FALSE, generateSegmentedImage(), previousColorTable, record, sendLocal(), undoColorTablePossible, and undoRecordPossible.
void CColorTable64DlgBar::OnHighRes | ( | ) | [protected] |
Definition at line 1117 of file ColorTable64DlgBar.cpp.
References Image::cameraInfo, generateSegmentedImage(), m_highRes, rawImage, CameraInfo::resolutionHeight, xPosRawImage, xPosSegmentedImage, and yPosSegmentedImage.
void CColorTable64DlgBar::OnHScroll | ( | UINT | nSBCode, | |
UINT | nPos, | |||
CScrollBar * | pScrollBar | |||
) | [protected] |
Definition at line 967 of file ColorTable64DlgBar.cpp.
References m_medianDistanceSlider, m_medianNeighbourSlider, m_medianRangeSlider, m_penSlider, m_rangeSlider, setClickRangeSlider(), setMedianDistanceSlider(), setMedianNeighbourSlider(), setMedianRangeSlider(), and setPenSlider().
BOOL CColorTable64DlgBar::OnInitDialog | ( | ) | [protected, virtual] |
Reimplemented from CDynamicDialog.
Definition at line 200 of file ColorTable64DlgBar.cpp.
References Image::cameraInfo, ColorTable64::clear(), colorTable, debugImageID, InFile::exists(), FALSE, generateSegmentedImage(), ColorClasses::getColorName(), Images::getImageIDName(), getLocation(), imageCaptured, m_ct64ColorClassCombo, m_ct64ImageCombo, m_highRes, m_medianDistanceSlider, m_medianNeighbourSlider, m_medianRangeSlider, m_penSlider, m_rangeSlider, m_recordAutoColor, m_recordCheck, m_recordDistance, maxGeneratedSegmentedImages, Images::numberOfImageIDs, numOfColors, CDynamicDialog::OnInitDialog(), OnRecordReset(), orange, previousColorTable, rawImage, Images::rawImage, repaintRawImage, repaintSegmentedImage, CameraInfo::resolutionHeight, CameraInfo::resolutionWidth, selectedColorClass, setClickRangeSlider(), setMedianDistanceSlider(), setMedianNeighbourSlider(), setMedianRangeSlider(), setPenSlider(), showSelectedColorClassOnly, TRUE, undoColorTablePossible, ImageMethods::writeRobotControlLogoToImage(), xPosPreviewPixel, xPosRawImage, xPosSegmentedImage, yPosPreviewPixel, yPosRawImage, and yPosSegmentedImage.
void CColorTable64DlgBar::OnLButtonDown | ( | UINT | nFlags, | |
CPoint | point | |||
) | [protected] |
Definition at line 709 of file ColorTable64DlgBar.cpp.
References Image::cameraInfo, imageCaptured, rawImage, CameraInfo::resolutionHeight, CameraInfo::resolutionWidth, xPosRawImage, xPosSegmentedImage, yPosRawImage, and yPosSegmentedImage.
void CColorTable64DlgBar::OnMouseMove | ( | UINT | nFlags, | |
CPoint | point | |||
) | [protected] |
Definition at line 857 of file ColorTable64DlgBar.cpp.
References Image::cameraInfo, imageCaptured, rawImage, CameraInfo::resolutionHeight, CameraInfo::resolutionWidth, xPosRawImage, xPosSegmentedImage, yPosRawImage, and yPosSegmentedImage.
void CColorTable64DlgBar::OnPaint | ( | ) | [protected] |
Definition at line 289 of file ColorTable64DlgBar.cpp.
References Image::cameraInfo, ColorClasses::colorClassToRGB(), ColorClassImage::height, image, Image::image, imageCaptured, int(), ImageMethods::paintColorClassImage2CDC(), ImageMethods::paintImage2CDCAsYUV(), rawImage, CameraInfo::resolutionHeight, segmentedImage, U, V, xPosPreviewPixel, xPosRawImage, xPosSegmentedImage, Y, yPosPreviewPixel, yPosRawImage, and yPosSegmentedImage.
void CColorTable64DlgBar::OnRButtonDown | ( | UINT | nFlags, | |
CPoint | point | |||
) | [protected] |
Definition at line 783 of file ColorTable64DlgBar.cpp.
References Image::cameraInfo, imageCaptured, rawImage, CameraInfo::resolutionHeight, CameraInfo::resolutionWidth, xPosRawImage, xPosSegmentedImage, yPosRawImage, and yPosSegmentedImage.
void CColorTable64DlgBar::OnRecordCheck | ( | ) | [protected] |
Definition at line 1438 of file ColorTable64DlgBar.cpp.
References m_recordCheck, and maxGeneratedSegmentedImages.
void CColorTable64DlgBar::OnRecordClick | ( | bool | leftRight, | |
int | x, | |||
int | y, | |||
int | num | |||
) | [private] |
Definition at line 1564 of file ColorTable64DlgBar.cpp.
References ColorTable64::addColorClass(), backupRecord, Image::cameraInfo, OrderedList::clear(), colorTable, OrderedList::getColorClass(), OrderedList::getX(), OrderedList::getY(), Image::image, int(), noColor, OrderedList::notEmpty(), numOfColors, OnRecordFloodfill(), OnRecordInitImages(), OnRecordShow(), rawImage, record, OrderedList::removeElement(), CameraInfo::resolutionHeight, CameraInfo::resolutionWidth, OrderedList::restore(), segmentedImage, segments, sendLocal(), and undoRecordPossible.
void CColorTable64DlgBar::OnRecordFloodfill | ( | int | cx, | |
int | cy, | |||
OrderedList & | object, | |||
int | w, | |||
int | h, | |||
Image & | real, | |||
Image & | gauss, | |||
Image & | temp, | |||
Image & | preview, | |||
ColorClassImage & | segmentation | |||
) | [private] |
Definition at line 1467 of file ColorTable64DlgBar.cpp.
References OrderedList::appendElement(), ColorTable64::colorClasses, colorTable, distance(), OrderedList::getX(), OrderedList::getY(), Image::image, m_recordAutoColor, m_recordDistance, noColor, OrderedList::notEmpty(), numOfColors, object, OrderedList::removeElement(), and selectedColorClass.
Referenced by OnRecordClick().
void CColorTable64DlgBar::OnRecordInitImages | ( | int | w, | |
int | h, | |||
Image & | real, | |||
Image & | gauss, | |||
Image & | temp, | |||
Image & | preview, | |||
ColorClassImage & | segmentation | |||
) | [private] |
Definition at line 1443 of file ColorTable64DlgBar.cpp.
References black, ColorClassImage::image, and Image::image.
Referenced by OnRecordClick(), and OnRecordNewImage().
void CColorTable64DlgBar::OnRecordNewImage | ( | ) | [private] |
Definition at line 1281 of file ColorTable64DlgBar.cpp.
References Image::cameraInfo, OrderedList::clear(), d, Image::image, imageCaptured, OnRecordInitImages(), rawImage, CameraInfo::resolutionHeight, CameraInfo::resolutionWidth, segmentedImage, and segments.
Referenced by handleMessage().
void CColorTable64DlgBar::OnRecordReset | ( | ) | [protected] |
Definition at line 1130 of file ColorTable64DlgBar.cpp.
References ColorTable64::addColorClass(), colorTable, green, record, and undoRecordPossible.
Referenced by OnInitDialog().
void CColorTable64DlgBar::OnRecordSeedPixel | ( | int | x, | |
int | y, | |||
int | threshold | |||
) | [private] |
Definition at line 1415 of file ColorTable64DlgBar.cpp.
References Image::image, image, m_recordExtended, and rawImage.
void CColorTable64DlgBar::OnRecordShow | ( | ColorClassImage & | segmentation, | |
OrderedList & | object | |||
) | [private] |
Definition at line 1543 of file ColorTable64DlgBar.cpp.
References OrderedList::backup(), ColorClassImage::image, object, OrderedList::restore(), and segments.
Referenced by OnRecordClick().
void CColorTable64DlgBar::OnSelchangeCt64ColorClassCombo | ( | ) | [protected] |
Definition at line 696 of file ColorTable64DlgBar.cpp.
References generateSegmentedImage(), m_ct64ColorClassCombo, and selectedColorClass.
void CColorTable64DlgBar::OnSelchangeCt64ImageCombo | ( | ) | [protected] |
Definition at line 703 of file ColorTable64DlgBar.cpp.
References debugImageID, and m_ct64ImageCombo.
void CColorTable64DlgBar::OnSelectedColorOnly | ( | ) | [protected] |
Definition at line 1059 of file ColorTable64DlgBar.cpp.
References generateSegmentedImage(), m_selectedColorOnlyCheck, and showSelectedColorClassOnly.
void CColorTable64DlgBar::OnSize | ( | UINT | nType, | |
int | cx, | |||
int | cy | |||
) | [protected] |
void CColorTable64DlgBar::removeColorClassFromImage | ( | ) | [private] |
Definition at line 1027 of file ColorTable64DlgBar.cpp.
References Image::cameraInfo, clickRange, colorTable, generateSegmentedImage(), ColorTable64::getColorClass(), Image::getHighResY(), image, Image::image, previousColorTable, rawImage, CameraInfo::resolutionHeight, CameraInfo::resolutionWidth, selectedColorClass, sendLocal(), TRUE, and undoColorTablePossible.
Referenced by OnClearChannelInImage(), and OnCt64Remove().
void CColorTable64DlgBar::sendLocal | ( | ) | [private] |
Definition at line 185 of file ColorTable64DlgBar.cpp.
References CRobotControlQueuesToRobots::allRobots, OutMessage::bin, OutMessage::finishMessage(), getQueues(), idColorTable64, MessageQueue::out, CRobotControlQueues::toGUI, and CRobotControlQueues::toSimulated.
Referenced by OnCt64ClearChannel(), OnCt64ClearColorTable(), OnCt64Median(), OnCt64Open(), OnCt64Remove(), OnCt64Undo(), OnRecordClick(), and removeColorClassFromImage().
void CColorTable64DlgBar::setClickRangeSlider | ( | unsigned char | newPosition | ) | [private] |
Definition at line 977 of file ColorTable64DlgBar.cpp.
References clickRange, m_rangeSlider, and m_rangeStatic.
Referenced by OnHScroll(), and OnInitDialog().
void CColorTable64DlgBar::setMedianDistanceSlider | ( | unsigned char | newPosition | ) | [private] |
Definition at line 1004 of file ColorTable64DlgBar.cpp.
References m_medianDistanceSlider, m_medianDistanceStatic, and medianDistance.
Referenced by OnHScroll(), and OnInitDialog().
void CColorTable64DlgBar::setMedianNeighbourSlider | ( | unsigned char | newPosition | ) | [private] |
Definition at line 1013 of file ColorTable64DlgBar.cpp.
References m_medianNeighbourSlider, m_medianNeighbourStatic, and medianNeighbour.
Referenced by OnHScroll(), and OnInitDialog().
void CColorTable64DlgBar::setMedianRangeSlider | ( | unsigned char | newPosition | ) | [private] |
Definition at line 995 of file ColorTable64DlgBar.cpp.
References m_medianRangeSlider, m_medianRangeStatic, and medianRange.
Referenced by OnHScroll(), and OnInitDialog().
void CColorTable64DlgBar::setPenSlider | ( | unsigned char | newPosition | ) | [private] |
Definition at line 986 of file ColorTable64DlgBar.cpp.
References m_penSlider, and m_penStatic.
Referenced by OnHScroll(), and OnInitDialog().
void CColorTable64DlgBar::smoothImage | ( | ) | [private] |
Definition at line 917 of file ColorTable64DlgBar.cpp.
References ColorTable64::addColorClass(), Image::cameraInfo, colorTable, distance(), Image::getHighResY(), Image::image, m_medianAllColors, m_medianAllowReassign, medianDistance, medianNeighbour, medianRange, noColor, numOfColors, rawImage, CameraInfo::resolutionHeight, CameraInfo::resolutionWidth, selectedColorClass, and sqr.
Referenced by OnCt64Median().
int CColorTable64DlgBar::backupRecord[64][64][64][numOfColors] [private] |
Definition at line 194 of file ColorTable64DlgBar.h.
Referenced by OnCt64Undo(), and OnRecordClick().
unsigned char CColorTable64DlgBar::clickRange [private] |
Definition at line 173 of file ColorTable64DlgBar.h.
Referenced by removeColorClassFromImage(), and setClickRangeSlider().
ColorTable64 CColorTable64DlgBar::colorTable [private] |
Definition at line 165 of file ColorTable64DlgBar.h.
Referenced by generateSegmentedImage(), OnCt64ClearChannel(), OnCt64ClearColorTable(), OnCt64Open(), OnCt64Save(), OnCt64SendToRobot(), OnCt64Undo(), OnInitDialog(), OnRecordClick(), OnRecordFloodfill(), OnRecordReset(), removeColorClassFromImage(), and smoothImage().
int CColorTable64DlgBar::debugImageID [private] |
Definition at line 188 of file ColorTable64DlgBar.h.
Referenced by handleMessage(), OnInitDialog(), and OnSelchangeCt64ImageCombo().
bool CColorTable64DlgBar::imageCaptured[5] [private] |
Definition at line 161 of file ColorTable64DlgBar.h.
Referenced by OnCapture1(), OnCapture2(), OnCapture3(), OnCapture4(), OnInitDialog(), OnLButtonDown(), OnMouseMove(), OnPaint(), OnRButtonDown(), and OnRecordNewImage().
Definition at line 77 of file ColorTable64DlgBar.h.
Referenced by DoDataExchange(), and handleMessage().
Definition at line 80 of file ColorTable64DlgBar.h.
Referenced by DoDataExchange(), and handleMessage().
Definition at line 76 of file ColorTable64DlgBar.h.
Referenced by DoDataExchange(), OnInitDialog(), and OnSelchangeCt64ColorClassCombo().
CComboBox CColorTable64DlgBar::m_ct64ImageCombo |
Definition at line 87 of file ColorTable64DlgBar.h.
Referenced by DoDataExchange(), OnInitDialog(), and OnSelchangeCt64ImageCombo().
CButton CColorTable64DlgBar::m_highRes |
Definition at line 88 of file ColorTable64DlgBar.h.
Referenced by DoDataExchange(), OnHighRes(), and OnInitDialog().
Definition at line 78 of file ColorTable64DlgBar.h.
Referenced by DoDataExchange(), and smoothImage().
Definition at line 79 of file ColorTable64DlgBar.h.
Referenced by DoDataExchange(), and smoothImage().
CSliderCtrl CColorTable64DlgBar::m_medianDistanceSlider |
Definition at line 82 of file ColorTable64DlgBar.h.
Referenced by DoDataExchange(), OnHScroll(), OnInitDialog(), and setMedianDistanceSlider().
Definition at line 85 of file ColorTable64DlgBar.h.
Referenced by DoDataExchange(), and setMedianDistanceSlider().
CSliderCtrl CColorTable64DlgBar::m_medianNeighbourSlider |
Definition at line 83 of file ColorTable64DlgBar.h.
Referenced by DoDataExchange(), OnHScroll(), OnInitDialog(), and setMedianNeighbourSlider().
Definition at line 86 of file ColorTable64DlgBar.h.
Referenced by DoDataExchange(), and setMedianNeighbourSlider().
CSliderCtrl CColorTable64DlgBar::m_medianRangeSlider |
Definition at line 81 of file ColorTable64DlgBar.h.
Referenced by DoDataExchange(), OnHScroll(), OnInitDialog(), and setMedianRangeSlider().
Definition at line 84 of file ColorTable64DlgBar.h.
Referenced by DoDataExchange(), and setMedianRangeSlider().
CSliderCtrl CColorTable64DlgBar::m_penSlider |
Definition at line 74 of file ColorTable64DlgBar.h.
Referenced by DoDataExchange(), OnHScroll(), OnInitDialog(), and setPenSlider().
CStatic CColorTable64DlgBar::m_penStatic |
Definition at line 75 of file ColorTable64DlgBar.h.
Referenced by DoDataExchange(), and setPenSlider().
CSliderCtrl CColorTable64DlgBar::m_rangeSlider |
Definition at line 72 of file ColorTable64DlgBar.h.
Referenced by DoDataExchange(), OnHScroll(), OnInitDialog(), and setClickRangeSlider().
Definition at line 73 of file ColorTable64DlgBar.h.
Referenced by DoDataExchange(), and setClickRangeSlider().
Definition at line 90 of file ColorTable64DlgBar.h.
Referenced by DoDataExchange(), OnInitDialog(), and OnRecordFloodfill().
Definition at line 89 of file ColorTable64DlgBar.h.
Referenced by DoDataExchange(), handleMessage(), OnInitDialog(), and OnRecordCheck().
CSliderCtrl CColorTable64DlgBar::m_recordDistance |
Definition at line 92 of file ColorTable64DlgBar.h.
Referenced by DoDataExchange(), OnInitDialog(), and OnRecordFloodfill().
Definition at line 91 of file ColorTable64DlgBar.h.
Referenced by DoDataExchange(), and OnRecordSeedPixel().
Definition at line 70 of file ColorTable64DlgBar.h.
Referenced by DoDataExchange(), and OnSelectedColorOnly().
int CColorTable64DlgBar::maxGeneratedSegmentedImages [private] |
Definition at line 198 of file ColorTable64DlgBar.h.
Referenced by generateSegmentedImage(), OnInitDialog(), and OnRecordCheck().
unsigned char CColorTable64DlgBar::medianDistance [private] |
Definition at line 177 of file ColorTable64DlgBar.h.
Referenced by setMedianDistanceSlider(), and smoothImage().
unsigned char CColorTable64DlgBar::medianNeighbour [private] |
Definition at line 178 of file ColorTable64DlgBar.h.
Referenced by setMedianNeighbourSlider(), and smoothImage().
unsigned char CColorTable64DlgBar::medianRange [private] |
Definition at line 176 of file ColorTable64DlgBar.h.
Referenced by setMedianRangeSlider(), and smoothImage().
unsigned char CColorTable64DlgBar::penSize [private] |
Definition at line 174 of file ColorTable64DlgBar.h.
Definition at line 166 of file ColorTable64DlgBar.h.
Referenced by OnCt64ClearChannel(), OnCt64ClearColorTable(), OnCt64Open(), OnCt64Undo(), OnInitDialog(), and removeColorClassFromImage().
Image CColorTable64DlgBar::rawImage[5] [private] |
Definition at line 159 of file ColorTable64DlgBar.h.
Referenced by generateSegmentedImage(), handleMessage(), OnCapture1(), OnCapture2(), OnCapture3(), OnCapture4(), OnHighRes(), OnInitDialog(), OnLButtonDown(), OnMouseMove(), OnPaint(), OnRButtonDown(), OnRecordClick(), OnRecordNewImage(), OnRecordSeedPixel(), removeColorClassFromImage(), and smoothImage().
int CColorTable64DlgBar::record[64][64][64][numOfColors] [private] |
Definition at line 193 of file ColorTable64DlgBar.h.
Referenced by OnCt64Open(), OnCt64Save(), OnCt64Undo(), OnRecordClick(), and OnRecordReset().
bool CColorTable64DlgBar::repaintRawImage [private] |
bool CColorTable64DlgBar::repaintSegmentedImage [private] |
ColorClassImage CColorTable64DlgBar::segmentedImage[5] [private] |
Definition at line 160 of file ColorTable64DlgBar.h.
Referenced by generateSegmentedImage(), OnPaint(), OnRecordClick(), and OnRecordNewImage().
OrderedList CColorTable64DlgBar::segments [private] |
Definition at line 197 of file ColorTable64DlgBar.h.
Referenced by OnRecordClick(), OnRecordNewImage(), and OnRecordShow().
Definition at line 172 of file ColorTable64DlgBar.h.
Referenced by generateSegmentedImage(), OnCt64ClearChannel(), OnInitDialog(), OnRecordFloodfill(), OnSelchangeCt64ColorClassCombo(), removeColorClassFromImage(), and smoothImage().
bool CColorTable64DlgBar::showSelectedColorClassOnly [private] |
Definition at line 180 of file ColorTable64DlgBar.h.
Referenced by generateSegmentedImage(), OnInitDialog(), and OnSelectedColorOnly().
bool CColorTable64DlgBar::undoColorTablePossible [private] |
Definition at line 170 of file ColorTable64DlgBar.h.
Referenced by OnCt64ClearChannel(), OnCt64ClearColorTable(), OnCt64Undo(), OnInitDialog(), and removeColorClassFromImage().
bool CColorTable64DlgBar::undoRecordPossible [private] |
Definition at line 195 of file ColorTable64DlgBar.h.
Referenced by OnCt64Undo(), OnRecordClick(), and OnRecordReset().
bool CColorTable64DlgBar::useHighRes [private] |
int CColorTable64DlgBar::xPosPreviewPixel[5] [private] |
int CColorTable64DlgBar::xPosRawImage[5] [private] |
Definition at line 182 of file ColorTable64DlgBar.h.
Referenced by handleMessage(), OnHighRes(), OnInitDialog(), OnLButtonDown(), OnMouseMove(), OnPaint(), and OnRButtonDown().
int CColorTable64DlgBar::xPosSegmentedImage[5] [private] |
Definition at line 185 of file ColorTable64DlgBar.h.
Referenced by handleMessage(), OnHighRes(), OnInitDialog(), OnLButtonDown(), OnMouseMove(), OnPaint(), and OnRButtonDown().
int CColorTable64DlgBar::yPosPreviewPixel[5] [private] |
int CColorTable64DlgBar::yPosRawImage [private] |
Definition at line 183 of file ColorTable64DlgBar.h.
Referenced by OnInitDialog(), OnLButtonDown(), OnMouseMove(), OnPaint(), and OnRButtonDown().
int CColorTable64DlgBar::yPosSegmentedImage [private] |
Definition at line 186 of file ColorTable64DlgBar.h.
Referenced by handleMessage(), OnHighRes(), OnInitDialog(), OnLButtonDown(), OnMouseMove(), OnPaint(), and OnRButtonDown().