Re: Very basic question
Posted by
Joris FA Meys on
URL: http://imagej.273.s1.nabble.com/Very-basic-question-tp3693744p3693745.html
That depends. A plugin and a pluginfilter do have some specific methods
(although technically spoken, I believe pluginfilter is actually a subclass
of plugin).
They differ especially in the input they take. The main method of a
pluginfilter takes the current imageprocessor as an argument, whereas a
plugin takes only strings. Generally, you can use both to do the same,
albeit implemented in a slightly different way. The choice depends mainly on
how you want to process (i.e. whether or not you want only to do an
operation on the current image or stack).
A short but good tutorial by Werner Bailer can be found at :
http://www.imagingbook.com/fileadmin/goodies/ijtutorial/tutorial171.pdfKind regards
On Wed, Feb 11, 2009 at 7:00 PM, cihat eldeniz <
[hidden email]>wrote:
> Hello,
>
> What is the actual difference between PlugIn and PlugInFilter? It seems to
> me that I can implement every kind of operations using PlugIn. If you were
> to process images, would you prefer one over the other?
>
> Thanks.
>