The source project of this merge request has been removed.
Update auto_crop.R
Compare changes
- Wayne Crismani authored
+ 25
− 8
@@ -11,8 +24,8 @@ crop <- function(file_list, img_path, crop_method = "regular")
@@ -31,7 +44,7 @@ crop <- function(file_list, img_path, crop_method = "regular")
@@ -39,8 +52,7 @@ crop <- function(file_list, img_path, crop_method = "regular")
@@ -81,6 +93,7 @@ print("viable cells")
@@ -110,6 +123,7 @@ get_blobs <- function(img_orig, crop_method = "regular"){
@@ -120,12 +134,14 @@ keep_cells <- function(candidate){
@@ -145,7 +161,7 @@ keep_cells <- function(candidate){
@@ -162,6 +178,7 @@ crop_single_object <- function(removed, OOI_final,counter_final,img_orig,img_ori