Skip to content

Result images when using plantcv parallelization workflow different from ones generated in Jupiter notebook #680

Answered by nfahlgren
DannieSheng asked this question in Q&A
Discussion options

You must be logged in to vote

When we create the output image with pcv.visualize.pseudocolor there is interpolation involved. Small, thin structures can be removed if the output image is smaller than the input image. In Jupyter this typically happens because the notebook displays images at lower resolution for faster loading. But for pseudocolor this can also happen for saved images because our default output resolution for this kind of images is set to 100 DPI (pcv.params.dpi = 100). If you increase this value it should help. It's possible it looks okay in Jupyter because you maybe have set the image display size or resolution higher in your notebook already, but not in the script.

The other thing we sometimes find h…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@DannieSheng
Comment options

DannieSheng Feb 4, 2021
Collaborator Author

Comment options

You must be logged in to vote
1 reply
@DannieSheng
Comment options

DannieSheng Feb 4, 2021
Collaborator Author

Comment options

You must be logged in to vote
2 replies
@DannieSheng
Comment options

DannieSheng Feb 4, 2021
Collaborator Author

@nfahlgren
Comment options

Answer selected by DannieSheng
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants