Scaled Colormap Tiff Export

조회 수: 8 (최근 30일)
Ben Mc Larney
Ben Mc Larney 2017년 11월 17일
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!

답변 (0개)

카테고리

Help CenterFile Exchange에서 Color and Styling에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by