Giter Site home page Giter Site logo

Comments (29)

miykael avatar miykael commented on June 3, 2024 2

@ofgulban - I might have gone a bit overboard with the cyclic animation. I created 256 images (each with 8192 parcels). It took 2h to create all figures per colormap, but I'm happy to create other ones if you're interested.

I found a good homepage that has some nice cyclic colormap examples, that you might also appreciate: https://nicoguaro.github.io/posts/cyclic_colormaps/

I tried to create some small gifs of 6 different colormaps. You can find all the figures in higher resolution, as well as the gifs here:

Spectral (with correction for tritanomaly)

gif_spectral

Twilight (with correction for tritanomaly)

gif_twilight

Colorwheel (with correction for tritanomaly)

gif_colorwheel_tritanomaly

HSV (with correction for tritanomaly)

gif_hsv_tritanomaly

erdc_icefire (with correction for tritanomaly)

gif_erdc_icefire_tritanomaly

nic_edge (with correction for tritanomaly)

gif_nic_edge_tritanomaly

from fmriflows.

ofgulban avatar ofgulban commented on June 3, 2024 1

Hi Michael, I will have a look into this with pleasure :)

from fmriflows.

miykael avatar miykael commented on June 3, 2024 1

By the way, @ofgulban don't forget to add yourself and your affiliation to the .zenodo.json file. I'm not sure if the final publication will be via zenodo, but it's clear that you will be on the paper!

from fmriflows.

miykael avatar miykael commented on June 3, 2024 1

Closing this issue as @ofgulban created a great logo!

from fmriflows.

miykael avatar miykael commented on June 3, 2024

Cool, thanks! But no stress :-)

from fmriflows.

miykael avatar miykael commented on June 3, 2024

@PeerHerholz - what do you think about @ofgulban's logo proposals on the gitter channel?

from fmriflows.

PeerHerholz avatar PeerHerholz commented on June 3, 2024

Oh boy, that's hard decision.

  1. @ofgulban should make a business out of his amazing skills!
  2. I would say something from option 4 to 6, but would adapt the top left corner of the "fMRI" part as it extends beyond the brain in the background. I actually do like blurry transitions (based on my Bob Ross experience), but if option 4 is out, 5 or 6 are also fine.

from fmriflows.

ofgulban avatar ofgulban commented on June 3, 2024

Thanks, I have created a version 7, pushing the top left corner of fMRI part inside the brain following @PeerHerholz . It is the same document, have a look again. Once decided, i will push the svg version of the graphic so it can easily be edited in the future anyway.

from fmriflows.

miykael avatar miykael commented on June 3, 2024

Thanks @ofgulban - Having the fMRI inside the brain is top. I would go for this! And yes @PeerHerholz, Faruk should make a business out of this 👍

from fmriflows.

miykael avatar miykael commented on June 3, 2024

Now, I have some highres PNGs that should work much better with vectorization. And I also played around with the number of parcels and the direction of the color gradient.

Annoyingly complicated to explain why, but the gradients shown in the figures are called:

 +x     +y     +z
 -x     -y     -z
+xy    +xz    +yz
-xy    -xz    -yz

128 parcels

plot_gmm_pial_00128

256 parcels

plot_gmm_pial_00256

512 parcels

plot_gmm_pial_00512

1024 parcels

plot_gmm_pial_01024

2048 parcels

plot_gmm_pial_02048

from fmriflows.

miykael avatar miykael commented on June 3, 2024

Sorry for image overload. But which color gradient and number of parcels do you prefer?

I prefer +z (1,3), +xz (3,2) and +yz (3,3) as gradient direction.
And 2048 or 256 parcels.

from fmriflows.

ofgulban avatar ofgulban commented on June 3, 2024

I like 2048 parcels +xz & -xz because the central sulcus looks cool.

@miykael can you produce a version of one of these images with color cycling?. I can create an ever-flowing animation with fmri flows overlay if you provide the frames. This would be an extra fun thing to try.

from fmriflows.

PeerHerholz avatar PeerHerholz commented on June 3, 2024

Do you mean something like this: https://twitter.com/miyka_el/status/1028027334245285889 ?

from fmriflows.

ofgulban avatar ofgulban commented on June 3, 2024

Yes. It would look smoother if the colormap is extended and mirrored though. So the red does not neighbour blue while cycling.

from fmriflows.

miykael avatar miykael commented on June 3, 2024

uiuiui... @ofgulban - that sounds super cool!
How do I create such an image with color cycling? Currently, I just create a PNG file with nilearn's plotting function. PNG is about 1.5MB for about 8000x6000 and 40MB for SVG version.

from fmriflows.

miykael avatar miykael commented on June 3, 2024

For this to create a GIF, do you need one image and just have some information about the color cycle or do you nonetheless need multiple images, with each being at a different color phase?

from fmriflows.

miykael avatar miykael commented on June 3, 2024

Here the highres PNG files for...

2048 Parcels

plot_gmm_pial_02048_xz

4096 Parcels

plot_gmm_pial_04096_xz

8192 Parcels

plot_gmm_pial_08192_xz

from fmriflows.

ofgulban avatar ofgulban commented on June 3, 2024

@miykael I think many images with different colormap phase would be enough for creating the animation.

I have created a new version of the logo with 8192 parcels png. Have a look at it. For me it looks a bit too dark on the bottom part, so maybe this was not the best gradient direction.

from fmriflows.

miykael avatar miykael commented on June 3, 2024

@ofgulban how many different phases do you want for the animation? It takes some time to create them, but I'm happy to provide them.

I love the new 8192 parcels logo and I agree that it's a bit too dark at the bottom. I tried to find some new directions. What do you and @PeerHerholz think?

Alternative 1

plot_gmm_pial_8192_158651

Alternative 2

plot_gmm_pial_8192_22632

Alternative 3

plot_gmm_pial_8192_23471

from fmriflows.

ofgulban avatar ofgulban commented on June 3, 2024

@miykael thanks michael I will update the latest version with these 3 alternatives.

For the gif, I would say 12 frames per second over 2 seconds could be a starting point. So 24 phases.
If needed we can make the animation slower and fill in the gaps later. I think for the initial animation we can make do with lower resolution images with less parcels.

from fmriflows.

ofgulban avatar ofgulban commented on June 3, 2024

I like 11 the most now.

from fmriflows.

miykael avatar miykael commented on June 3, 2024

Thanks, @ofgulban! I also like version 11 the most. @PeerHerholz, what do you think?

from fmriflows.

ofgulban avatar ofgulban commented on June 3, 2024

I am mesmerized. Thanks for the cyclic colormap link, I didn't know that site very cool. I like twilight, icefire and spectral. Spectral could be cooler to have it cyclic:
instead of R----->B, having it R------>BB<------R it should be possible to do this mirroring with cmaps but I dont have time for it now.

I will create animated logo versions and lets see which one look the best together with the text. This might take some time due to my current schedule.

from fmriflows.

ofgulban avatar ofgulban commented on June 3, 2024

@miykael @PeerHerholz have a look at the animation here.

You can try other animations as the underlay, a have tried a few but this one looked the best so far.

from fmriflows.

miykael avatar miykael commented on June 3, 2024

WOW 😍 that looks so cool @ofgulban - thank you for making this. I love anim_02_overlaid.gif. I prefer it over anim_01 because it has much more an "updating" effect, where anim_01 has a cyclic pulsing effect :-)

We will definitely use your gifs once we announce the software on twitter! I'm so excited! :-)

from fmriflows.

ofgulban avatar ofgulban commented on June 3, 2024

The bash script for creating the gif is there, you can try different inputs or for instance remove the optimization. Will look sharper but increase the files size.

I have created a separate overlay text in the .svg file. In case if you want to change colors of it etc. you can do it from there and export it as png.

from fmriflows.

PeerHerholz avatar PeerHerholz commented on June 3, 2024

@miykael, @ofgulban, this is nothing but awesome.
+1 for anim_02_overlaid.gif

At this point a set of different versions should be submitted to the OHBM art competition!

from fmriflows.

miykael avatar miykael commented on June 3, 2024

I'm all for OHBM art submission, but how? And which design? With the logo or without?

from fmriflows.

ofgulban avatar ofgulban commented on June 3, 2024

When is the deadline for this?

from fmriflows.

Related Issues (19)

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.