Need help or advice ? Come to the Icy club ! - Every other Thursday morning from 9h30 to 12h30 - Francois Jacob Building - Main hall - Pasteur

Point Inside ROI

by tprovoost / Thomas Provoost

Computes if a point is inside an ROI or not.

version 1 (last version):

download to use and modify in Icy. How do I use scripts ? A Problem ? ask the community.
Changelog for this version: initial version

seq = getSequence()
roi = seq.getSelectedROI2D()

if (roi == null) throw "No ROI on the focused Sequence"

if (roi.contains(256, 256)) 
	println("Point is inside the ROI!")
	println("Point is outside the ROI...")

This script has no documentation. A Problem ? ask the community.

Icy script publication Id : W7N3P3