Help with Dynamic Range Please

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Help with Dynamic Range Please

Bart Zoltan
Folks -
 
I have some industrial x-ray images (14-bit in DICOM format) where my object of interest has relatively low contrast.
 
I include two reference items in the image. The pixel value (density) of the references (low and high) always include the range of the pixel values of my region of interest.
 
I would like to calculate a new image where the low reference has a value of zero (0) and the high reference has a value of  16384 (14 bit image), with my region of interest always falling between these values.
 
This is similar to the "Enhance Contrast" function, but not quite the same.
 
Any help would be gratefully appreciated.
 
 
Cheers,
 
 
Bart
 
Bart J. Zoltan
Principal Research Engineer
BioMedical Engineering
Wyeth Research
401 North Middletown Road
Pearl River, NY  10965
845 602 3172 phone
845 602 5581 fax
[hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Help with Dynamic Range Please

Gluender
Why not use
        Adjust > B&C > Set
or the corresponding macro-function
        setMinAndMax()
?

Both are described in the IJ-manuals!

>Folks -
>
>I have some industrial x-ray images (14-bit in DICOM format) where
>my object of interest has relatively low contrast.
>
>I include two reference items in the image. The pixel value
>(density) of the references (low and high) always include the range
>of the pixel values of my region of interest.
>
>I would like to calculate a new image where the low reference has a
>value of zero (0) and the high reference has a value of  16384 (14
>bit image), with my region of interest always falling between these
>values.
>
>This is similar to the "Enhance Contrast" function, but not quite the same.
>
>Any help would be gratefully appreciated.
>
>  Cheers,
>
>  Bart

HTH

Herb
Reply | Threaded
Open this post in threaded view
|

Re: Help with Dynamic Range Please

Albert Cardona
In reply to this post by Bart Zoltan
Bart,

ImageJ mailing list strips attachments. Just paste a link to a server
where such attachments have been uploaded to.

Alas, what you want to do sounds like a "set min and max" in the Image -
Adjust - Brightness and Contrast dialog.

Albert

--
Albert Cardona
http://www.mcdb.ucla.edu/Research/Hartenstein/acardona
Reply | Threaded
Open this post in threaded view
|

Re: Help with Dynamic Range Please

Bruno
In reply to this post by Bart Zoltan
Hi,

You can do this with subtract & multiply.
Assum 'low' and 'high' values as range.
Just do Process> Math > subtract 'low'
next Process> Math > muliply ('high' - 'low').
and Process> Math > max 16383

You end up with an image with pixel value ranging form 0-16383.