modifié : include/ArrayTree/ArrayTreeBuilder.tpp

modifié :         src/Appli/Option.cpp
This commit is contained in:
Git Merciol 2018-02-26 15:52:36 +01:00
parent c8714ca77a
commit 5eaab87185
2 changed files with 9 additions and 10 deletions

View File

@ -550,15 +550,15 @@ ArrayTreeBuilder<WeightT, PixelT>::updateNewId (const DimImg curComp, DimImg &co
DimImg newTopIdx = newCompId[top];
if (newTopIdx == DimImg_MAX) {
newTopIdx = newCompId[top] = compCount++;
if (top == DimImg_MAX)
// XXX arbres non-connexe ?
cerr << "coucou top: " << curComp << endl;
else if (compParents[top] == leafCount)
// XXX arbres non-connexe ?
cerr << "coucou ptop-top: " << curComp << endl;
else if (compParents[top] == DimImg_MAX)
// XXX arbres non-connexe ?
cerr << "coucou ptop-max: " << curComp << endl;
// if (top == DimImg_MAX)
// // XXX arbres non-connexe ?
// cerr << "coucou top: " << curComp << endl;
// else if (compParents[top] == leafCount)
// // XXX arbres non-connexe ?
// cerr << "coucou ptop-top: " << curComp << endl;
// else if (compParents[top] == DimImg_MAX)
// // XXX arbres non-connexe ?
// cerr << "coucou ptop-max: " << curComp << endl;
}
const DimNodeId &newTopChildCountRec = childCountRec[top];
const DimImg &newTopCompParent = compParents[top];

View File

@ -194,7 +194,6 @@ Option::parse (int argc, char** argv) {
selectedBand = Selected (0, bandInputCount-1);
selectedBand.setLimits (0, bandInputCount-1);
selectedBand.toSet ();
cerr << "coucou:" << selectedBand << endl;
Size orgSize = inputImage.getSize ();
if (width < 0 || width > orgSize.width)