Author: Thomas

  • Install Tensorflow2 or PyTorch with conda

    Create a conda environment A short summary of conda utilization: This procedure is the same for PyTorch, just download pytorch1.12-cuda.yml and adapt the previous lines. $ conda env create –prefix /tmp/${USER}/pytorch1.12-cuda -f pytorch1.12-cuda.yml

  • A very fast introduction to image processing

    Here are some slides to start with images and fundamental processing (pdf) There are also some funny basic practices using python. You may need to set up a working conda environment. For editing your py files, spyder or PyCharm are nice and efficient python IDEs. Activate a conda environment To create an environment with all…

  • Introduction to UNet for image segmentation (TF1)

    The short introduction to UNet and its architecture (pdf) The proposed code work fine with Tensorflow 1.15 and keras (almostly outdated…). Download this full archive with code, data, and pre-trained model (214 Mo, TP_UNET_FULL.zip). Then, use the notebooks in notebooks_local directory.

  • Medical Deep Imaging spring school 2019

    Do you want to found interesting materials to begin with deep learning for medical applications? Have a look here Materials are in Hands-on session page. Even if you don’t have a GPU card or an efficient installation of frameworks as TensorFlow or PyTorch, you can run the tutorials with your CPU. For beginners (and ones who…

  • Introduction to C and IRQ micro controller programming

    A short introduction to C programming of microcontrollers, including basics for IRQ and ISR design with gnu C. Bare-metal programming. C_uCuP Some sources to understand keywords as static, volatile, extern,… are available in the zip file: sources

  • Cygwin/X ssh X11 forward with OpenGL

    XWin, the X server for cygwin is able to render OpenGL both by software or hardware with direct and indirect context. https://x.cygwin.com/docs/ug/using-glx.html By default, the server uses multiwindow mode, -wgl option (hardware acceleration) and direct context. These choices can lead to encounter troubles when executing remote OpenGL based applications using X11 forwarding on ssh (X and…

  • Spatiotemporal Data Clustering

    We propose a mean-shift formulation allowing spatiotemporal clustering of video streams, and possibly extensible to other multivariate evolving data. Our formulation enables causal or omniscient filtering of spatiotemporal data, which is robust to total object occlusions. It embeds a new clustering algorithm within the filtering procedure that will group samples and reduce their number over…

  • Introduction to OpenMP

    OpenMP is widely use for concurrency programming with C/C++/fortran. Here are some exercices to understand how to use OpenMP. They are inspired from OpenMP tutorial but in C++. OpenMP lab Download the source files: OpenMP Source files

  • Contextual Help QtCreator

    In QtCreator, when pressing “F1” while editing your code you can get help on the selected word. Natively, this is working well for Qt classes, but not for std::vector nor itk::Image and so on… In fact it is possible to add dedicated help file to QtCreator: see here. The way to add a new help…

  • Latex+Asymptote: embed 3D figure in pdf file under windows

    Asymptote is a powerful graphics language that can produce pdf with 3D feature and be easily integrated with Latex. Here are the steps needed to produce this pdf under windows, with TexMaker and MikTeK and of course asymptote. First, installation: Install TexMaker (and MikTex or TexLive depending of your OS). Follow the french instructions here.…