Coder Social home page Coder Social logo

Comments (3)

Oli4 avatar Oli4 commented on June 3, 2024

Hi @big97kai

I once thought I found the x_scale there but figured later that I was wrong and forgot to remove it from the documentation. I'll fix this.

So far I am not aware of anybody who figured out how to extract the x_scale from the E2E files. I am pretty sure that it is not stored in the same form as in the XML or VOL export (x_scale in mm). I have some matching exports and could not find the respective values I got from the XML export in the E2E export. I checked for different encodings and offsets and varying tolerance with respect to the value from the XML.

I assume that E2E only stores measures that allow to derive the x_scale. One of these measures is probably the Scan Focus which is related to the x_scale (here). So I tried to find the Scan Focus in the E2E file but was not successful. Currently, we are stuck here.

If you have any idea what could be stored in the E2E file and want to check for yourself try this to search for arbitrary values in the E2E file:

with ep.io.HeE2eReader(YOURPATH.E2E") as reader:
    hits_float = reader.find_float(0.0039, rtol=0.01, atol=0.0000001, bits=32)
    hits_int = reader.find_int(30, rtol=0.01, atol=0.0000001, bits=32)

The return value is a dictionary

 {"series_id": 
    {foldertype_enum: 
        {"number_encoding": 
            [List of Start bytes in the folder for every hit]
}}}

from eyepy.

Oli4 avatar Oli4 commented on June 3, 2024

Let's see if we get an answer: https://x.com/oli4morelle/status/1731688684896841805?s=20

from eyepy.

big97kai avatar big97kai commented on June 3, 2024

It seems heiderberg doesn't care about researchers. Crying out loud.
I notice that there is scale in eyepy is that correct, I mean if that's given by E2E, we can do detect algorithm instead of finding scale_x....

from eyepy.

Related Issues (11)

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.