{"id":20669534,"url":"https://github.com/iitis/hsi_blood_detection","last_synced_at":"2025-08-01T12:14:21.446Z","repository":{"id":139079147,"uuid":"287526739","full_name":"iitis/HSI_blood_detection","owner":"iitis","description":null,"archived":false,"fork":false,"pushed_at":"2022-05-13T08:25:16.000Z","size":56,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T20:03:27.499Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iitis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-08-14T12:22:54.000Z","updated_at":"2025-03-16T13:26:35.000Z","dependencies_parsed_at":"2023-04-08T05:33:24.003Z","dependency_job_id":null,"html_url":"https://github.com/iitis/HSI_blood_detection","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iitis/HSI_blood_detection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iitis%2FHSI_blood_detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iitis%2FHSI_blood_detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iitis%2FHSI_blood_detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iitis%2FHSI_blood_detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iitis","download_url":"https://codeload.github.com/iitis/HSI_blood_detection/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iitis%2FHSI_blood_detection/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268221359,"owners_count":24215691,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T20:14:43.926Z","updated_at":"2025-08-01T12:14:21.435Z","avatar_url":"https://github.com/iitis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Description:\n------------\n\nSource code enabling replication of experiments in the paper\n by M. Romaszewski, P.Glomb, M. Cholewa, A. Sochan  \n`**A Dataset for Evaluating Blood Detection in Hyperspectral Images**'\nJournal article: https://doi.org/10.1016/j.forsciint.2021.110701\n\nThe dataset associated with that source code:\n---------------------------------------------\n\nThe dataset is available online:\nhttps://zenodo.org/record/3984905\n\nImplementation:\n---------------\n\nExperiments were implemented in Python 3.6.9 using libraries:\nnumpy 1.16.4, scipy 1.3.1, scikit-learn 0.22.1, matplotlib 3.2.2\n\nUsage:\n------\n\n\u003cul\u003e\n\u003cli\u003e Ensure that the dataset patch in ds_load.py is correct\n\u003cli\u003e Run experiments first, before generating results (unless it is dataset presentation)\n\u003c/ul\u003e\n\nFiles:\n\u003cul\u003e\n\u003cli\u003e ds_load.py - data loading and utility functions\n\u003cli\u003e results_util.py - implements detection performance measures\n\u003cli\u003e saveload.py - universal serialisation functions\n\u003cli\u003e target_detectors.py - MF detector implementation\n\u003cli\u003e two_stage_detector.py - implementation of the TSMF from the paper\n\u003cli\u003e experiment_classification.py - performs simple classification experiment\n\u003cli\u003e experiment_detection.py - performs detection experiments\n\u003cli\u003e fig_dataset.py - figures with dataset presentsion\n\u003cli\u003e fig_detection.py - figures with detection results\n\u003cli\u003e fig_example.py - detection examle with more detailed presentation\n\u003cli\u003e fig_means.py - presentation of spectra before/after applying TSMF\n\u003cli\u003e fig_no_pixels.py - figures visualising impact of the no. pixels on AUC\n\u003c/ul\u003e \n\nWarning:\nexperiments use the external blood library described in: \n**Majda, Alicja, et al. \"Hyperspectral imaging and multivariate analysis in the dried blood spots investigations\"  Applied Physics A 124.4 (2018): 312.**\nUnless the library is provided, its spectra will replaced with a spectrum from the dataset.\n\n\nLicense:\n--------\n\nThe code is licensed under GNU General Public License v.3.0","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiitis%2Fhsi_blood_detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiitis%2Fhsi_blood_detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiitis%2Fhsi_blood_detection/lists"}