1234567891011121314151617181920212223242526272829303132 |
- #include "invertcolorTool.h"
- invertcolor::invertcolor(QWidget *parent) : ToolInterface(parent), ui(new Ui::invertcolor)
- {
- ui->setupUi(this);
- }
- invertcolor::~invertcolor()
- {
- delete ui;
- }
- QString invertcolor::ShowParameter()
- {
- return "1";
- }
- int invertcolor::Execute()
- {
- int result = 1;
- try
- {
- InvertImage(m_InImage, &m_OutImage);
- }
- catch(...)
- {
- }
- return result;
- }
|