Make Binary, Analyze Particles (different results on different systems)

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

Make Binary, Analyze Particles (different results on different systems)

Rainer M. Engel
I'm afraid I got lost again. This time not the Smaland of IKEA(TM) ;-)

I got different results when converting a mask to binary. On one system
it gets inverted (inverting LUT) on the other it stays the same.

On one system I can run "Analyze Particles" and get one element in
canvas middle, on the other the whole canvas is detected.

I read about the "Black background" Option of the Binary menu.
Process > Binary > Options and remembered having heard of that before.
And since I wrote this mail to get help in the first place, I intend to
send it right away. Maybe you forget to remember of having heard of it
either.


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: Make Binary, Analyze Particles (different results on different systems)

Gabriel Landini
On Monday 05 Aug 2013 10:46:28 you wrote:

> I got different results when converting a mask to binary. On one system
> it gets inverted (inverting LUT) on the other it stays the same.
>
> On one system I can run "Analyze Particles" and get one element in
> canvas middle, on the other the whole canvas is detected.
>
> I read about the "Black background" Option of the Binary menu.
> Process > Binary > Options and remembered having heard of that before.
> And since I wrote this mail to get help in the first place, I intend to
> send it right away.

Most likely you have a different setting in the 2 installed systems.

I put these 2 lines (and some other defaults) in the AutoRun macro of the
StartupMacros.txt file to make sure that I have the same in all the installs.
 
run("Colors...", "foreground=white background=black selection=yellow");
run("Options...", "iterations=1 black pad edm=Overwrite count=1");

This makes IJ to consider foreground as white (255) and background as black
(0).
Also if you start with a file that has an inverted LUT to start with, the
results might not be what you expect.

Make Binary and Convert to Mask can do different things depending on the
settings of Make Binary.

Cheers

Gabriel

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

Re: Make Binary, Analyze Particles (different results on different systems)

Rainer M. Engel
Am 05.08.2013 12:17, schrieb Gabriel Landini:

> On Monday 05 Aug 2013 10:46:28 you wrote:
>> I got different results when converting a mask to binary. On one system
>> it gets inverted (inverting LUT) on the other it stays the same.
>>
>> On one system I can run "Analyze Particles" and get one element in
>> canvas middle, on the other the whole canvas is detected.
>>
>> I read about the "Black background" Option of the Binary menu.
>> Process > Binary > Options and remembered having heard of that before.
>> And since I wrote this mail to get help in the first place, I intend to
>> send it right away.
>
> Most likely you have a different setting in the 2 installed systems.
>
> I put these 2 lines (and some other defaults) in the AutoRun macro of the
> StartupMacros.txt file to make sure that I have the same in all the installs.
>  
> run("Colors...", "foreground=white background=black selection=yellow");
> run("Options...", "iterations=1 black pad edm=Overwrite count=1");
>
> This makes IJ to consider foreground as white (255) and background as black
> (0).
> Also if you start with a file that has an inverted LUT to start with, the
> results might not be what you expect.
>
> Make Binary and Convert to Mask can do different things depending on the
> settings of Make Binary.
>
> Cheers
>
> Gabriel
>


Thank you Gabriel.. that completed it and helped.

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