Scaled Colormap Tiff Export

9 views (last 30 days)
Ben Mc Larney
Ben Mc Larney on 17 Nov 2017
Hi there,
So I have a 3D matrix (x,y,z) with varying signal intensity across the matrix. The matrix has been normalised (all values are now between 0 & 1). I have code that takes a single slice z slice from the matrix and exports a tiff file with a colormap.
Even though the signal intensity changes across the matrix, the slices where signal is weak look the same as the high intensity slices. This is due to the way imwrite applies the colormap. Currently I manually a defined point outside the region of interest with a value of 1 and this fixes the problem but isn't that elegant a solution. Does anyone have any experience with this and is there a way to scale the colormap like you can with caxis during tiff export?
Thanks!

Answers (0)

Categories

Find more on Color and Styling in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!