Code Monkey home page Code Monkey logo

Comments (3)

marius10p avatar marius10p commented on August 30, 2024

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.

from suite2p.

ZeitgeberH avatar ZeitgeberH commented on August 30, 2024

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

from suite2p.

marius10p avatar marius10p commented on August 30, 2024

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

from suite2p.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.