MATLAB is randomly having trouble tiling images obtained by IFC. I’m using the script uploaded to your website and haven’t made changes to it. I’m running the script found in the folder “MATLAB_tiling_without_GUI” in windows 10 and MATLAB 2018a. It works fine in most cases. But about 3/10 samples I get the following error…
log4j:WARN No appenders could be found for logger (loci.formats.ClassList).
log4j:WARN Please initialize the log4j system properly.
Exporting file ./9407_GC_C_TIFF_MONTAGES/Ch1_CP0001.tif…
Index in position 2 exceeds array bounds (must not exceed 6).
Error in cif_image_tiling>scale (line 135)
sample = double(reshape(image_raw(1:10,1:10),100,1));
Error in cif_image_tiling>make_montages (line 83)
Ch_IM = scale(get_image(reader, total_cell_count, channel_number), image_size);
Error in cif_image_tiling (line 57)
make_montages(reader, number_of_cells, number_of_channels, image_size, grid_size, output_dir);
I’ve found that changing the number of cells within the gated population exported will fix the issue in most cases, but not all. Any help would be appreciated. Thanks.