Skip to content

Commit

Permalink
Update overview.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
petebankhead committed Apr 18, 2020
1 parent 9bd5c12 commit 9d50ec3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/scripting/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ Previously, you had to do some awkward gymnastics to convert a ``ROI`` into a ``
Here's a script applying this to pull out a region from an RGB image for a selected ROI, and show that region in ImageJ along with a new binary mask:

.. code-block:: groovy
import qupath.lib.regions.*
import ij.*
import java.awt.Color
Expand All @@ -387,6 +388,7 @@ Here's a script applying this to pull out a region from an RGB image for a selec
g2d.dispose()
new ImagePlus("Mask", imgMask).show()
The mask is generated using Java's built-in rendering of Shapes.

Working with ImageJ
Expand Down

0 comments on commit 9d50ec3

Please sign in to comment.