Processing pipline to support MONO8 (.msilc) images should be consitent with BGR8 (.bsilc)
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
Research direction
Start by reading the pipeline step implementations referenced in the issue: the imageprep step, segmentation.segment_source, and statextract with its roi_source handling, plus how config.toml [steps.*] sections map to pipeline steps. Reproduce the MONO8 (.msilc) run to see the imageprep ERROR and the 'Unexpected image dimension' WARNING in statextract. Done means MONO8 processing works through the same pipeline shape as BGR8, likely by making statextract explicitly support 2D and 3D images, without requiring users to comment out steps.
Written by the indexing model from the issue text.
Description
When images are aquired in mono8 format (.msilc) the configuration of the Pyopia pipeline (config.toml) has to be changed in more steps than intuituvely should be necessary.
for example:
- the [steps.imageprep] should be skipped (commented) due to not beeing necesarry and also foring an ERROR and skipiing the images
- [steps.segmentation] : change the segment_source = "im_corrected" (since imageprep is commented)
- [steps.statextract] : change the roi_source = "im_corrected", This in not intuituve without inpectiong the python code to se what input data the core function is using in the processing step.
- ALSO the [steps.statextract] produces a WARNING Process-1 [process.statextract] WARNING! Unexpected image dimension. extract_particles modified for 2-d images without color! when the pipeline is "forced" into MONO8 compatibility.
comment from RN: egentlig virker dette som en hack, bedre tilnærming hadde vært å kreve at im_corrected skal være 3D (så fikses oppstrøms av et eget steg for eksempel), eller implementere eksplisitt støtte for både 2D og 3D i statextract. Det henger litt sammen med at klassifisering og oppmåling av partikkeldimensjoner burde være skilt ad.
- Dominant language
- Jupyter Notebook
- Stars
- 19
- Forks
- 7
- Avg merge
- 10d 11h
- Merged PRs (30d)
- 1
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SINTEF/pyopia
-
Guard clean_bw against the scikit-image remove_small_objects change before lifting the <0.25 pinMay be free again @riyagoyal01 claimed this 12 days ago, and no pull request is open. Openpatch / enhancement testing
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Use explicit, per-instrument-configurable timestamp format when parsing filenames (SilCam/Holo/UVP)Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 60/100
-
patch / enhancement priority-medium
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Document running Python directly in the Docker image, and which functions are publicPossibly taken @emlynjdavies claimed this 17 days ago. Opendocumentation question