GithubHelp home page GithubHelp logo

Comments (3)

dlegland avatar dlegland commented on August 15, 2024

Hi,

well, this seems to be strange... I do not have clear idea right now.

Just to clarify, what do you want as output? Another 3D stack containing the concatenation of each slice processing?

from morpholibj.

linshaova avatar linshaova commented on August 15, 2024

Yes, exactly! My plan was to duplicate the GDM result into another window for the 1st slice, and then append the results from subsequent slices to this window to form a 3D stack of 2D-GDM results.

I found a work-around since the first posting: after each slice's processing, I could save the result into a TIFF (i.e., one TIFF per slice) without interrupting the for loop, and then import the 2D TIFFs as a sequence. But of course it'd be nicer to not have to have this intermediate step.

Thank you!

lin

from morpholibj.

linshaova avatar linshaova commented on August 15, 2024

Forgot to mention that I have an almost identical experience with applying Marker-Controlled Watershed (MCW) on a series of 2D slices from 3D stacks input. And the same saving-result-into-one-TIFF-per-slice workaround works. The only difference is that for MCW to work in 2D mode with 3D stacks as inputs, I had to duplicate the slices of the same slice# from the input stacks and use the those slices as input to MCW; just setSlice(i+1) wouldn't be enough, which is fine.

lin

from morpholibj.

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.