Skip to content

Allow fill mosaic blank pixels with specified value #141

Open
Yu-AnChen wants to merge 3 commits into
labsyspharm:masterfrom
Yu-AnChen:fill-canvas-blank
Open

Allow fill mosaic blank pixels with specified value #141
Yu-AnChen wants to merge 3 commits into
labsyspharm:masterfrom
Yu-AnChen:fill-canvas-blank

Conversation

@Yu-AnChen
Copy link
Copy Markdown
Collaborator

Add an optional argument to Mosaic.assemble_channel to allow custom values for blank pixels. This is mainly for filling cracks in the mosaic to achieve better visual representation, especially in bright-field images. The mask might be useful for better alpha blending.

@ViriatoII
Copy link
Copy Markdown

If you leave 0 values there, those gaps can be filled with senseful values that make sense in the local context, with my tool, MindaGap.

https://github.com/ViriatoII/mindagap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants