Friday, December 13, 2013

How to add slide numbers in a Microsoft Powerpoint slide

This is not a scientific computing issue ... but it took me a while till I found a decent explanation about how to do that ....

http://blogs.mccombs.utexas.edu/the-most/2012/06/04/when-the-slide-number-doesnt-show-in-powerpoint/

Friday, July 19, 2013

Wednesday, July 10, 2013

Define a ROI by coordinates and size in ImageJ

Problem: I need to create a ROI in a very large 3D image (4020 x 4020 x 880) by ImageJ. The use of the mouse pointer is not so handy because it's not easy to locate the top-left vertex of the ROI at the exact wanted voxel location, due to the large size of the image.

Solution: Edit/Selection/Specify opens a plugin that allows defining manually the coordinates of the top-left vertex of the ROI, its height, width and on which slice to show you (if you are working with a stack of 2D images).

Friday, April 12, 2013

Change the format for displaying numbers in Matlab's workspace

By default, Matlab shows in its workspace and at the command line numbers in a format that may not be suitable in all cases, e.g., when you have a large number of decimal digits.
The format of the number display can be changed by the built-in command

format Style

where Style indicates different formats.
See the Help page of the format built-in command for its syntax and the list of possible formats.

Import data into Matlab from an ASCII text file

A quick intro about the different built-in functions available in Matlab for importing data from an ASCII text file can be found at

http://www.mathworks.ch/ch/help/matlab/import_export/ways-to-import-text-files.html

The importdata function is particularly useful.

Wednesday, February 27, 2013

Running multiple instances of ImageJ

Multiple instances of ImageJ cannot be run, by default.
Try to double click on the ImageJ icon multiple times, after an instance of it is already opened, and the control will return to the already open instance.
To start multiple instances of ImageJ you need to
  1. change a default option that allows to run a single instance listener only; you can do that under Edit -> Options -> Misc ..., where you can uncheck the box close to Run single instance listener;
  2. start ImageJ by the command line with the option --allow-multiple, e.g., $ ImageJ-linux64 --allow-multiple