Code behind ROI -> Fill Operation -> Interior

28 views
Skip to first unread message

Tamlyn Peel

unread,
Oct 26, 2017, 12:57:07 PM10/26/17
to Icy imaging
Hi,

Really basic question - just unable to find the code behind the tab command Region of Interest -> Fill Operation -> Fill interior and/or the protocol block 'Fill Inner Sequence'. Could someone point me in the right direction / function to use? Googling the Icy site isn't getting the answer!

In Javascript I want to blank out a section of the sequence (identified manually by a tweaked ROI3DStackPolygon as a region of noise / second harmonics) before running HKmeans, as I get a different / better result if I do all this manually but am automating analysis. Any better ideas also welcome!

Cheers

Tamlyn

Stephane

unread,
Oct 27, 2017, 4:09:02 AM10/27/17
to icy-so...@googlegroups.com
Hi Tamlyn,

Here's the code you need, and indeed except by looking the implementation directly in Icy you can spent a bit of time finding it :
DataIteratorUtil.set(new SequenceDataIterator(sequence, roi), value);

This function takes a DataIterator as input and will set it with the given value.
Hope that helps :)

- Stephane

Tamlyn Peel

unread,
Oct 27, 2017, 9:44:30 AM10/27/17
to Icy imaging
Great, thanks!
Reply all
Reply to author
Forward
0 new messages