Giter VIP home page Giter VIP logo

Comments (2)

hsokooti avatar hsokooti commented on September 13, 2024

Dear markemus,

I updated the documentation. About the extension, you can define it for your own database in the setting_utils.py. For example, in line 88, this is defined for the DIR-Lab_4D:

    elif selected_data == 'DIR-Lab_4D':
        data_setting['Dim'] = '3D'
        data_setting['ext'] = '.mha'
        data_setting['imageByte'] = 2              # equals to sitk.sitkInt16 , we prefer not to import sitk in SettingUtils
        data_setting['types'] = ['T00', 'T10', 'T20', 'T30', 'T40', 'T50', 'T60', 'T70', 'T80', 'T90']     # for eg: 'Fixed' or 'Moving' : actually Fixed indicates baseline and Moving indicates followup
        data_setting['expPrefix'] = 'case'         # for eg: case1
        data_setting['defaultPixelValue'] = -2048  # The pixel value when a transformed pixel is outside of the image
        data_setting['voxelSize'] = [1, 1, 1]
        data_setting['AffineRegistration'] = True
        data_setting['UnsureLandmarkAvailable'] = False
        data_setting['CNList'] = [i for i in range(1, 11)]

To check all addresses, I suggest running and testing the following line:

original_image_address = su.address_generator(setting, 'originalIm', data='DIR-Lab_4D', cn=1, type_im=0, stage=1)

I hope that this can help.

from regnet.

markemus avatar markemus commented on September 13, 2024

Very helpful, thank you!

from regnet.

Related Issues (16)

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.