MorphoGraphX
StackProcessMorphology.hpp
1 //
2 // This file is part of MorphoGraphX - http://www.MorphoGraphX.org
3 // Copyright (C) 2012-2015 Richard S. Smith and collaborators.
4 //
5 // If you use MorphoGraphX in your work, please cite:
6 // http://dx.doi.org/10.7554/eLife.05864
7 //
8 // MorphoGraphX is free software, and is licensed under under the terms of the
9 // GNU General (GPL) Public License version 2.0, http://www.gnu.org/licenses.
10 //
11 #ifndef STACKPROCESSMORPHOLOGY_HPP
12 #define STACKPROCESSMORPHOLOGY_HPP
13 
14 #include <Process.hpp>
15 
16 namespace mgx {
17 namespace process {
20 
25 struct mgxBase_EXPORT EdgeDetectProcess : public StackProcess {
26 public:
28  : Process(process)
29  , StackProcess(process)
30  {
31  }
32 
33  bool operator()(const QStringList& parms)
34  {
35  if(!checkState().store(STORE_NON_EMPTY | STORE_NON_LABEL))
36  return false;
37  Stack* stack = currentStack();
38  Store* store = stack->currentStore();
39  Store* work = stack->work();
40  bool res = (*this)(store, work, parms[0].toFloat(), parms[1].toFloat(), parms[2].toFloat(), parms[3].toUInt());
41  if(res) {
42  store->hide();
43  work->show();
44  }
45  return res;
46  }
47 
48  bool operator()(Store* input, Store* output, float threshold, float multiplier, float factor, uint fillValue);
49 
50  QString folder() const {
51  return "Morphology";
52  }
53  QString name() const {
54  return "Edge Detect";
55  }
57  {
58  return "Do a multipass edge detection in Z direction.\n"
59  "Stack is turned into a mask (0 or fill value)";
60  }
62  {
63  return QStringList() << "Threshold"
64  << "Multiplier"
65  << "Adapt Factor"
66  << "Fill Value";
67  }
69  {
70  return QStringList() << "Values of signal that should not belong to surface."
71  << "Multiplicative factor for the threshold."
72  << "Adaptative factor for threshold."
73  << "Value to fill the mask with.";
74  }
76  {
77  return QStringList() << "10000.0"
78  << "2.0"
79  << "0.3"
80  << "30000";
81  }
82  QIcon icon() const {
83  return QIcon(":/images/EdgeDetect.png");
84  }
85 };
86 
98 class mgxBase_EXPORT DilateStack : public StackProcess {
99 public:
101  : Process(process)
102  , StackProcess(process)
103  {
104  }
105 
106  bool operator()(const QStringList& parms)
107  {
108  if(!checkState().store(STORE_NON_EMPTY))
109  return false;
110  Stack* s = currentStack();
111  Store* input = s->currentStore();
112  Store* output = s->work();
113  bool res = (*this)(s, input, output, parms[0].toUInt(), parms[1].toUInt(), parms[2].toUInt(),
114  stringToBool(parms[3]));
115  if(res) {
116  input->hide();
117  output->show();
118  }
119  return res;
120  }
121  bool operator()(Stack* stack, const Store* input, Store* output, uint xradius, uint yradius, uint zradius,
122  bool auto_resize = true);
123 
124  QString folder() const {
125  return "Morphology";
126  }
127  QString name() const {
128  return "Dilate";
129  }
131  return "Morphological dilation (max filter) on stack";
132  }
134  {
135  return QStringList() << "X Radius"
136  << "Y Radius"
137  << "Z Radius"
138  << "Auto-Resize";
139  }
141  {
142  return QStringList() << "X Radius"
143  << "Y Radius"
144  << "Z Radius"
145  << "Auto-Resize";
146  }
148  {
149  return QStringList() << "1"
150  << "1"
151  << "1"
152  << "No";
153  }
155  {
156  ParmChoiceMap map;
157  map[3] = booleanChoice();
158  return map;
159  }
160  QIcon icon() const {
161  return QIcon(":/images/Dilate.png");
162  }
163 };
164 
176 class mgxBase_EXPORT ErodeStack : public StackProcess {
177 public:
179  : Process(process)
180  , StackProcess(process)
181  {
182  }
183 
184  bool operator()(const QStringList& parms)
185  {
186  if(!checkState().store(STORE_NON_EMPTY))
187  return false;
188  Stack* s = currentStack();
189  Store* input = s->currentStore();
190  Store* output = s->work();
191  bool res = (*this)(s, input, output, parms[0].toUInt(), parms[1].toUInt(), parms[2].toUInt(),
192  stringToBool(parms[3]));
193  if(res) {
194  input->hide();
195  output->show();
196  }
197  return res;
198  }
199  bool operator()(Stack* stack, const Store* input, Store* output, uint xradius, uint yradius, uint zradius,
200  bool auto_resize = true);
201 
202  QString folder() const {
203  return "Morphology";
204  }
205  QString name() const {
206  return "Erode";
207  }
209  return "Morphological erosion on stack";
210  }
212  {
213  return QStringList() << "X Radius"
214  << "Y Radius"
215  << "Z Radius"
216  << "Auto-Resize";
217  }
219  {
220  return QStringList() << "X Radius"
221  << "Y Radius"
222  << "Z Radius"
223  << "Auto-Resize";
224  }
226  {
227  return QStringList() << "1"
228  << "1"
229  << "1"
230  << "No";
231  }
233  {
234  ParmChoiceMap map;
235  map[3] = booleanChoice();
236  return map;
237  }
238  QIcon icon() const {
239  return QIcon(":/images/Erode.png");
240  }
241 };
242 
252 class mgxBase_EXPORT ClosingStack : public StackProcess {
253 public:
255  : Process(process)
256  , StackProcess(process)
257  {
258  }
259 
260  bool operator()(const QStringList& parms)
261  {
262  if(!checkState().store(STORE_NON_EMPTY))
263  return false;
264  Stack* s = currentStack();
265  Store* input = s->currentStore();
266  Store* output = s->work();
267  bool res = (*this)(s, input, output, parms[0].toUInt(), parms[1].toUInt(), parms[2].toUInt());
268  if(res) {
269  input->hide();
270  output->show();
271  }
272  return res;
273  }
274  bool operator()(Stack* stack, const Store* input, Store* output, uint xradius, uint yradius, uint zradius);
275 
276  QString folder() const {
277  return "Morphology";
278  }
279  QString name() const {
280  return "Closing";
281  }
283  return "Morphological closure (i.e. dilatation followed erosion) on stack";
284  }
286  {
287  return QStringList() << "X Radius"
288  << "Y Radius"
289  << "Z Radius";
290  }
292  {
293  return QStringList() << "X Radius"
294  << "Y Radius"
295  << "Z Radius";
296  }
298  {
299  return QStringList() << "1"
300  << "1"
301  << "1";
302  }
303  QIcon icon() const {
304  return QIcon(":/images/Closing.png");
305  }
306 };
307 
318 class mgxBase_EXPORT OpeningStack : public StackProcess {
319 public:
321  : Process(process)
322  , StackProcess(process)
323  {
324  }
325 
326  bool operator()(const QStringList& parms)
327  {
328  if(!checkState().store(STORE_NON_EMPTY))
329  return false;
330  Stack* s = currentStack();
331  Store* input = s->currentStore();
332  Store* output = s->work();
333  bool res = (*this)(s, input, output, parms[0].toUInt(), parms[1].toUInt(), parms[2].toUInt());
334  if(res) {
335  input->hide();
336  output->show();
337  }
338  return res;
339  }
340  bool operator()(Stack* stack, const Store* input, Store* output, uint xradius, uint yradius, uint zradius);
341 
342  QString folder() const {
343  return "Morphology";
344  }
345  QString name() const {
346  return "Opening";
347  }
349  return "Morphological opening (i.e. erosion followed dilatation) on stack";
350  }
352  {
353  return QStringList() << "X Radius"
354  << "Y Radius"
355  << "Z Radius";
356  }
358  {
359  return QStringList() << "X Radius"
360  << "Y Radius"
361  << "Z Radius";
362  }
364  {
365  return QStringList() << "5"
366  << "5"
367  << "5";
368  }
369  QIcon icon() const {
370  return QIcon(":/images/Opening.png");
371  }
372 };
373 
374 class mgxBase_EXPORT FillHolesProcess : public StackProcess {
375 public:
377  : Process(process)
378  , StackProcess(process)
379  {
380  }
381 
382  bool operator()(const QStringList& parms)
383  {
384  if(!checkState().store(STORE_NON_EMPTY | STORE_NON_LABEL))
385  return false;
386  Stack* s = currentStack();
387  Store* input = s->currentStore();
388  Store* output = s->work();
389  bool res = (*this)(input, output, parms[0].toUInt(), parms[1].toUInt(), parms[2].toUInt(), parms[3].toUInt());
390  if(res) {
391  input->hide();
392  output->show();
393  }
394  return res;
395  }
396  bool operator()(const Store* input, Store* output, uint xradius, uint yradius, uint threshold, uint fillValue);
397 
398  QString folder() const {
399  return "Morphology";
400  }
401  QString name() const {
402  return "Fill Holes";
403  }
405  {
406  return "Fill holes in stack.\n"
407  "Use after Edge Detect.";
408  }
410  {
411  return QStringList() << "X Radius"
412  << "Y Radius"
413  << "Threshold"
414  << "Fill Value";
415  }
417  {
418  return QStringList() << "X Radius of hole"
419  << "Y Radius of hole"
420  << "Minimal signal value to fill the hole."
421  << "Filling value. Usually same as Edge Detect.";
422  }
424  {
425  return QStringList() << "10"
426  << "10"
427  << "10000"
428  << "30000";
429  }
430  QIcon icon() const {
431  return QIcon(":/images/FillHoles.png");
432  }
433 };
434 
444 class mgxBase_EXPORT OpenStackLabel : public StackProcess {
445 public:
447  : Process(process)
448  , StackProcess(process)
449  {
450  }
451 
452  bool operator()(const QStringList& parms)
453  {
454  if(!checkState().store(STORE_NON_EMPTY | STORE_LABEL))
455  return false;
456  Stack* s = currentStack();
457  Store* input = s->currentStore();
458  Store* output = s->work();
459  bool res = (*this)(s, input, output, parms[0].toUInt(), parms[1].toUInt(), parms[2].toUInt());
460  if(res) {
461  input->hide();
462  output->show();
463  }
464  return res;
465  }
466  bool operator()(Stack* stack, const Store* input, Store* output, uint xradius, uint yradius, uint zradius);
467 
468  QString folder() const {
469  return "Morphology";
470  }
471  QString name() const {
472  return "Open by label";
473  }
475  return "Morphological opening on a labeled stack";
476  }
478  {
479  return QStringList() << "X Radius"
480  << "Y Radius"
481  << "Z Radius";
482  }
484  {
485  return QStringList() << "X Radius"
486  << "Y Radius"
487  << "Z Radius";
488  }
490  {
491  return QStringList() << "1"
492  << "1"
493  << "1";
494  }
495  QIcon icon() const {
496  return QIcon(":/images/Opening.png");
497  }
498 };
499 
511 class mgxBase_EXPORT CloseStackLabel : public StackProcess {
512 public:
514  : Process(process)
515  , StackProcess(process)
516  {
517  }
518 
519  bool operator()(const QStringList& parms)
520  {
521  if(!checkState().store(STORE_NON_EMPTY | STORE_LABEL))
522  return false;
523  Stack* s = currentStack();
524  Store* input = s->currentStore();
525  Store* output = s->work();
526  bool res = (*this)(s, input, output, parms[0].toUInt(), parms[1].toUInt(), parms[2].toUInt());
527  if(res) {
528  input->hide();
529  output->show();
530  }
531  return res;
532  }
533  bool operator()(Stack* stack, const Store* input, Store* output, uint xradius, uint yradius, uint zradius);
534 
535  QString folder() const {
536  return "Morphology";
537  }
538  QString name() const {
539  return "Close by label";
540  }
542  return "Morphological closure on a labeled stack";
543  }
545  {
546  return QStringList() << "X Radius"
547  << "Y Radius"
548  << "Z Radius";
549  }
551  {
552  return QStringList() << "X Radius"
553  << "Y Radius"
554  << "Z Radius";
555  }
557  {
558  return QStringList() << "1"
559  << "1"
560  << "1";
561  }
562  QIcon icon() const {
563  return QIcon(":/images/Closing.png");
564  }
565 };
566 
583 class mgxBase_EXPORT ApplyMaskToStack : public StackProcess {
584 public:
586  : Process(process)
587  , StackProcess(process)
588  {
589  }
590 
591  bool operator()(const QStringList& parms)
592  {
593  if(!checkState().store(STORE_NON_EMPTY))
594  return false;
595  Stack* stack = currentStack();
596  Store* input = stack->main();
597  Store* output = stack->work();
598  bool res = (*this)(stack, input, output, parms[0], parms[1].toUInt());
599  if(res) {
600  input->hide();
601  output->show();
602  }
603  return res;
604  }
605  bool operator()(Stack* stack, const Store* input, Store* output, const QString& mode, uint threshold);
606 
607  QString folder() const {
608  return "Morphology";
609  }
610  QString name() const {
611  return "Apply Mask to Stack";
612  }
614  return "Apply the work mask to the main replacing work";
615  }
617  {
618  return QStringList() << "Mode"
619  << "Threshold";
620  }
622  {
623  return QStringList() << "Mode"
624  << "Threshold";
625  }
627  {
628  return QStringList() << "Normal"
629  << "0";
630  }
632  {
633  ParmChoiceMap map;
634  map[0] = QStringList() << "Normal"
635  << "Invert"
636  << "Combine";
637  return map;
638  }
639  QIcon icon() const {
640  return QIcon(":/images/Mask.png");
641  }
642 };
643 
655 class mgxBase_EXPORT ApplyMaskLabels : public StackProcess {
656 public:
658  : Process(process)
659  , StackProcess(process)
660  {
661  }
662 
663  bool operator()(const QStringList& parms)
664  {
665  if(!checkState().store(STORE_NON_EMPTY))
666  return false;
667  Stack* stack = currentStack();
668  Store* input = stack->main();
669  Store* output = stack->work();
670  bool res = (*this)(stack, input, output, parms[0].toUInt(), stringToBool(parms[1]));
671  if(res) {
672  input->hide();
673  output->show();
674  output->setLabels(true);
675  }
676  return res;
677  }
678  bool operator()(Stack* stack, const Store* input, Store* output, bool invert, uint threshold);
679 
680  QString folder() const {
681  return "Morphology";
682  }
683  QString name() const {
684  return "Apply Mask to Labels";
685  }
687  return "Apply mask in work stack to labels in main stack, replacing work";
688  }
690  {
691  return QStringList() << "Invert"
692  << "Threshold";
693  }
695  {
696  return QStringList() << "Invert"
697  << "Threshold";
698  }
700  {
701  return QStringList() << "No"
702  << "1";
703  }
705  {
706  ParmChoiceMap map;
707  map[0] = booleanChoice();
708  return map;
709  }
710  QIcon icon() const {
711  return QIcon(":/images/MaskLabels.png");
712  }
713 };
715 } // namespace process
716 } // namespace mgx
717 
718 #endif
ParmChoiceMap parmChoice() const
Purely for GUI purposes, provides for some of the parms parameter a choice.
Definition: StackProcessMorphology.hpp:232
QStringList parmDefaults() const
List of default parms.
Definition: StackProcessMorphology.hpp:423
QString folder() const
Folder in which to place the process.
Definition: StackProcessMorphology.hpp:124
QString folder() const
Folder in which to place the process.
Definition: StackProcessMorphology.hpp:50
QStringList parmDefaults() const
List of default parms.
Definition: StackProcessMorphology.hpp:489
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcessMorphology.hpp:160
Close the gray-level stack using a cubic kernel.
Definition: StackProcessMorphology.hpp:252
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcessMorphology.hpp:430
QString folder() const
Folder in which to place the process.
Definition: StackProcessMorphology.hpp:342
ParmChoiceMap parmChoice() const
Purely for GUI purposes, provides for some of the parms parameter a choice.
Definition: StackProcessMorphology.hpp:631
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcessMorphology.hpp:348
QStringList parmNames() const
List of named parameters.
Definition: StackProcessMorphology.hpp:285
QString name() const
Returns the name of the process.
Definition: StackProcessMorphology.hpp:127
QString folder() const
Folder in which to place the process.
Definition: StackProcessMorphology.hpp:202
QStringList parmNames() const
List of named parameters.
Definition: StackProcessMorphology.hpp:477
ParmChoiceMap parmChoice() const
Purely for GUI purposes, provides for some of the parms parameter a choice.
Definition: StackProcessMorphology.hpp:704
QString name() const
Returns the name of the process.
Definition: StackProcessMorphology.hpp:538
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcessMorphology.hpp:694
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcessMorphology.hpp:710
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcessMorphology.hpp:591
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcessMorphology.hpp:495
const Store * currentStore() const
Returns the current store.
Definition: Stack.hpp:122
Open the gray-level stack using a cubic kernel.
Definition: StackProcessMorphology.hpp:318
QStringList parmDefaults() const
List of default parms.
Definition: StackProcessMorphology.hpp:626
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcessMorphology.hpp:357
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcessMorphology.hpp:483
QStringList parmNames() const
List of named parameters.
Definition: StackProcessMorphology.hpp:351
QString name() const
Returns the name of the process.
Definition: StackProcessMorphology.hpp:683
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcessMorphology.hpp:621
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcessMorphology.hpp:562
Definition: StackProcessMorphology.hpp:374
QString name() const
Returns the name of the process.
Definition: StackProcessMorphology.hpp:205
QStringList parmNames() const
List of named parameters.
Definition: StackProcessMorphology.hpp:689
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcessMorphology.hpp:130
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcessMorphology.hpp:519
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcessMorphology.hpp:639
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcessMorphology.hpp:416
Apply a mask to labels.
Definition: StackProcessMorphology.hpp:655
QStringList parmNames() const
List of named parameters.
Definition: StackProcessMorphology.hpp:61
QString name() const
Returns the name of the process.
Definition: StackProcessMorphology.hpp:471
QStringList parmDefaults() const
List of default parms.
Definition: StackProcessMorphology.hpp:147
The Store class holds the actual 3D data and properties specific to it.
Definition: Store.hpp:35
Erode the gray-level stack using a cubic kernel.
Definition: StackProcessMorphology.hpp:176
QString name() const
Returns the name of the process.
Definition: StackProcessMorphology.hpp:345
QStringList parmDefaults() const
List of default parms.
Definition: StackProcessMorphology.hpp:363
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcessMorphology.hpp:369
QString name() const
Returns the name of the process.
Definition: StackProcessMorphology.hpp:610
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcessMorphology.hpp:238
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcessMorphology.hpp:303
QString folder() const
Folder in which to place the process.
Definition: StackProcessMorphology.hpp:276
ParmChoiceMap parmChoice() const
Purely for GUI purposes, provides for some of the parms parameter a choice.
Definition: StackProcessMorphology.hpp:154
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcessMorphology.hpp:541
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcessMorphology.hpp:56
QString folder() const
Folder in which to place the process.
Definition: StackProcessMorphology.hpp:680
TODO: This class needs documenting!
Definition: StackProcessMorphology.hpp:25
This namespace contains all the API of MorphoGraphX.
Definition: Assert.hpp:26
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcessMorphology.hpp:106
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcessMorphology.hpp:404
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcessMorphology.hpp:218
QString name() const
Returns the name of the process.
Definition: StackProcessMorphology.hpp:53
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcessMorphology.hpp:550
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcessMorphology.hpp:291
QString folder() const
Folder in which to place the process.
Definition: StackProcessMorphology.hpp:468
Close a labeled stack.
Definition: StackProcessMorphology.hpp:511
QStringList parmNames() const
List of named parameters.
Definition: StackProcessMorphology.hpp:133
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcessMorphology.hpp:474
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcessMorphology.hpp:68
File containing the definition of a Process.
QStringList parmDefaults() const
List of default parms.
Definition: StackProcessMorphology.hpp:699
QString name() const
Returns the name of the process.
Definition: StackProcessMorphology.hpp:401
QString folder() const
Folder in which to place the process.
Definition: StackProcessMorphology.hpp:607
The Stack class represent the dimensions of the 3D data, and the frames transformations.
Definition: Stack.hpp:35
QStringList parmNames() const
List of named parameters.
Definition: StackProcessMorphology.hpp:409
QStringList parmNames() const
List of named parameters.
Definition: StackProcessMorphology.hpp:211
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcessMorphology.hpp:663
This is the main process class, the one all process inherit from.
Definition: Process.hpp:258
QString folder() const
Folder in which to place the process.
Definition: StackProcessMorphology.hpp:398
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcessMorphology.hpp:184
void hide()
Ask the user interface to hide this store.
Definition: Store.hpp:183
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcessMorphology.hpp:208
mgx_EXPORT bool stringToBool(const QString &string)
Helper function converting a string into a boolean.
This namespace contains all the classes needed to define processes.
QStringList parmNames() const
List of named parameters.
Definition: StackProcessMorphology.hpp:616
Dilate the gray-level stack using a cubic kernel.
Definition: StackProcessMorphology.hpp:98
const Store * work() const
Access the work store.
Definition: Stack.hpp:103
QString name() const
Returns the name of the process.
Definition: StackProcessMorphology.hpp:279
QStringList parmDefaults() const
List of default parms.
Definition: StackProcessMorphology.hpp:556
Apply a mask to a grey-level image.
Definition: StackProcessMorphology.hpp:583
QString folder() const
Folder in which to place the process.
Definition: StackProcessMorphology.hpp:535
QStringList parmDefaults() const
List of default parms.
Definition: StackProcessMorphology.hpp:225
const Store * main() const
Access the main store.
Definition: Stack.hpp:84
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcessMorphology.hpp:613
Stack processes have non-mutable access to meshes and mutable access to stacks.
Definition: Process.hpp:829
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcessMorphology.hpp:82
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcessMorphology.hpp:260
QStringList parmDefaults() const
List of default parms.
Definition: StackProcessMorphology.hpp:75
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcessMorphology.hpp:382
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcessMorphology.hpp:686
QStringList parmNames() const
List of named parameters.
Definition: StackProcessMorphology.hpp:544
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcessMorphology.hpp:140
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcessMorphology.hpp:33
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcessMorphology.hpp:452
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcessMorphology.hpp:326
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcessMorphology.hpp:282
QStringList parmDefaults() const
List of default parms.
Definition: StackProcessMorphology.hpp:297
Open a labeled stack.
Definition: StackProcessMorphology.hpp:444