AFNI -com option : BRIGHTNESS CHANGE

I am trying to save images automatically by using this command :

afni -noplugins -no_detach
-com ‘SET_XHAIRS A.OFF’
-com ‘OPEN_WINDOW A.axialimage mont=9x9:1’
-com ‘OPEN_WINDOW A.coronalimage mont=9x9:1’
-com ‘OPEN_WINDOW A.sagittalimage mont=9x9:1’
-com ‘SWITCH_UNDERLAY A.img.nii’
-com ‘SAVE_JPEG A.sagittalimage ./check_sag blowup=3’
-com ‘SAVE_JPEG A.axialimage ./check_axi blowup=3’
-com ‘SAVE_JPEG A.coronalimage ./check_cor blowup=3’
-com ‘QUIT’ \

How can I change ‘Brightness’ for this?

Jung

Hi, Jung-

I don’t know what “brightness” means.

And have you looked at the @chauffeur_afni command? It has a looooot of options to use for generating/saving images:
https://afni.nimh.nih.gov/pub/dist/doc/htmldoc/programs/@chauffeur_afni_sphx.html#ahelp-chauffeur-afni

Here are a looot of examples online:
https://afni.nimh.nih.gov/pub/dist/doc/htmldoc/tutorials/auto_image/auto_@chauffeur_afni.html

–pt

Thanks, Paul

Regarding the brightness, if you are referring to how the underlay dataset is scaled to the grayscale, see this very old post.

https://afni.nimh.nih.gov/afni/community/board/read.php?1,64357,64364#msg-64364