Posted by
donny008 on
Apr 08, 2009; 1:57pm
URL: http://imagej.273.s1.nabble.com/boolean-operator-plugin-tp3693045p3693048.html
thankyou ben
sorry that i didnt present the picture completely, i have been trying to
devise a method to integrate or bring a couple of
submenus from imagej into a plugin so that once called upon this plugin does
the processes that i require on the images. for example i need to adjust the
brightness and contrast, make the image smooth, enhance contrast, filters
and so on. having been working on imagej for 5 days i realise that this can
be done on java. at the same time i have no experience with java other than
a basic understading of object oriented languages. i was wondering that
since the things that i require are just submenu which are already available
as options in imagej is there a way to call a set of 5 or more options
together. or do use macros(to the level that i understand macros and plugins
are almost similiar, and plugins once compiled can also appear as a subemenu
in imagej, which is more preferred)
i would be glad to have to some ways to do this in a simple way as i am a
novice with both imagej and java.
thanking you in advance.
regards
donny
On Wed, Apr 8, 2009 at 3:40 PM, Ben Tupper <
[hidden email]> wrote:
> On Apr 8, 2009, at 9:29 AM, Donny George wrote:
>
> hello
>>
>> i have been extensively searching for a plugin with boolean operators eg
>> xor
>> so that can automatically invert my images and i have not been successful
>> to find one. could any of you please be kind enough to show me a pluging
>> for
>> this purpose or are there none ??
>>
>>
>>
> Hi,
>
> Why don't you use the simple built-in command...
>
> IJ.run("Invert");
>
> or the invert method to the ImageProcessor class...
>
> ImageProcessor ip = imp.getProcessor();
> ip.invert();
>
>
> Cheers,
> Ben
>
--
Donny George