title: How can we use ImageJ application with Python 3.7 for for automating Image processing...?
body: <p>I'm trying to open and give commands to 'imageJ' image-processing tool from python3.7 with the OS and subprocess modules. I'm only able to open the 'imageJ' application but unable to give any further commands like &quot;Import-Image sequence, process-enhance contrast, etc.&quot; to it. Actually I need to automate the image processing to a large number of Image stacks. will be really helpful if someone can give provide something related to this.</p>
  <p>I'm using this</p>
  <pre><code>from os import*               
  import subprocess as sp  
  startfile(&quot;E:\ImageJ\ImageJ.exe&quot;)  
  sp.call(Image Sequence...,&quot;open=i:\\imajeJ_test\\TR44_3mps_T1_TSR04_C1_10i - Copy\\150_3.26C1_0001.tif file=C1 sort&quot;);
  </code></pre>
  <p>Thank you.</p>