Code Monkey home page Code Monkey logo

Comments (9)

unidesigner avatar unidesigner commented on May 24, 2024 1

@chrisj It seems like there is agreement between @jbms and @william-silversmith about the hidden attribute. Would you care about submitting a PR to implement this as you are very familiar with the neuroglancer codebase? Thank you!

from neuroglancer.

jbms avatar jbms commented on May 24, 2024

from neuroglancer.

william-silversmith avatar william-silversmith commented on May 24, 2024

from neuroglancer.

jbms avatar jbms commented on May 24, 2024

The first level is used by Neuroglancer to determine the clip bounds, so if it has a shape of [0,0,0] then that won't work.

I think a hidden attribute would be fine.

Do you want it to completely ignore the scale, e.g. basically behave as if the scale did not exist, or still use the first scale (even if hidden) to determine clip bounds and units to use for the global coordinate space by default?

from neuroglancer.

william-silversmith avatar william-silversmith commented on May 24, 2024

from neuroglancer.

jbms avatar jbms commented on May 24, 2024

I think it would be most natural in Neuroglancer to just have "hidden" mean completely ignored, in which case the clip bounds would instead come from the first visible scale. Presumably that would only differ by a small amount. Do you think that would work for you?

from neuroglancer.

william-silversmith avatar william-silversmith commented on May 24, 2024

I think one thing we want from this is for Neuroglancer to display the coordinates as hidden mip 0 coordinates, but display the image from mip 1. This way we can easily convert between different datasets. For example, sometimes an aligned dataset is rendered at mip 2 but we want to be able to cross reference between layers easily.

from neuroglancer.

jbms avatar jbms commented on May 24, 2024

Okay, sounds reasonable. Would you care to create a pull request to implement this?

from neuroglancer.

chrisj avatar chrisj commented on May 24, 2024

This issue is discussing the same problem #444

I have a commit to fix this seung-lab@a7edadd#diff-048ab67a423ce920e92e4cff52db026f6361491c6b7189eb558f3a7c42e14759R208

Not sure if it is an appropriate place to put it but seems to work. Also needs to be updated if we swap to using the hidden attribute.

from neuroglancer.

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.