Skip to content

Commit

Permalink
fixed bug in translation function
Browse files Browse the repository at this point in the history
  • Loading branch information
mlampros committed Apr 30, 2017
1 parent 12c0826 commit 1ba1a99
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions R/open_image_rscript.R
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,7 @@ delationErosion = function(image, Filter, method = 'delation', threads = 1) {
#' @param image a matrix, data frame or 3-dimensional array
#' @param shift_rows a positive or negative integer specifying the direction that the rows should be shifted
#' @param shift_cols a positive or negative integer specifying the direction that the columns should be shifted
#' @param padded_value a numeric value. If it is greater than 0 then the values of the shifted rows or columns will be filled with the padded_value
#' @param padded_value a numeric value. If it's not equal to 0 then the values of the shifted rows or columns will be filled with the user-defined padded_value
#' @return a matrix or 3-dimensional array
#' @details
#' If shift_rows is not zero then the image will be sifted row-wise (upsides or downsides depending on the sign). If shift_cols is not zero then
Expand Down Expand Up @@ -1044,7 +1044,7 @@ List_2_Array = function(data, verbose = FALSE) {
#' @param zca_comps an integer specifying the number of components to keep by zca whitening, when svd is performed
#' @param zca_epsilon a float specifying the regularization parameter by zca whitening
#' @param image_thresh the threshold parameter, by image thresholding, should be between 0 and 1 if the data is normalized or between 0-255 otherwise
#' @param padded_value a numeric value. If it is greater than 0 then the values of the shifted rows or columns will be filled with the padded_value. Applies only to the shift_rows and shift_cols parameters.
#' @param padded_value a numeric value. If it's not equal to 0 then the values of the shifted rows or columns will be filled with the user-defined padded_value. Applies only to the shift_rows and shift_cols parameters.
#' @param threads an integer specifying the number of cores to run in parallel ( applies only in case that the image parameter is an array )
#' @param verbose a boolean (TRUE, FALSE). If TRUE, then the total time of the preprocessing task will be printed.
#' @return the output is of the same type with the input (in case of a data frame it returns a matrix)
Expand Down
2 changes: 1 addition & 1 deletion man/Augmentation.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/translation.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1ba1a99

Please sign in to comment.