# c-PMAT : PSR STAIN PREPROCESSING WORKFLOW
c-pmat ***C***omputational ***P***reprocessing of extracellular ***mat***rix
c-pmat is a interactive user interface, allowing user to easily preprocess, quality control (QC)
and generate quantitative extracellular matrix features.
Preprocess constitutes generating tiles and the corresponding metadata from the whole slide images.
Quality control is dependant on annotations and this retains the tiles free of artifact and
tiles belonging to the annotated regions and ensures enough tissue on the tile is present to
perform downstream analysis.
Through the usage of the step by step process, user will be able to preprocess,
extract and quantify extracellular matrix features.
## Understanding data preparation
In this section we will summarize the organization of directory structure to enable
the end user extract the information needed to directly interact with the annotations which comes as a string
or different names provided by the pathologists (generic).
In the below example we have a first whole slide image with 6 regions of interest and they are named as
ROI1, ROI2, .... ROI6 respectively and the second whole slide image with 3 regions of interest
ROI1, ROI2, ROI3 respectively. These annotations are free hand polygon annotations drawn on the tissue by the
pathologists to infer the changes in the extracellular matrix components with respect to the individual ROI and
cater for inter-tumour and intra-tumour heterogeneity and its implication of features at slide and ROI levels.
<p align="center">
<img src="screenshot_images/dp1.PNG" width="850" title="WSI-1" />
<img src="screenshot_images/dp2.PNG" width="850" title="WSI-2" />
</p>
Currently, we have the support for the annotations performed by the pathologists using Imagescope on the
PSR stained whole slide images.
Once you have annotations, it will retain the ROIs with respect to the individual slide automatically and extract the tiles
corresponding to each ROI.
Note: This code can be generically used for other brightfield images and extraction of the annotations performed on Imagescope.
## ROI stitching at low resolution
It also helps to restitch the ROI's at a lower resolution for sanity check so it can be further processed by TWOMBLI
## Extraction of features within PMAT framework
## Reference
1. https://doi.org/10.25418/crick.26565343
Raw data
{
"_id": null,
"home_page": null,
"name": "c-pmat",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "napari, pathology, imaging, matrix, microscopy",
"author": null,
"author_email": "Priya Narayanan <priya.narayanan@icr.ac.uk>",
"download_url": null,
"platform": null,
"description": "# c-PMAT : PSR STAIN PREPROCESSING WORKFLOW \n\nc-pmat ***C***omputational ***P***reprocessing of extracellular ***mat***rix \n\nc-pmat is a interactive user interface, allowing user to easily preprocess, quality control (QC) \nand generate quantitative extracellular matrix features.\n\nPreprocess constitutes generating tiles and the corresponding metadata from the whole slide images.\nQuality control is dependant on annotations and this retains the tiles free of artifact and \ntiles belonging to the annotated regions and ensures enough tissue on the tile is present to \nperform downstream analysis.\n\nThrough the usage of the step by step process, user will be able to preprocess,\nextract and quantify extracellular matrix features.\n\n\n## Understanding data preparation\n\nIn this section we will summarize the organization of directory structure to enable \nthe end user extract the information needed to directly interact with the annotations which comes as a string\nor different names provided by the pathologists (generic).\n\nIn the below example we have a first whole slide image with 6 regions of interest and they are named as \nROI1, ROI2, .... ROI6 respectively and the second whole slide image with 3 regions of interest\nROI1, ROI2, ROI3 respectively. These annotations are free hand polygon annotations drawn on the tissue by the \npathologists to infer the changes in the extracellular matrix components with respect to the individual ROI and \ncater for inter-tumour and intra-tumour heterogeneity and its implication of features at slide and ROI levels.\n\n<p align=\"center\">\n <img src=\"screenshot_images/dp1.PNG\" width=\"850\" title=\"WSI-1\" />\n <img src=\"screenshot_images/dp2.PNG\" width=\"850\" title=\"WSI-2\" />\n</p>\n\n\nCurrently, we have the support for the annotations performed by the pathologists using Imagescope on the\nPSR stained whole slide images.\n\nOnce you have annotations, it will retain the ROIs with respect to the individual slide automatically and extract the tiles\ncorresponding to each ROI.\n\nNote: This code can be generically used for other brightfield images and extraction of the annotations performed on Imagescope.\n\n## ROI stitching at low resolution\n\nIt also helps to restitch the ROI's at a lower resolution for sanity check so it can be further processed by TWOMBLI\n\n\n## Extraction of features within PMAT framework\n\n## Reference\n\n1. https://doi.org/10.25418/crick.26565343\n",
"bugtrack_url": null,
"license": null,
"summary": "c-pmat - a napari-based workflow for scale-independent quantification of the extracellular matrix and its topological descriptors",
"version": "1.0.3",
"project_urls": {
"Bug Tracker": "https://github.com/IntegratedPathologyUnit-ICR/c-pmat/issues",
"Homepage": "https://github.com/IntegratedPathologyUnit-ICR/c-pmat",
"Repository": "https://github.com/IntegratedPathologyUnit-ICR/c-pmat"
},
"split_keywords": [
"napari",
" pathology",
" imaging",
" matrix",
" microscopy"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "4f613a71d5d28549049480fe59f7ed307d5211715b855de1b962b9a79e14da0c",
"md5": "8bfa9a1f1d81b1cab5c6f69f3a77562f",
"sha256": "8c4b9dfec8db4a04b1b24d012cb855b64443284ae3e8922858812263b838d30d"
},
"downloads": -1,
"filename": "c_pmat-1.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8bfa9a1f1d81b1cab5c6f69f3a77562f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 2533,
"upload_time": "2025-07-28T20:43:11",
"upload_time_iso_8601": "2025-07-28T20:43:11.075237Z",
"url": "https://files.pythonhosted.org/packages/4f/61/3a71d5d28549049480fe59f7ed307d5211715b855de1b962b9a79e14da0c/c_pmat-1.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-28 20:43:11",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "IntegratedPathologyUnit-ICR",
"github_project": "c-pmat",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "napari",
"specs": []
},
{
"name": "numpy",
"specs": [
[
"==",
"1.26.4"
]
]
},
{
"name": "napari-wsi",
"specs": []
},
{
"name": "scikit-image",
"specs": [
[
"==",
"0.22.0"
]
]
},
{
"name": "scipy",
"specs": [
[
"==",
"1.12.0"
]
]
},
{
"name": "ome-zarr",
"specs": [
[
"==",
"0.8.3"
]
]
},
{
"name": "imagecodecs",
"specs": [
[
"==",
"2024.1.1"
]
]
},
{
"name": "imageio",
"specs": [
[
"==",
"2.34.0"
]
]
},
{
"name": "opencv-python",
"specs": [
[
"==",
"3.4.16.59"
]
]
},
{
"name": "openslide-python",
"specs": [
[
"==",
"1.3.1"
]
]
},
{
"name": "matplotlib",
"specs": [
[
"==",
"3.8.3"
]
]
},
{
"name": "pandas",
"specs": [
[
"==",
"2.2.1"
]
]
},
{
"name": "zarr",
"specs": [
[
"==",
"2.17.0"
]
]
},
{
"name": "magicgui",
"specs": [
[
"==",
"0.8.1"
]
]
}
],
"lcname": "c-pmat"
}