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
Feret Jean-Baptiste
biodivMapR
Commits
044d2dab
Commit
044d2dab
authored
Oct 30, 2019
by
jbferet
Browse files
changed max number pixels per iteration (from 250000 to 5000000/nb_partitions)
parent
0107f46a
Changes
1
Hide whitespace changes
Inline
Side-by-side
R/Lib_PerformPCA.R
View file @
044d2dab
...
...
@@ -470,7 +470,7 @@ define_pixels_per_iter <- function(ImNames, nb_partitions = nb_partitions) {
# adjust the number of pixels per iteration
# trade-off between number of pixels and total pixel size
# maximum number of pixels to be used
Max_Pixel_Per_Iter
<-
2
50000
Max_Pixel_Per_Iter
<-
50000
00
/
nb_partitions
Max_Pixel_Per_Iter_Size
<-
nb_partitions
*
(
Max_Pixel_Per_Iter
*
as.double
(
HDR
$
bands
)
*
Image_Format
$
Bytes
)
/
(
1024
^
3
)
# maximum amount of data (Gb) to be used
Max_Size_Per_Iter
<-
0.3
...
...
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