Options

multiple image opener operator doesn't work

shaminishamini Member Posts: 2 Contributor I
edited November 2018 in Help
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="5.3.005">
  <context>
    <input/>
    <output/>
    <macros/>
  </context>
  <operator activated="true" class="process" compatibility="5.3.005" expanded="true" name="Process">
    <process expanded="true">
      <operator activated="true" class="imageprocessing:multiple_color_image_opener" compatibility="1.4.001" expanded="true" height="60" name="MCIO" width="90" x="45" y="30">
        <list key="images">
          <parameter key="imageconvert" value="D:\non-photos\research progress\spam image"/>
        </list>
        <process expanded="true">
          <operator activated="true" class="imageprocessing:color_to_grayscale" compatibility="1.4.001" expanded="true" height="60" name="Color to grayscale" width="90" x="45" y="30"/>
          <operator activated="true" class="imageprocessing:write_image" compatibility="1.4.001" expanded="true" height="60" name="Write Image to File" width="90" x="179" y="30">
            <parameter key="type" value="Use original name"/>
            <parameter key="type_of_ext" value=".jpg"/>
            <parameter key="directory" value="C:\Documents and Settings\SHAMINI\Desktop\gray image"/>
          </operator>
          <connect from_port="color image plus" to_op="Color to grayscale" to_port="color image plus"/>
          <connect from_op="Color to grayscale" from_port="grayscale image" to_op="Write Image to File" to_port="image plus"/>
          <connect from_op="Write Image to File" from_port="image plus" to_port="Example set"/>
          <portSpacing port="source_color image plus" spacing="0"/>
          <portSpacing port="sink_Example set" spacing="0"/>
        </process>
      </operator>
      <connect from_op="MCIO" from_port="example set" to_port="result 1"/>
      <portSpacing port="source_input 1" spacing="0"/>
      <portSpacing port="sink_result 1" spacing="0"/>
      <portSpacing port="sink_result 2" spacing="0"/>
    </process>
  </operator>
</process>

this is my process, in which i want to open multiple color images and convert it into grayscale
and then write it into separate files ..
please help .
Sign In or Register to comment.