Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Cresson Remi
otbtf
Commits
88b394d8
Commit
88b394d8
authored
Oct 26, 2019
by
Cresson Remi
Browse files
ENH: new sample selection/extraction strategy (use nodata in selection or extraction)
parent
b8724706
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/otbTensorflowSampler.hxx
View file @
88b394d8
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment