Skip to content

Commit

Permalink
fixes #45
Browse files Browse the repository at this point in the history
  • Loading branch information
lacan committed May 16, 2024
1 parent ce9e3ee commit 3290117
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
package scripts
/* Last tested on QuPath-0.3.2
/* Last tested on QuPath-0.5.1
*
* This scripts requires qupath-extension-cellpose
* cf https://github.com/BIOP/qupath-extension-cellpose
Expand Down Expand Up @@ -27,15 +26,13 @@ def cellpose_cyto = Cellpose2D.builder( pathModel_cyto )
.diameter(30) // Median object diameter. Set to 0.0 for the `bact_omni` model or for automatic computation
.measureShape() // Add shape measurements
.measureIntensity() // Add cell measurements (in all compartments)
.useGPU()
.build()

def pathModel_nuc = 'cyto2'
def cellpose_nuc = Cellpose2D.builder( pathModel_nuc )
.channels("DAPI")
.pixelSize( 0.3 ) // Resolution for detection
.diameter(10) // Median object diameter. Set to 0.0 for the `bact_omni` model or for automatic computation
.useGPU()
.build()

// Run detection for the selected pathObjects and store resulting detections
Expand Down

0 comments on commit 3290117

Please sign in to comment.