How to adjust contrast of a figure with 3 subplots simultaneously?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I used the following codes to generate a figure with 3 subplots:
h = figure;
subplot(1, 3, 1); imagesc(dicom_data(:,:,1)); title('1st Image'); axis image off; colormap gray;
subplot(1, 3, 2); imagesc(dicom_data(:,:,2)); title('2nd Image'); axis image off; colormap gray;
subplot(1, 3, 3); imagesc(dicom_data(:,:,3)); title('3rd Image'); axis image off; colormap gray;
imcontrast(h);
But Adjust Contrast tool can only adjust the contrast of the 3rd image. Is there a way to adjust the contrast of all 3 images simultaneously (so that 3 images have the same contrast level) and interactively? Thank you.
0 comentarios
Respuestas (1)
Image Analyst
el 27 de Oct. de 2014
You can use imadjust() to adjust it from code. I've never done it interactively like you seem to indicate you are doing. If you can, I'd guess you can just do it on one image at a time.
0 comentarios
Ver también
Categorías
Más información sobre Explore and Edit Images with Image Viewer App en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!