Coder Social home page Coder Social logo

okunator / cellseg_gsontools Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 0.0 84.39 MB

Feature extraction from GEOJson nuclei and tissue segmentation maps

Home Page: https://okunator.github.io/cellseg_gsontools/

License: MIT License

Python 100.00%
clustering-methods digital-pathology feature-extraction graph-algorithms immune-infiltration morphological-analysis nuclei-segmentation regionalization roi-selection spatial-data-analysis tissue-segmentation whole-slide-annotation whole-slide-image

cellseg_gsontools's People

Contributors

nkonrd avatar okunator avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cellseg_gsontools's Issues

weights2gdf not working

I have segmented a WSI and extracted a 512x512 patch from it by hap_cells = cells.cx[x:x+512, y:y+512].

image

image

Following the user guide "Cell/Nuclei Neighborhood Distances and Characteristics", I would like to fit a connectivity graph to the resulting 157 cells. When executing w = fit_graph(hap_cells, type="delaunay", thresh=200, id_col="uid") I get many warnings like this:

  1. passing a BlockManager to GeoDataFrame is deprecated and will be removed in a future version. Use public APIs instead.
  2. the geometry is in a geographic CRS. The results of 'centroid' are probably wrong. Use 'GeoSeries.to_crs()' to reproject geometries to a projected CRS before this operation.
    image

When running wdf = weights2gdf(hap_cells, w) I get an error:

TypeError: sequence item 0: expected str instance, NoneType found

image

What could be the reason for this and what have I done wrong? Can you help me?

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.