Login  Register

Re: image - convert does not do anything

Posted by vbindokas on Oct 14, 2020; 1:31pm
URL: http://imagej.273.s1.nabble.com/image-convert-does-not-do-anything-tp5024047p5024051.html

Hi Timo,

The IMAGE/Type/8-bit menu item in itself performs the conversion to
8-bit.  You might want to uncheck the EDIT/Options/Conversions default
of "scale when converting" if you need to preserve the data range (else
it will scale the results to fit your requested range).

You can record the steps using the macro recorder and just run the
script as needed.

open();
run("Conversions...", " ");
run("8-bit");

Hope that clears things up.



On 10/14/2020 8:14 AM, Timo Pietilä wrote:

> No, there is just plain convert at the four bottom items at image
> -menu. That's the one she tried to use and which gives that error. I
> can replicate the error in my own work machine.
>
> I'm at home now, so can't remember what the other three were, however
> none of those are documented in documentation.
>
> In fact that menu is quite a bit longer than the one described in
> documentation. More than four items are missing from there.
>
> When I get to work machine I can post what it looks like in my machine.
>
> Timo Pietilä
>
> On 14.10.2020 12.37, Herbie wrote:
>> Suggestion:
>>
>> Perhaps your client uses the ImageJ-menu command:
>>
>> Process >> Batch >> Convert...
>>
>> that is described in the ImageJ user-guide (subsection
>> "29.12.2 Convert…"):
>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__imagej.nih.gov_ij_docs_guide_146-2D29.html-23toc-2DSubsection-2D29.12&d=DwIDaQ&c=Nd1gv_ZWYNIRyZYZmXb18oVfc3lTqv2smA_esABG70U&r=pD-sSh_e9cMzytxHgN9Gfakl4sCheZunFOz7i3o-Ewk&m=zdqanvIPyTaCqonXBcO_-jlhlkBKAPUkeBPY6DRF5uo&s=EUgf4nj7jdM89ScI31aeE7uhVX6FaHVEzQ5AoWs5Aq8&e=>
>>
>>
>> Regards
>>
>> Herbie
>>
>> ::::::::::::::::::::::::::::::::::::::::::
>> Am 14.10.20 um 06:48 schrieb Timo Pietilä:
>>> Hello everyone.
>>>
>>> I'm not actual ImageJ user but IT support and I have a client that
>>> is trying to convert one image to another form using fiji imageJ,
>>> and process should be as easy as
>>>
>>> file - open,
>>> image - type - 8-bit,
>>> image -convert.
>>>
>>> However result is "A ImgPlus is required but none exist"
>>>
>>> According to her everything worked just about two months ago.
>>>
>>> I have hard time finding what that "convert" even should be doing,
>>> it isn't in documentation, no youtube tutorials even have it in that
>>> menu so I really don't have any clue how to debug this problem.
>>>
>>> I'm basically giving myself a real crash course of ImageJ at this
>>> point.
>>>
>>> Any ideas, clue,s anything?
>>>
>>> Timo Pietilä
>>>
>>> --
>>> ImageJ mailing list:
>>> https://urldefense.proofpoint.com/v2/url?u=http-3A__imagej.nih.gov_ij_list.html&d=DwIDaQ&c=Nd1gv_ZWYNIRyZYZmXb18oVfc3lTqv2smA_esABG70U&r=pD-sSh_e9cMzytxHgN9Gfakl4sCheZunFOz7i3o-Ewk&m=zdqanvIPyTaCqonXBcO_-jlhlkBKAPUkeBPY6DRF5uo&s=h0xXJqoMNz7f-UaosEmMw9m3Fp3af5DztZkx53NjVlo&e=
>>
>
> --
> ImageJ mailing list:
> https://urldefense.proofpoint.com/v2/url?u=http-3A__imagej.nih.gov_ij_list.html&d=DwIDaQ&c=Nd1gv_ZWYNIRyZYZmXb18oVfc3lTqv2smA_esABG70U&r=pD-sSh_e9cMzytxHgN9Gfakl4sCheZunFOz7i3o-Ewk&m=zdqanvIPyTaCqonXBcO_-jlhlkBKAPUkeBPY6DRF5uo&s=h0xXJqoMNz7f-UaosEmMw9m3Fp3af5DztZkx53NjVlo&e=

--
     __

     Vytas Bindokas, M.S., Ph.D.
     Research Assoc. Prof.,
     Director, BSD Light Microscopy Core Facility
     phone: 773-702-4875 [alt's: 773-834-9040 or 773-834-2639]

          [address for letters ONLY (see shipping addr below):]
     Dept Pharmacol Physiol Sci MC0926
     947 E 58th Street
     The University of Chicago
     Chicago IL 60637
     Room Abbott 129


     shipping address (main KCBD site):
     V. Bindokas
     900 E 57th Street
     KCBD room 1250, Microscopy Core
     The University of Chicago
     Chicago IL 60637


     email [hidden email]
     web site for LMCF:
     http://digital.uchicago.edu

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