Commit fd9d676c authored by Emmanuel Promayon's avatar Emmanuel Promayon

FIXED rename the implementation file properly to match CCG

parent cab7cfe6
......@@ -63,7 +63,13 @@ Action::ApplyStatus HardCodedPipelineAction::apply() {
PipelineActionStatus pipelineStatus = PipelineActionStatus::OK;
// apply the resample action (first action in the pipeline) on the last selected component
//
// Hard-coded Pipeline starts here
// 1. apply Resample action, and check that everything is ok
// 2. apply Otsu threshold
// if everything is alright, remove the intermediate results and force the application refresh
// 1. apply the resample action (first action in the pipeline) on the last selected component
pipelineStatus = applyResample(getTargets().last());
// If the image has been saved, then it is not modified any more...
......@@ -75,7 +81,7 @@ Action::ApplyStatus HardCodedPipelineAction::apply() {
// input. For these cases, you need to use:
Component* resampled = getLastTopLevelOutputComponents("Resample");
// apply the Otsu action (second action in the pipeline)
// 2. apply the Otsu action (second action in the pipeline)
pipelineStatus = applyOtsu(resampled);
if (pipelineStatus == OK) {
......@@ -123,7 +129,7 @@ Component* HardCodedPipelineAction::getLastTopLevelOutputComponents(const QStrin
[](const Component * c) {
return c->isTopLevel();
});
// This is equivalent of:
// This is the equivalent of:
// ComponentList::reverse_iterator it = currentAction->getOutputComponents().rbegin();
// while (it != currentAction->getOutputComponents().rend() && !(*it)->isTopLevel()) {
// it++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment