Convert to Binary

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

Convert to Binary

Adrián Villalba
Dear all,

When i apply a threshold to an imagej, it is converted automatically to an
inverted LUT. I can apply some binary processes (such as file holes,
dilate) but when i try to apply watershed to segment, imagej replies me
that it only can be applied to binary images.

Do you know how can i convert it?

Thank you in advance

--

   - Adrián Villalba Felipe.
   https://es.linkedin.com/in/adrianvillalba





<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Libre
de virus. www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

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

Re: Convert to Binary

Wayne Rasband-2
> On Apr 18, 2017, at 9:26 AM, Adrián Villalba <[hidden email]> wrote:
>
> Dear all,
>
> When i apply a threshold to an imagej, it is converted automatically to an
> inverted LUT. I can apply some binary processes (such as file holes,
> dilate) but when i try to apply watershed to segment, imagej replies me
> that it only can be applied to binary images.
>
> Do you know how can i convert it?

Please provide a small macro that reproduces the problem. You can create the macro using the recorder (Plugins>Macros>Record). Use one of the images in File>Open Samples (e.g. Blobs) as a test image.

-wayne

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