Thickness scale bars

31 views
Skip to first unread message

Sammarco, Mimi C

unread,
May 25, 2012, 9:23:57 AM5/25/12
to BoneJ Users and Developers
Hi Michael,

We are currently using the Thickness function to generate 3D maps of a sample over time.  It appears that the scale bars are generated to reflect only the 3D image currently being viewed, and while this can be circumvented by opening many samples via import in the same stack the resolution seems to be compromised the more samples are included (we tried 13 and the pixel resolution isn't great).

Is there a way to define max and min thickness for the scale bar for each sample such that we could generate scale bars that are consistent across the samples?  I see on the histogram that there is a way to do it, but it merely shifts the data points away from the new max and min rather than adjusting the color assignments to the new max and min.

Thanks,
Mimi





Michael Doube

unread,
Jun 1, 2012, 10:37:02 AM6/1/12
to bonej-users-a...@googlegroups.com
Hi Mimi
 

Is there a way to define max and min thickness for the scale bar for each sample such that we could generate scale bars that are consistent across the samples?

Yes - find the global min and max, then for all the images run this small macro:

setMinAndMax(min, max);

Unfortunately, I didn't find an easy way to automate this with the macro language.

That will scale the LUT to the same min and max value in each image. Provided that you use a scale bar with min and max the same as the same global min and max value, it will represent the same thickness by the same colour in each image.

Michael
 
Reply all
Reply to author
Forward
0 new messages