Create Mask source file

Tags: #<Tag:0x00007fb87d7112f8>


Hi to all,

I am looking for the source code of:“Create Mask”, “”);

i.e. setting the 2 thresholds is ok but transforming the original image (8 bits) to obtain a new image composed of 0’s ans 255’s pixels.

Thanks for hints and answers



Hi @Alan,

The search in FIji is super helpful for stuff like this:

Clicking on the “Source” button will take you to ij.plugin.Selection

I think this part:

does what you want.



Actually, following the above, this is probably more immediately useful to you.


Hi John,
Thanks for your help.