Login  Register

TrakEM2 Applying Clahe

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

TrakEM2 Applying Clahe

Ashwin
Hi,

I am trying to enhance the contrast of some images in TrakEM2 using Clahe. For this I wrote a clahe.bsh file that I call using Script--> Set preprocessor...Although the mipmaps regenerate at the end of the process, the images are no different from before. The terminal indicates that it was unable to find the mipmap file. I am not sure why this is happening. TrakEM is able to display the images, hence the mipmaps should be there, no reason not to find them?

Any clues?

Thanks,
Ashwin

clahe.bsh

import ij.IJ;
IJ.run(imp, "Enhance Local Contrast (CLAHE)", "blocksize=127"
   + " histogram=256 maximum=3 mask=*None* fast_(less_accurate)");


Treminal log;

mipmaps for Tile_r4-c5_W002_sec27.tif z=1.0 #283
File not found: /data/Talmo/Zfish/W002/TrakEM/trakem2.1370541768671.1103624628.938645478/trakem2.mipmaps/5/27/9.Tile_r2-c4_W002_sec27.tif.rag
File not found: /data/Talmo/Zfish/W002/TrakEM/trakem2.1370541768671.1103624628.938645478/trakem2.mipmaps/5/28/3.Tile_r4-c5_W002_sec27.tif.rag
MipMaps with area downsampling: creation took 90ms, saving took 118ms, total: 208ms