modifié : include/ArrayTree/ArrayTreeBuilder.tpp
modifié : src/Appli/Option.cpp
This commit is contained in:
parent
c8714ca77a
commit
5eaab87185
@ -550,15 +550,15 @@ ArrayTreeBuilder<WeightT, PixelT>::updateNewId (const DimImg curComp, DimImg &co
|
|||||||
DimImg newTopIdx = newCompId[top];
|
DimImg newTopIdx = newCompId[top];
|
||||||
if (newTopIdx == DimImg_MAX) {
|
if (newTopIdx == DimImg_MAX) {
|
||||||
newTopIdx = newCompId[top] = compCount++;
|
newTopIdx = newCompId[top] = compCount++;
|
||||||
if (top == DimImg_MAX)
|
// if (top == DimImg_MAX)
|
||||||
// XXX arbres non-connexe ?
|
// // XXX arbres non-connexe ?
|
||||||
cerr << "coucou top: " << curComp << endl;
|
// cerr << "coucou top: " << curComp << endl;
|
||||||
else if (compParents[top] == leafCount)
|
// else if (compParents[top] == leafCount)
|
||||||
// XXX arbres non-connexe ?
|
// // XXX arbres non-connexe ?
|
||||||
cerr << "coucou ptop-top: " << curComp << endl;
|
// cerr << "coucou ptop-top: " << curComp << endl;
|
||||||
else if (compParents[top] == DimImg_MAX)
|
// else if (compParents[top] == DimImg_MAX)
|
||||||
// XXX arbres non-connexe ?
|
// // XXX arbres non-connexe ?
|
||||||
cerr << "coucou ptop-max: " << curComp << endl;
|
// cerr << "coucou ptop-max: " << curComp << endl;
|
||||||
}
|
}
|
||||||
const DimNodeId &newTopChildCountRec = childCountRec[top];
|
const DimNodeId &newTopChildCountRec = childCountRec[top];
|
||||||
const DimImg &newTopCompParent = compParents[top];
|
const DimImg &newTopCompParent = compParents[top];
|
||||||
|
|||||||
@ -194,7 +194,6 @@ Option::parse (int argc, char** argv) {
|
|||||||
selectedBand = Selected (0, bandInputCount-1);
|
selectedBand = Selected (0, bandInputCount-1);
|
||||||
selectedBand.setLimits (0, bandInputCount-1);
|
selectedBand.setLimits (0, bandInputCount-1);
|
||||||
selectedBand.toSet ();
|
selectedBand.toSet ();
|
||||||
cerr << "coucou:" << selectedBand << endl;
|
|
||||||
|
|
||||||
Size orgSize = inputImage.getSize ();
|
Size orgSize = inputImage.getSize ();
|
||||||
if (width < 0 || width > orgSize.width)
|
if (width < 0 || width > orgSize.width)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user