Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suma20240202 #565

Open
wants to merge 75 commits into
base: master
Choose a base branch
from
Open

Suma20240202 #565

wants to merge 75 commits into from

Conversation

afni-laurenpd
Copy link
Contributor

New branch. Alpha seems to work and no toy example crashes observed on Ubuntu system

OtagoHarbour and others added 30 commits October 27, 2023 21:41
…face Controller menu. Also standarddize alpha threshold buttons to check boxes
… slider on SUMA Surface Controller menu, albeit with an extra "A" checkbox in the far right panel.
…of the global vairable, SurfCont->AlphaThresh. Also removed some dead code
…t change the colormap. Must start with "A" box checked and with threshold zero.
…ike it was drawn with a paintbrush. Need to add refresh when "A" and "B" buttons are clicked.
…as due to trying to process overlapys, with ShowMode == SW_SurfCont_DsetViewXXX, for alpha thresholds. Also got rid of some no longer useful pfintf statements.
…actual brain sample instead of just a toy. Still has some issues. The opacity does not fall off very fast and the colors are dubious. But can toggle back and forth between "A" ective and "A" not active.
…verlay appeared much thicker, when threshold zero or low and "A" box checked.
…op overlay. This seems to avoid the problems where "A" first checked when threshold non-zero and when user changes the colormap. Probably needs more testing and debugging
…accurate in cases where the columns (subricks) of the data set are set to the defaults. I.e. (ITB)=(000)
…t threshold to zero, copied color map and then reset threshold to original. Threshold correct for sliding bar but not for edit box. Beta: May node a boundary mode if some of its neighbors are above, and some below, the threshold. Also added function from DrawROI but effect not seen so far. That part needs debugging
…arts look darker on dark areas due to original mixing with underlying gray
…y not be seen, on the brain, and the program to always crash with the toy examples
…ET changed or when colormap changed while DETs have been changed from zero.
…o original after its being set to zero to update full color map. Code needs tidying up
…causing confusion. Also check with toy examples and it does not crash on my Ubuntu system
…mentation of "A" box for DriveSuma in C code
Copy link
Contributor

@mrneont mrneont left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@OtagoHarbour : I think the new line 38 could use updating:
D$SUMA_DIR/riveSuma -com viewer_cont -key '.'
->
$SUMA_DIR/DriveSuma -com viewer_cont -key '.'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants