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

gui2P background and mask #42

Closed
ZeitgeberH opened this issue Jan 26, 2017 · 3 comments
Closed

gui2P background and mask #42

ZeitgeberH opened this issue Jan 26, 2017 · 3 comments

Comments

@ZeitgeberH
Copy link

For better visual inspection, the background should remain visible when changing the mask.
For example, when choosing the mean projection as background, the mask should be overlaid
on the mean projection.

@marius10p
Copy link
Collaborator

We have tried various ways of achieving an overlay, but it's very hard due to non-homogeneities in both images. Unless you have a specific proposal for how to do the overlay, I suggest you keep flipping between the different views to get a sense of whether something is an ROI or not. That is what the keyboard shortcuts are for.

@ZeitgeberH
Copy link
Author

Hi Marius,

thanks for the explanation. Can you say a little bit more about the non-homogeneities issue?

For my application, something like this would be helpful.
test1

By modifying code in the "redraw_figure.m"

axes(h.axes2);
imagesc(h.dat.mimg(:,:,2));colormap('gray');
hold on;
hclust1=imagesc(I);
alpha_clust1=ones(h.dat.cl.Ly, h.dat.cl.Lx);
alpha_clust1(iclust1>0)=0.3;
alpha_clust1(iclust1==0)=0.2;
set(hclust1,'AlphaData',alpha_clust1);
axis off;

Best,
Ming

@marius10p
Copy link
Collaborator

Hi Ming,

Your image is also non-homogeneous: there are dark and light areas. In general, when an ROI
is very clear on the mean image, one can determine that easily from any of the views. When an ROI is less clear, then the overlay makes it even harder to resolve features visually. Hence why I prefer to keep both views separate, for better viewability.

Best,
Marius

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

No branches or pull requests

3 participants