Need Assistance Automating operation
Hi all,
I would like to create a macro to run an operation on all the images that are opened. The process that I am interested in running is:
ret = IpOpShow(1)
ret = IpOpImageArithmetics (1, 0.0, OPA_AVG+IMC_C_DIRECT,0)
But I would like to do this for every combination of image opened. Currently, the operation methods only allows this for 2 images at a time, not for multiple images.
Any help will be greatly appreciated!
Thanks
I would like to create a macro to run an operation on all the images that are opened. The process that I am interested in running is:
ret = IpOpShow(1)
ret = IpOpImageArithmetics (1, 0.0, OPA_AVG+IMC_C_DIRECT,0)
But I would like to do this for every combination of image opened. Currently, the operation methods only allows this for 2 images at a time, not for multiple images.
Any help will be greatly appreciated!
Thanks
0
Answers
-
When I tried to combine 3 different images using record macro, I got the following:
ret = IpOpShow(1)
ret = IpOpImageArithmetics (1, 0.0, OPA_AVG+IMC_C_DIRECT,0)
ret = IpAppSelectDoc(0)
ret = IpOpImageArithmetics (3, 0.0, OPA_AVG+IMC_C_DIRECT,0)
However, I'd like the macro to combine all images, however many are opened.0 -
You can load multiple images as a Sequence by selecting all of them in the Open file dialog with "Open as Sequence" option active. Then use the Average menu item from the Sequence menu to create the average.
Yuri
0
Categories
- All Categories
- 961 Image-Pro v9 and higher
- 9 Image-Pro FAQs
- 18 Image-Pro Download & Install
- 448 Image-Pro General Discussions
- 486 Image-Pro Automation (Macros, Apps, Reports)
- 20 AutoQuant Deconvolution
- 2 AutoQuant Download & Install
- 18 AutoQuant General Discussions
- 195 Image-Pro Plus v7 and lower
- 3 Image-Pro Plus Download & Install
- 106 Image-Pro Plus General Discussions
- 86 Image-Pro Plus Automation with Macros
- 19 Legacy Products
- 16 Image-Pro Premier 3D General Discussions
- 26 Image-Pro Insight General Discussions