Convert Leica Image File (LIF) into TIFF image using ImageJ (Fiji) batch processing

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ม.ค. 2025

ความคิดเห็น • 8

  • @nrttaye4033
    @nrttaye4033  ปีที่แล้ว +2

    Here is the macro to save the .lif files into tiff files
    dir = getDirectory("");
    fileList = getFileList(dir);
    output_dir = dir + File.separator + "" + File.separator ;
    File.makeDirectory(output_dir)
    ch_nbr = nImages ;
    for ( c = 1 ; c

    • @jacobchen7393
      @jacobchen7393 ปีที่แล้ว

      hi, I used the code you apply to export multiple tiff pictures from lif data, but it had a problem that it could save only one picture although the file have 49 picture, how can i solve that? thanks in advances

    • @jacobchen7393
      @jacobchen7393 ปีที่แล้ว +1

      I solved it, the name of those pictures is the same, so I added 'New_Image_to_Save = New_Image_to_Save + "_" + c;' then it works.

    • @nrttaye4033
      @nrttaye4033  ปีที่แล้ว

      @@jacobchen7393 Great to know you figured it out.

  • @tobiluz
    @tobiluz 10 หลายเดือนก่อน +1

    If I try to use this macro, I get the following error, after I have chosen a folder, where I want to safe the images: FIle saving error (IOException): C:\...
    how can I solve this issue?
    I got a .lif file as input with two different channels and 24 time points per channel. I split channels and timepoints two have no stack anymore

    • @nrttaye4033
      @nrttaye4033  10 หลายเดือนก่อน

      Hello, thanks for reaching out. In the colormode, could you change to "colorized" and select split channels and try running the macro once more. Let me know if that worked

    • @tobiluz
      @tobiluz 9 หลายเดือนก่อน

      @@nrttaye4033Hi, I think I already tried it that way, but it did not work either. Nonetheless I found another more complicated way for my images :)

    • @NathanStutzman
      @NathanStutzman 2 หลายเดือนก่อน

      Also got this order