image pixel value multiplication with constant using customized multiplier function
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I loaded 4D image.tif (x,y,z over time/16bit gray scale) through Image J in Matlab.
- I'd like to change pixels using function and show reconstructed image.
For example, I have 512(x)*512(y)*5(z)*5(time) image and change to their each value of pixel using function. "Reconstructed pixel intensity(y)=Initial pixel intensity(x)*exp(0.5/t)" Then, it should show reconstructed image 512(x)*512(y)*5(z)*5(time).
Simple question but it's complicated for me.
What can I do for that?
You can find the example image the following link.
https://drive.google.com/file/d/1l7iEe8BZV3I5U2tqIoA2QtZEj_mbO5aH/view?usp=sharing
ImageJ
imp = ij.IJ.openImage('image path');
imp.show();
IJM.getDatasetAs('I');
[x y t]=size(I);
class(I);
newimage = zeros(size(I));
2 Kommentare
Image Analyst
am 19 Mai 2019
I don't understand. You don't have 3-D RGB images but you have 5-D images? Are your 5 Z indexes planes/slices in a 3-D volumetric image, like from CT or MRI? I understand having 5 t, or time point, images, but don't understand you have 5 indexes/slices/planes. Please explain.
Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!