Commit 88b394d8 authored by Cresson Remi's avatar Cresson Remi
Browse files

ENH: new sample selection/extraction strategy (use nodata in selection or extraction)

Showing with 1 addition and 1 deletion
+1 -1
......@@ -187,7 +187,7 @@ TensorflowSampler<TInputImage, TVectorData>
IndexType outIndex;
outIndex[0] = 0;
outIndex[1] = count * m_PatchSizes[i][1];
RegionType region(outIndex, m_PatchSizes);
RegionType region(outIndex, m_PatchSizes[i]);
IteratorType it(m_OutputPatchImages[i], region);
for (it.GoToBegin(); !it.IsAtEnd(); ++it)
......
Supports Markdown
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