find_beads 0.9.1-java → 0.9.2-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26,7 +26,7 @@
26
26
 
27
27
  module FindBeads
28
28
 
29
- VERSION = '0.9.1'
29
+ VERSION = '0.9.2'
30
30
 
31
31
  end
32
32
 
data/lib/find_beads.rb CHANGED
@@ -30,16 +30,15 @@ require 'rimageanalysistools/image_shortcuts'
30
30
  require 'rimageanalysistools/create_parameters'
31
31
  require 'rimageanalysistools/graythresh'
32
32
 
33
- require 'edu/stanford/cfuller/imageanalysistools/resources/common_methods'
34
-
35
33
  require 'trollop'
36
34
 
35
+ java_import Java::edu.stanford.cfuller.imageanalysistools.image.ImageFactory
36
+
37
37
  ##
38
38
  # Functions for segmenting and quantifying beads.
39
39
  #
40
40
  module FindBeads
41
41
 
42
- include IATScripting
43
42
 
44
43
  java_import Java::edu.stanford.cfuller.imageanalysistools.image.ImageCoordinate
45
44
  java_import Java::edu.stanford.cfuller.imageanalysistools.image.ImageSet
@@ -292,7 +291,7 @@ module FindBeads
292
291
 
293
292
  p = RImageAnalysisTools.create_parameter_dictionary(min_size: min_size, max_size: max_size)
294
293
 
295
- im_cp = writable_image_copy(to_seg)
294
+ im_cp = ImageFactory.create_writable(to_seg)
296
295
 
297
296
  mstf = MaximumSeparabilityThresholdingFilter.new
298
297
 
@@ -322,7 +321,7 @@ module FindBeads
322
321
 
323
322
  cens = centroids(to_seg)
324
323
 
325
- final_mask = writable_image_copy(to_seg)
324
+ final_mask = ImageFactory.create_writable(to_seg)
326
325
 
327
326
  radius = rad
328
327
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: find_beads
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  prerelease:
6
6
  platform: java
7
7
  authors: