Hi,

it depends on how the plugin in question was implemented. In a perfect world, 
all algorithm stuff is implemented in a module and to use the same 
functionality, you just have to add this module to your plugin dependencies. 
However, sometimes plugins contain more logic than they should. Anyway, you 
should have a look into the code of the plugin you want to “use/copy” and see 
how much you would need to duplicate and how much you can reuse.

Best,
Stefan

From: Admin Uniapp [mailto:[email protected]]
Sent: Montag, 9. November 2015 11:55
To: Kislinskiy, Stefan
Cc: [email protected]
Subject: Re: [mitk-users] Batch processing images

Dear Stefan,
Thanks for your reply. Ignoring the Cropper plugin for now as a more general 
answer to my question, what would be the best way to access another mitk plugin 
from my custom made view?

- Is there anyway to access for e.g. the <basic image processing> plugin from 
within my plugin and use its methods to redo the same process on the other 
images?
- or should I be thinking about creating a new plugin which extends the current 
<basic image processing> plugin and use that in my application?
Any suggestions?

Many thanks.
Dora

On Fri, Nov 6, 2015 at 11:48 AM, Kislinskiy, Stefan 
<[email protected]<mailto:[email protected]>> wrote:
Hi Dora,

it might not help you now but in a few weeks:

One of my coworkers is currently rewriting the Image Cropper plugin completely 
from scratch, as - to be honest - it is in pretty bad shape at the moment. :) 
It will be possible to use the same cropping volume for multiple images then. 
Even if you need a solution right now, consider to ignore the current Image 
Cropper plugin, as you would have to adapt your code in near future.

Best,
Stefan
________________________________________
Von: Admin Uniapp [[email protected]<mailto:[email protected]>]
Gesendet: Donnerstag, 5. November 2015 19:14
An: [email protected]<mailto:[email protected]>
Betreff: [mitk-users] Batch processing images

Hi all,

I have created a plugin for a flow of work that will be done by the user. One 
of the steps in this flow of work is about cropping and resampling images. I am 
aware of mitk basicImageProcessing and the cropper plugins but they both work 
on single images. If I have a set of images that need to be processed in the 
same manner what would be the best way to do it?

- Is there anyway to access for e.g. the cropper plugin from within my plugin 
and use its methods to redo the same process on the other images?
- or should I be thinking about creating a new plugin which extends the current 
cropper plugin and use that in my application?

Many thanks in advance
Dora

------------------------------------------------------------------------------
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a 
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to