Skip to content

Instantly share code, notes, and snippets.

View jeanpat's full-sized avatar
🙂

Pommier jeanpat

🙂
View GitHub Profile
@jeanpat
jeanpat / Illumination_correction.ipynb
Created February 10, 2016 17:02
Correction of uneven illumination of images by Top-Hat filtering using opencv 3.1
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jeanpat
jeanpat / generating 82146 lowres.ipynb
Created November 22, 2016 07:42
Generating 82146 examples (greyscaled image+ ground truth label) of overlapping chromosomes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jeanpat
jeanpat / model.py
Created March 19, 2017 10:21 — forked from ndronen/model.py
Semantic segmentation with ENet in PyTorch
#!/usr/bin/env python
"""
A quick, partial implementation of ENet (https://arxiv.org/abs/1606.02147) using PyTorch.
The original Torch ENet implementation can process a 480x360 image in ~12 ms (on a P2 AWS
instance). TensorFlow takes ~35 ms. The PyTorch implementation takes ~25 ms, an improvement
over TensorFlow, but worse than the original Torch.
"""
from __future__ import absolute_import
@jeanpat
jeanpat / Test with tf_unet.ipynb
Created April 20, 2017 17:30
Try to load dataset in tf_unet
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jeanpat
jeanpat / Traces.ipynb
Last active August 30, 2017 13:55
counting impacts on a target
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jeanpat
jeanpat / cuting_touching_chromosomes.py
Created July 13, 2017 14:53
Try to find paths between touching mouse chromosomes to separate them
# -*- coding: utf-8 -*-
"""
Created on Tue Oct 23 08:06:37 2012
@author: Jean-Patrick
"""
import os
import numpy as np
import matplotlib.pyplot as plt
import skimage.io as sio
@jeanpat
jeanpat / CurvedPointsOncontour.py
Created August 26, 2017 10:11
Looking for bending points on the polygonal approximation of a contour
# -*- coding: utf-8 -*-
"""
Created on Tue Oct 23 08:06:37 2012
@author: Jean-Patrick
"""
import os
import numpy as np
import matplotlib.pyplot as plt
import skimage.io as sio
@jeanpat
jeanpat / Tinkering_with_OverlapSegmentationNet-01.ipynb
Last active October 12, 2017 14:11
Exploration of a Keras model trained for 14 epochs (not enough)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jeanpat
jeanpat / Cellular.py
Last active July 15, 2018 16:50
Modules used in telomere length modelisation
# -*- coding: utf-8 -*-
"""
Created on Wed Mar 30 13:04:37 2016
@author: jeanpat
"""
import pandas as pn
from itertools import product
import ClassChromosome as K