at the moment, the coronal, sagittal and transversal images are not written in 300 dpi when saving them. Where can I adjust the script such that I can change the dpi of the images to 300 dpi?
But how to change the code, such that when I use the option "save interface as Picture" in DPABI Viewer, the coronal, sagittal and transversal images will be saved with a higher dpi? At the moment this is not the case but most journals want at least 300 dpi pictures.
YAN Chao-Gan
Tue, 05/14/2019 - 23:03
Permalink
Something like this:
Something like this:
print -r300 -dtiff -noui XXX.tif
David
Wed, 05/15/2019 - 11:02
Permalink
But how to change the code,
But how to change the code, such that when I use the option "save interface as Picture" in DPABI Viewer, the coronal, sagittal and transversal images will be saved with a higher dpi? At the moment this is not the case but most journals want at least 300 dpi pictures.
YAN Chao-Gan
Mon, 05/20/2019 - 00:16
Permalink
You can edit the tiff with
You can edit the tiff with _300dpi suffix.
David
Mon, 05/20/2019 - 11:48
Permalink
Thank you,
Thank you,
I think I found the right line 1460-1462 in DPABI_VIEW.m:
Here, imwrite is used instead of print, so the dpi can not be changed.
YAN Chao-Gan
Thu, 05/23/2019 - 09:42
Permalink
I think it's already high-res
I think it's already high-res?
David
Wed, 07/10/2019 - 10:59
Permalink
Sorry for the late reply.
Sorry for the late reply.
No, imwrite writes the image in the resolution that is specified in the data matrix (see: https://stackoverflow.com/questions/17211048/matlab-imwrite-quality), while print saves the current figure at some specified dpi.
I used the following work around based on the export_fig function (https://de.mathworks.com/matlabcentral/fileexchange/23629-export_fig)
YAN Chao-Gan
Sat, 07/13/2019 - 00:03
Permalink
Thanks a lot! That's very
Thanks a lot! That's very useful.