<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<protocol VERSION="4">
<blocks>
<workflow ID="1773059637" blockType="plugins.adufour.blocks.lang.FolderLoop" className="plugins.adufour.blocks.lang.FolderLoop" collapsed="false" height="465" width="960" xLocation="7" yLocation="4">
<blocks>
<block ID="339323167" blockType="plugins.adufour.blocks.tools.io.FileToSequence" className="plugins.adufour.blocks.tools.io.FileToSequence" xLocation="261" yLocation="59">
<variables>
<input>
<variable ID="input file" name="input file" runtime="false" visible="false"/>
</input>
<output>
<variable ID="sequence" name="sequence" runtime="false" visible="false"/>
</output>
</variables>
</block>
<block ID="1179238558" blockType="plugins.adufour.thresholder.KMeansThresholdBlock" className="plugins.adufour.thresholder.Thresholder" xLocation="20" yLocation="164">
<variables>
<input>
<variable ID="Input" name="Input" runtime="false" visible="false"/>
<variable ID="Channel" name="Channel" runtime="false" value="0" visible="false"/>
<variable ID="Classes" name="Classes" runtime="false" value="2" visible="false"/>
</input>
<output>
<variable ID="thresholds" name="thresholds" runtime="false" visible="false"/>
</output>
</variables>
</block>
<block ID="275642102" blockType="plugins.adufour.thresholder.Thresholder" className="plugins.adufour.thresholder.Thresholder" xLocation="271" yLocation="164">
<variables>
<input>
<variable ID="Input" name="Input" runtime="false" visible="false"/>
<variable ID="Channel" name="Channel" runtime="false" value="0" visible="false"/>
<variable ID="Manual thresholds" name="Manual thresholds" runtime="false" visible="false"/>
<variable ID="Treat as percentiles" name="Treat as percentiles" runtime="false" value="false" visible="false"/>
</input>
<output>
<variable ID="output" name="Binary output" runtime="false" visible="false"/>
<variable ID="ROI" name="ROI" runtime="false" visible="false"/>
</output>
</variables>
</block>
<block ID="540788166" blockType="plugins.adufour.blocks.tools.roi.AddROIToSequence" className="plugins.adufour.blocks.tools.roi.AddROIToSequence" xLocation="605" yLocation="280">
<variables>
<input>
<variable ID="input rois" name="List of ROI" runtime="false" visible="false"/>
<variable ID="target sequence" name="Target sequence" runtime="false" visible="false"/>
<variable ID="replace existing" name="Replace existing ROI" runtime="false" value="true" visible="false"/>
</input>
<output/>
</variables>
</block>
</blocks>
<links>
<link dstBlockID="339323167" dstVarID="input file" srcBlockID="1773059637" srcVarID="file"/>
<link dstBlockID="1179238558" dstVarID="Input" srcBlockID="339323167" srcVarID="sequence"/>
<link dstBlockID="275642102" dstVarID="Input" srcBlockID="1179238558" srcVarID="Input"/>
<link dstBlockID="275642102" dstVarID="Manual thresholds" srcBlockID="1179238558" srcVarID="thresholds"/>
<link dstBlockID="540788166" dstVarID="input rois" srcBlockID="275642102" srcVarID="ROI"/>
<link dstBlockID="540788166" dstVarID="target sequence" srcBlockID="275642102" srcVarID="Input"/>
</links>
<variables>
<input>
<variable ID="folder" blockID="1773059637" visible="false"/>
<variable ID="extension" blockID="1773059637" value="tif" visible="false"/>
<variable ID="339323167:input file" blockID="339323167" visible="false"/>
<variable ID="1179238558:Input" blockID="1179238558" value="No Sequence" visible="false"/>
<variable ID="1179238558:Channel" blockID="1179238558" value="0" visible="false"/>
<variable ID="1179238558:Classes" blockID="1179238558" value="2" visible="false"/>
<variable ID="275642102:Input" blockID="275642102" value="No Sequence" visible="false"/>
<variable ID="275642102:Channel" blockID="275642102" value="0" visible="false"/>
<variable ID="275642102:Manual thresholds" blockID="275642102" value="" visible="false"/>
<variable ID="275642102:Treat as percentiles" blockID="275642102" value="false" visible="false"/>
<variable ID="540788166:input rois" blockID="540788166" value="No ROI" visible="false"/>
<variable ID="540788166:target sequence" blockID="540788166" value="No Sequence" visible="false"/>
<variable ID="540788166:replace existing" blockID="540788166" value="true" visible="false"/>
</input>
<output>
<variable ID="iteration" blockID="1773059637" visible="false"/>
<variable ID="file" blockID="1773059637" visible="false"/>
<variable ID="339323167:sequence" blockID="339323167" visible="false"/>
<variable ID="1179238558:thresholds" blockID="1179238558" visible="false"/>
<variable ID="275642102:output" blockID="275642102" visible="false"/>
<variable ID="275642102:ROI" blockID="275642102" visible="false"/>
</output>
</variables>
</workflow>
</blocks>
<links/>
</protocol>
