beyond boolean operations

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

beyond boolean operations

Rainer M. Engel
Dear list-members,

I'm not sure if there is already an option, plugin or function for
something like this.

What I intend to do is shown in this image, marked with a question mark.
https://dl.dropboxusercontent.com/u/414433/imagej/beyond-boolean.png

This won't be to hard to create but maybe there are already shape based
boolean operations available somehow?

Any thoughts are welcome. Thanks in advance.

Best Regards,
Rainer



--
Rainer M. Engel, Dipl. Digital Artist
scientific|Media GbR
Pichelsdorfer Str. 143
13595 Berlin

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: beyond boolean operations

Gabriel Landini
On Tuesday 28 May 2013 13:42:37 you wrote:
> I'm not sure if there is already an option, plugin or function for
> something like this.
>
> What I intend to do is shown in this image, marked with a question mark.
> https://dl.dropboxusercontent.com/u/414433/imagej/beyond-boolean.png
>
> This won't be to hard to create but maybe there are already shape based
> boolean operations available somehow?

That is not one of the common logical operations (IMP, EQV, NOR, etc), but
could be written as:
 
 a AND reconstruct (b,a)

were "reconstruct" is a mathematical morphology operator called  "binary
reconstruction". That is a reconstruction of "b" (the mask) using "a" (the
seed). Then, union the result with "a" again (with the AND).

There is a binary reconstruction plugin in the Morphology collection (from my
plugins page).

Cheers

Gabriel

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: beyond boolean operations

Rainer M. Engel
Hey Gabriel,

that seems to be exactly what I was looking for AND I'm IMPressed of
your heavy filled website again. I'll definitely follow your hints and
also the "Hysteresis.txt"-Macro sounds very interesting..

Just to leave nothing out (your site):
http://www.dentistry.bham.ac.uk/landinig/software/software.html


Best regards,
Rainer


Am 28.05.2013 15:40, schrieb Gabriel Landini:

> On Tuesday 28 May 2013 13:42:37 you wrote:
>> I'm not sure if there is already an option, plugin or function for
>> something like this.
>>
>> What I intend to do is shown in this image, marked with a question mark.
>> https://dl.dropboxusercontent.com/u/414433/imagej/beyond-boolean.png
>>
>> This won't be to hard to create but maybe there are already shape based
>> boolean operations available somehow?
>
> That is not one of the common logical operations (IMP, EQV, NOR, etc), but
> could be written as:
>  
>  a AND reconstruct (b,a)
>
> were "reconstruct" is a mathematical morphology operator called  "binary
> reconstruction". That is a reconstruction of "b" (the mask) using "a" (the
> seed). Then, union the result with "a" again (with the AND).
>
> There is a binary reconstruction plugin in the Morphology collection (from my
> plugins page).
>
> Cheers
>
> Gabriel
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: beyond boolean operations

gankaku
In reply to this post by Rainer M. Engel
Dear Rainer,

A function which does kind of what you were looking for is the "Binary Feature Extractor" from this toolbox: http://www.biovoxxel.de/macros.html (also available as Fiji update site). Suggestions are also welcome.

Your question brought me to the idesa to include this in addition. For now the marco extracts features which overlap with a selector. Simply readding the selector wit a boolean OR function will lead to the result you are looking for. I'll try to include that today or tomorrow.

Kind regards,
Jan

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html