Code Monkey home page Code Monkey logo

invesalius3's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

invesalius3's Issues

Error compiling Cython file

Hi guys.

I'm trying to compile InVesalius on Linux Ubuntu 13.10. When the digit following command:

$ [sudo] python setup.py install

I have this error message in Terminal:

captura de tela de 2014-08-25 12 50 29

will be a problem in the version of Cython?

Improvement on markers for navigation

  • What if there are several markers with the same fiducials labels? The last ones are chosen, but user must know that. This is an issue because when user select wrong fiducials and then correct them, there will always be multiple fiducials markers in list control.
  • Highlight the marker in volume viewer that is currently selected to be deleted or ID edited in list control. Create an arrow to show? Blink? Change color or increase size?
  • When you click fast and several times in create marker during navigation, it takes long to update the list control with the coordinates. Check this.

Polhemus connect/disconnect issue

You can connect only once with a Polhemus tracking device. It does not disconnect propoerly if you change the tracking device or disconnect the current. Then it is necessary to restart InVesalius and the Polhemus device to make things work again.

Inversão Lado Lesão Invesalius 3.0 final

Gostaria de informar-lhes que detectamos um erro no Invesalius na hora de abrir os arquivos Dicom de uma tomografia. A lesão do paciente se encontra no lado esquerdo do crânio e ao processar a tomografia o modelo 3D gerado pelo invesalius aparece do lado direito.

Gostaria de saber se existe alguma forma de ver porque esse problema está acontecendo

Obrigado

Create option to save log file

Option to enable or disable log file

Save the following items:

  • Date and time of each event
  • Information about each interaction, button click, open menu etc.
  • Volume and image interation
  • Unexpected and expected exceptions and errors

Error start python invesalius.py

Hey guys.

I'm with problem in comand python invesalius.py.

Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_misc.py", line 1358, in Notify
self.notify()
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/core.py", line 14767, in Notify
self.result = self.callable(self.args, *self.kwargs)
File "invesalius.py", line 174, in Startup
from gui.frame import Frame
File "/home/brenopolanski/Desktop/SVN/invesalius3-3.0-b5/invesalius/gui/frame.py", line 31, in
import default_tasks as tasks
File "/home/brenopolanski/Desktop/SVN/invesalius3-3.0-b5/invesalius/gui/default_tasks.py", line 25, in
import data_notebook as nb
File "/home/brenopolanski/Desktop/SVN/invesalius3-3.0-b5/invesalius/gui/data_notebook.py", line 36, in
import data.slice
as slice

File "/home/brenopolanski/Desktop/SVN/invesalius3-3.0-b5/invesalius/data/slice
.py", line 36, in
from data import mips
ImportError: cannot import name mips
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_misc.py", line 1358, in Notify
self.notify()
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14767, in Notify
self.result = self.callable(_self.args, *_self.kwargs)
File "invesalius.py", line 82, in Startup2
self.control = self.splash.control
AttributeError: 'SplashScreen' object has no attribute 'control'
Traceback (most recent call last):
File "invesalius.py", line 197, in OnClose
if self.fc.IsRunning():
AttributeError: 'SplashScreen' object has no attribute 'fc'

Surface part selection

Enhancement usability surface part selection. When select null parts InVesalius is crashed.

Compiling cy_mesh

Following the instructions in INSTALL file and running:

python setup.py install

All files are compiled but no cy_mesh.pyd is created. This avoid running invesalius as it raises an error that could not import cy_mesh.

However, when running:

python setup.py build_ext --inplace

it creates the cy_mesh.pyd.
Need to fix this compilation bug while configuring invesalius.

bug: surfaces list pile up

When a project is opened and then closed, the surfaces list pile up with the next opened project's surfaces.

issue

Report tool

Add tool to make report about case.

  • May be insert basic DICOM information in header
  • Insert measures
  • Insert screenshot
  • Template possibility

Error while building invesalius in Windows 8.1 x64

Hi,
I followed the article https://github.com/invesalius/invesalius3/wiki/Running-InVesalius-3-in-Windows to build invesalius in Windows 8.1 64bit 4GB RAM with Visual Studio Professional 2015 installed and got the following error when i ran python setup.py build_ext --inplace
Cython 0.24.1 was installed in my system. Please help me solve this problem

Error compiling Cython file:
------------------------------------------------------------
...
]

@cython.boundscheck(False) # turn of bounds-checking for entire function
@cython.cdivision(True)
@cython.wraparound(False)
cdef inline double interpolate(image_t[:, :, :] V, double x, double y, double z)
 nogil:
                              ^
------------------------------------------------------------

invesalius\data\interpolation.pyx:80:31: 'image_t' is not a type identifier

Error compiling Cython file:
------------------------------------------------------------
...


@cython.boundscheck(False) # turn of bounds-checking for entire function
@cython.cdivision(True)
@cython.wraparound(False)
cdef inline image_t _G(image_t[:, :, :] V, int x, int y, int z) nogil:
           ^
------------------------------------------------------------

invesalius\data\interpolation.pyx:126:12: 'image_t' is not a type identifier

Error compiling Cython file:
------------------------------------------------------------
...


@cython.boundscheck(False) # turn of bounds-checking for entire function
@cython.cdivision(True)
@cython.wraparound(False)
cdef inline image_t _G(image_t[:, :, :] V, int x, int y, int z) nogil:
                      ^
------------------------------------------------------------

invesalius\data\interpolation.pyx:126:23: 'image_t' is not a type identifier

Error compiling Cython file:
------------------------------------------------------------
...


@cython.boundscheck(False) # turn of bounds-checking for entire function
@cython.cdivision(True)
@cython.wraparound(False)
cdef void calc_coef_tricub(image_t[:, :, :] V, double x, double y, double z, dou
ble [64] coef) nogil:
                          ^
------------------------------------------------------------

invesalius\data\interpolation.pyx:153:27: 'image_t' is not a type identifier

Error compiling Cython file:
------------------------------------------------------------
...


@cython.boundscheck(False) # turn of bounds-checking for entire function
@cython.cdivision(True)
@cython.wraparound(False)
cdef inline double tricub_interpolate(image_t[:, :, :] V, double x, double y, do
uble z) nogil:
                                     ^
------------------------------------------------------------

invesalius\data\interpolation.pyx:239:38: 'image_t' is not a type identifier

Error compiling Cython file:
------------------------------------------------------------
...


@cython.boundscheck(False) # turn of bounds-checking for entire function
@cython.cdivision(True)
@cython.wraparound(False)
cdef inline double tricubicInterpolate(image_t[:, :, :] V, double x, double y, d
ouble z) nogil:
                                      ^
------------------------------------------------------------

invesalius\data\interpolation.pyx:283:39: 'image_t' is not a type identifier

Error compiling Cython file:
------------------------------------------------------------
...
    arr[2] = bicubicInterpolate(p[2], y-yi, z-zi)
    arr[3] = bicubicInterpolate(p[3], y-yi, z-zi)
    return cubicInterpolate(arr, x-xi)


def tricub_interpolate_py(image_t[:, :, :] V, double x, double y, double z):
                         ^
------------------------------------------------------------

invesalius\data\interpolation.pyx:306:26: 'image_t' is not a type identifier

Error compiling Cython file:
------------------------------------------------------------
...


def tricub_interpolate_py(image_t[:, :, :] V, double x, double y, double z):
    return tricub_interpolate(V, x, y, z)

def tricub_interpolate2_py(image_t[:, :, :] V, double x, double y, double z):
                          ^
------------------------------------------------------------

invesalius\data\interpolation.pyx:309:27: 'image_t' is not a type identifier

Error compiling Cython file:
------------------------------------------------------------
...
    return tricub_interpolate(V, x, y, z)

def tricub_interpolate2_py(image_t[:, :, :] V, double x, double y, double z):
    return tricubicInterpolate(V, x, y, z)

def trilin_interpolate_py(image_t[:, :, :] V, double x, double y, double z):
                         ^
------------------------------------------------------------

invesalius\data\interpolation.pyx:312:26: 'image_t' is not a type identifier

Error compiling Cython file:
------------------------------------------------------------
...
@cython.boundscheck(False) # turn of bounds-checking for entire function
@cython.cdivision(True)
@cython.wraparound(False)
cdef inline image_t _G(image_t[:, :, :] V, int x, int y, int z) nogil:
    cdef int dz, dy, dx
    dz = V.shape[0] - 1
                   ^
------------------------------------------------------------

invesalius\data\interpolation.pyx:128:20: Coercion from Python not allowed witho
ut the GIL

Error compiling Cython file:
------------------------------------------------------------
...
@cython.boundscheck(False) # turn of bounds-checking for entire function
@cython.cdivision(True)
@cython.wraparound(False)
cdef inline image_t _G(image_t[:, :, :] V, int x, int y, int z) nogil:
    cdef int dz, dy, dx
    dz = V.shape[0] - 1
                   ^
------------------------------------------------------------

invesalius\data\interpolation.pyx:128:20: Calling gil-requiring function not all
owed without gil

Error compiling Cython file:
------------------------------------------------------------
...
@cython.boundscheck(False) # turn of bounds-checking for entire function
@cython.cdivision(True)
@cython.wraparound(False)
cdef inline image_t _G(image_t[:, :, :] V, int x, int y, int z) nogil:
    cdef int dz, dy, dx
    dz = V.shape[0] - 1
               ^
------------------------------------------------------------

invesalius\data\interpolation.pyx:128:16: Indexing Python object not allowed wit
hout gil

Error compiling Cython file:
------------------------------------------------------------
...
@cython.boundscheck(False) # turn of bounds-checking for entire function
@cython.cdivision(True)
@cython.wraparound(False)
cdef inline image_t _G(image_t[:, :, :] V, int x, int y, int z) nogil:
    cdef int dz, dy, dx
    dz = V.shape[0] - 1
         ^
------------------------------------------------------------

invesalius\data\interpolation.pyx:128:10: Accessing Python attribute not allowed
 without gil

Error compiling Cython file:
------------------------------------------------------------
...
@cython.cdivision(True)
@cython.wraparound(False)
cdef inline image_t _G(image_t[:, :, :] V, int x, int y, int z) nogil:
    cdef int dz, dy, dx
    dz = V.shape[0] - 1
    dy = V.shape[1] - 1
                   ^
------------------------------------------------------------

invesalius\data\interpolation.pyx:129:20: Coercion from Python not allowed witho
ut the GIL

Error compiling Cython file:
------------------------------------------------------------
...
@cython.cdivision(True)
@cython.wraparound(False)
cdef inline image_t _G(image_t[:, :, :] V, int x, int y, int z) nogil:
    cdef int dz, dy, dx
    dz = V.shape[0] - 1
    dy = V.shape[1] - 1
                   ^
------------------------------------------------------------

invesalius\data\interpolation.pyx:129:20: Calling gil-requiring function not all
owed without gil

Error compiling Cython file:
------------------------------------------------------------
...
@cython.cdivision(True)
@cython.wraparound(False)
cdef inline image_t _G(image_t[:, :, :] V, int x, int y, int z) nogil:
    cdef int dz, dy, dx
    dz = V.shape[0] - 1
    dy = V.shape[1] - 1
               ^
------------------------------------------------------------

invesalius\data\interpolation.pyx:129:16: Indexing Python object not allowed wit
hout gil

Error compiling Cython file:
------------------------------------------------------------
...
@cython.cdivision(True)
@cython.wraparound(False)
cdef inline image_t _G(image_t[:, :, :] V, int x, int y, int z) nogil:
    cdef int dz, dy, dx
    dz = V.shape[0] - 1
    dy = V.shape[1] - 1
         ^
------------------------------------------------------------

invesalius\data\interpolation.pyx:129:10: Accessing Python attribute not allowed
 without gil

Error compiling Cython file:
------------------------------------------------------------
...
@cython.wraparound(False)
cdef inline image_t _G(image_t[:, :, :] V, int x, int y, int z) nogil:
    cdef int dz, dy, dx
    dz = V.shape[0] - 1
    dy = V.shape[1] - 1
    dx = V.shape[2] - 1
                   ^
------------------------------------------------------------

invesalius\data\interpolation.pyx:130:20: Coercion from Python not allowed witho
ut the GIL

Error compiling Cython file:
------------------------------------------------------------
...
@cython.wraparound(False)
cdef inline image_t _G(image_t[:, :, :] V, int x, int y, int z) nogil:
    cdef int dz, dy, dx
    dz = V.shape[0] - 1
    dy = V.shape[1] - 1
    dx = V.shape[2] - 1
                   ^
------------------------------------------------------------

invesalius\data\interpolation.pyx:130:20: Calling gil-requiring function not all
owed without gil

Error compiling Cython file:
------------------------------------------------------------
...
@cython.wraparound(False)
cdef inline image_t _G(image_t[:, :, :] V, int x, int y, int z) nogil:
    cdef int dz, dy, dx
    dz = V.shape[0] - 1
    dy = V.shape[1] - 1
    dx = V.shape[2] - 1
               ^
------------------------------------------------------------

invesalius\data\interpolation.pyx:130:16: Indexing Python object not allowed wit
hout gil

Error compiling Cython file:
------------------------------------------------------------
...
@cython.wraparound(False)
cdef inline image_t _G(image_t[:, :, :] V, int x, int y, int z) nogil:
    cdef int dz, dy, dx
    dz = V.shape[0] - 1
    dy = V.shape[1] - 1
    dx = V.shape[2] - 1
         ^
------------------------------------------------------------

invesalius\data\interpolation.pyx:130:10: Accessing Python attribute not allowed
 without gil

Error compiling Cython file:
------------------------------------------------------------
...
    if z <  0:
        z = dz + z + 1
    elif z > dz:
        z = z - dz - 1

    return V[z, y, x]
           ^
------------------------------------------------------------

invesalius\data\interpolation.pyx:147:12: Constructing Python tuple not allowed
without gil
Traceback (most recent call last):
  File "setup.py", line 44, in <module>
    extra_compile_args=['/openmp'],),
  File "C:\Python27\Lib\site-packages\Cython\Build\Dependencies.py", line 915, i
n cythonize
    cythonize_one(*args)
  File "C:\Python27\Lib\site-packages\Cython\Build\Dependencies.py", line 1037,
in cythonize_one
    raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: invesalius/data/interpolation.pyx

Capture video of screen

  • Capture video of screen
  • Option for export video of volume/surface rotating with
  • Insert InVesalius logo

Reorient image tool not work after open project

Traceback (most recent call last): File "/invesalius3/invesalius/data/styles.py", line 1553, in OnMouseMove self._rotate() File "/invesalius3/invesalius/data/styles.py", line 1654, in _rotate self.viewer.slice_.current_mask.clear_history() AttributeError: 'NoneType' object has no attribute 'clear_history'

Web version?

There are a "web version" plan, fork or working group?

DICOM multiframe support

  • Insert support for DICOM multiframe (see: ftp://dicom.nema.org/MEDICAL/dicom/2014c/output/chtml/part03/sect_C.7.6.6.html)

High DPI display support

On high DPI display (DPI>200) some widgets and text are not shown correctly which make some function not quite usable. Especially the left panel.

screenshot

Multiplanar visualization fails to update automatically

InVeslius master branch in Windows 10, Python 2.7 and wxPython 3.
After importing a DICOM folder and generating a multiplanar visualization the window fails to update automatically, see figure below. To update main frame is necessary to "move" the window.

2017-01-08 1

loading dicom files

when i open the software and try to import dicom files . this dialod box appears and nothing happens.

please guide me

untitled

UserWarning: failed to import module _transformations (win8.1)

Hello,
I just follow " Running-InVesalius-3-in-Windows "; when I run app.py , it show:
Warning (from warnings module):
File "E:\InVesalius\python27\Lib\site-packages\invesalius3-master\invesalius\data\transformations.py", line 1899
warnings.warn("failed to import module %s" % name)
UserWarning: failed to import module _transformations

although I can use "invesalius",I want to know how to solve this warning

Measure cursor

Change default cursor to wx.CURSOR_CROSS. This will provide better accuracy.

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.