Login  Register

Adding threshold range into final image name

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

Adding threshold range into final image name

Bertrand Vernay
9 posts
Dear all

 

I have written a macro to threshold an image and then to do some
measurements. The threshold range is selected by the user using a dialog
function. The macro also saves the thresholded image as binary.

I'd like to know how to add the threshold range value (Min-Max) into the
final binary image name  : name-50-240.tif for example ?

 

Thank you

 

Bertrand

--
Dr Bertrand Vernay
Microscopy Senior Research Associate
Developmental Biology Unit
UCL Institute of Child Health
30 Guilford Street
London WC1N 1EH, UK
 
Tel :  (+44)  020 7905 2224 (direct line)
       (+44)  020 7242 9789 (ICH switchboard)
 
Fax:    (+44)  020 7831 4366
 
E-mail:
<https://webmail.ich.ucl.ac.uk/src/compose.php?send_to=b.vernay%40ich.ucl.ac
.uk> [hidden email]
 
 
<http://www.ich.ucl.ac.uk/services_and_facilities/lab_services/confocal_micr
oscopy_core_facility/index.html>
http://www.ich.ucl.ac.uk/services_and_facilities/lab_services/confocal_micro
scopy_core_facility/index.html

 
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Adding threshold range into final image name

Jeanine Hinterneder
5 posts
Bertrand... would you mind sharing that Macro with me?
I'm still new to the Macro writing and am mostly just adding to ones
that are in the examples folder.
I would love to be able to know how to create a dialog box to select the
threshold range manually for each image!
Thanks,
Jeanine Hinterneder
Post Doc
Brandeis University Neuroscience Dept

Bertrand Vernay wrote:

> Dear all
>
>  
>
> I have written a macro to threshold an image and then to do some
> measurements. The threshold range is selected by the user using a dialog
> function. The macro also saves the thresholded image as binary.
>
> I'd like to know how to add the threshold range value (Min-Max) into the
> final binary image name  : name-50-240.tif for example ?
>
>  
>
> Thank you
>
>  
>
> Bertrand
>
>