Joss-reviews: [REVIEW]: PyMatting: A Python Library for Alpha Matting

Created on 13 Jul 2020  Β·  60Comments  Β·  Source: openjournals/joss-reviews

Submitting author: @99991 (Thomas Germer)
Repository: https://github.com/pymatting/pymatting
Version: v1.0.7
Editor: @gkthiruvathukal
Reviewer: @ziatdinovmax, @macrocosme
Archive: 10.5281/zenodo.4081416

:warning: JOSS reduced service mode :warning:

Due to the challenges of the COVID-19 pandemic, JOSS is currently operating in a "reduced service mode". You can read more about what that means in our blog post.

Status

status

Status badge code:

HTML: <a href="https://joss.theoj.org/papers/9766cab65bfbf07a70c8a835edd3875a"><img src="https://joss.theoj.org/papers/9766cab65bfbf07a70c8a835edd3875a/status.svg"></a>
Markdown: [![status](https://joss.theoj.org/papers/9766cab65bfbf07a70c8a835edd3875a/status.svg)](https://joss.theoj.org/papers/9766cab65bfbf07a70c8a835edd3875a)

Reviewers and authors:

Please avoid lengthy details of difficulties in the review thread. Instead, please create a new issue in the target repository and link to those issues (especially acceptance-blockers) by leaving comments in the review thread below. (For completists: if the target issue tracker is also on GitHub, linking the review thread in the issue or vice versa will create corresponding breadcrumb trails in the link target.)

Reviewer instructions & questions

@ziatdinovmax & @macrocosme, please carry out your review in this issue by updating the checklist below. If you cannot edit the checklist please:

  1. Make sure you're logged in to your GitHub account
  2. Be sure to accept the invite at this URL: https://github.com/openjournals/joss-reviews/invitations

The reviewer guidelines are available here: https://joss.readthedocs.io/en/latest/reviewer_guidelines.html. Any questions/concerns please let @gkthiruvathukal know.

✨ Please start on your review when you are able, and be sure to complete your review in the next six weeks, at the very latest ✨

Review checklist for @ziatdinovmax

Conflict of interest

  • [x] I confirm that I have read the JOSS conflict of interest (COI) policy and that: I have no COIs with reviewing this work or that any perceived COIs have been waived by JOSS for the purpose of this review.

Code of Conduct

General checks

  • [x] Repository: Is the source code for this software available at the repository url?
  • [x] License: Does the repository contain a plain-text LICENSE file with the contents of an OSI approved software license?
  • [x] Contribution and authorship: Has the submitting author (@99991) made major contributions to the software? Does the full list of paper authors seem appropriate and complete?
  • [x] Substantial scholarly effort: Does this submission meet the scope eligibility described in the JOSS guidelines

Functionality

  • [x] Installation: Does installation proceed as outlined in the documentation?
  • [x] Functionality: Have the functional claims of the software been confirmed?
  • [x] Performance: If there are any performance claims of the software, have they been confirmed? (If there are no claims, please check off this item.)

Documentation

  • [x] A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • [x] Installation instructions: Is there a clearly-stated list of dependencies? Ideally these should be handled with an automated package management solution.
  • [x] Example usage: Do the authors include examples of how to use the software (ideally to solve real-world analysis problems).
  • [x] Functionality documentation: Is the core functionality of the software documented to a satisfactory level (e.g., API method documentation)?
  • [x] Automated tests: Are there automated tests or manual steps described so that the functionality of the software can be verified?
  • [x] Community guidelines: Are there clear guidelines for third parties wishing to 1) Contribute to the software 2) Report issues or problems with the software 3) Seek support

Software paper

  • [x] Summary: Has a clear description of the high-level functionality and purpose of the software for a diverse, non-specialist audience been provided?
  • [x] A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • [x] State of the field: Do the authors describe how this software compares to other commonly-used packages?
  • [x] Quality of writing: Is the paper well written (i.e., it does not require editing for structure, language, or writing quality)?
  • [x] References: Is the list of references complete, and is everything cited appropriately that should be cited (e.g., papers, datasets, software)? Do references in the text use the proper citation syntax?

Review checklist for @macrocosme

Conflict of interest

  • [x] I confirm that I have read the JOSS conflict of interest (COI) policy and that: I have no COIs with reviewing this work or that any perceived COIs have been waived by JOSS for the purpose of this review.

Code of Conduct

General checks

  • [x] Repository: Is the source code for this software available at the repository url?
  • [x] License: Does the repository contain a plain-text LICENSE file with the contents of an OSI approved software license?
  • [x] Contribution and authorship: Has the submitting author (@99991) made major contributions to the software? Does the full list of paper authors seem appropriate and complete?
  • [x] Substantial scholarly effort: Does this submission meet the scope eligibility described in the JOSS guidelines

Functionality

  • [x] Installation: Does installation proceed as outlined in the documentation?
  • [x] Functionality: Have the functional claims of the software been confirmed?
  • [x] Performance: If there are any performance claims of the software, have they been confirmed? (If there are no claims, please check off this item.)

Documentation

  • [x] A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • [x] Installation instructions: Is there a clearly-stated list of dependencies? Ideally these should be handled with an automated package management solution.
  • [x] Example usage: Do the authors include examples of how to use the software (ideally to solve real-world analysis problems).
  • [x] Functionality documentation: Is the core functionality of the software documented to a satisfactory level (e.g., API method documentation)?
  • [x] Automated tests: Are there automated tests or manual steps described so that the functionality of the software can be verified?
  • [x] Community guidelines: Are there clear guidelines for third parties wishing to 1) Contribute to the software 2) Report issues or problems with the software 3) Seek support

Software paper

  • [x] Summary: Has a clear description of the high-level functionality and purpose of the software for a diverse, non-specialist audience been provided?
  • [x] A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • [x] State of the field: Do the authors describe how this software compares to other commonly-used packages?
  • [x] Quality of writing: Is the paper well written (i.e., it does not require editing for structure, language, or writing quality)?
  • [x] References: Is the list of references complete, and is everything cited appropriately that should be cited (e.g., papers, datasets, software)? Do references in the text use the proper citation syntax?
C++ Python Shell accepted published recommend-accept review

Most helpful comment

Congratulations to @99991 (Thomas Germer), @tuelwer & co-authors!!

Thanks for editing @gkthiruvathukal and for reviewing to @ziatdinovmax & @macrocosme!

All 60 comments

Hello human, I'm @whedon, a robot that can help you with some common editorial tasks. @ziatdinovmax, @macrocosme it looks like you're currently assigned to review this paper :tada:.

:warning: JOSS reduced service mode :warning:

Due to the challenges of the COVID-19 pandemic, JOSS is currently operating in a "reduced service mode". You can read more about what that means in our blog post.

:star: Important :star:

If you haven't already, you should seriously consider unsubscribing from GitHub notifications for this (https://github.com/openjournals/joss-reviews) repository. As a reviewer, you're probably currently watching this repository which means for GitHub's default behaviour you will receive notifications (emails) for all reviews 😿

To fix this do the following two things:

  1. Set yourself as 'Not watching' https://github.com/openjournals/joss-reviews:

watching

  1. You may also like to change your default settings for this watching repositories in your GitHub profile here: https://github.com/settings/notifications

notifications

For a list of things I can do to help you, just type:

@whedon commands

For example, to regenerate the paper pdf after making changes in the paper's md or bib files, type:

@whedon generate pdf

PDF failed to compile for issue #2481 with the following error:

Can't find any papers to compile :-(

@whedon generate pdf from branch joss-submission

Attempting PDF compilation from custom branch joss-submission. Reticulating splines etc...

@99991 @gkthiruvathukal First of all, I would like to congratulate the authors on their clean and useful software. The code is well documented, includes tests, and benchmarks. The code was easily installable, and examples ran as expected (except for a few path issues that have now been fixed). Instructions on how to set and run the benchmarks have also been simple to follow and worked as expected. I have a few minor comments regarding the submission.

  • Many Figures do not include axes labels. Labels are required for all Figures, even when described in the Figure caption.
  • There is no hardware and OS description available describing how the benchmarks' results were obtained, which may be suitable.

Regarding the community guidelines criteria:

  • there are clear guidelines for third parties wishing to contribute to the software. I think it would be useful to add a mention in the README directing to the CONTRIBUTING.md file;
  • Unless I missed it, there are no clear guidelines about how to report issues or problems with the software;
  • Unless I missed it, there are no clear guidelines about how to seek support. However, I must note that there is the "chat on gitter" badge where it is clearly possible to do so.
    [EDIT: It seems like a subsection was added since I had started this text. Hence the three points above can be ignored.]

I would like to ask the authors to apply these changes, after which I will accept this submission.

@macrocosme Thank you for your quick turnaround and helpful comments for @99991.

I will await feedback from @ziatdinovmax, who may need a bit more time.

Thanks for the fast review and the helpful comments, @macrocosme! We really appreciate this.

Regarding your minor comments:

@whedon generate pdf from branch joss-submission

Attempting PDF compilation from custom branch joss-submission. Reticulating splines etc...

@99991 @gkthiruvathukal My apologies for the delay in responding... Congrats to the authors on their very nice library! It installs and runs smoothly, and the documentation is in good order. The only minor comment that I have is about the paper. When I was reading it, I kept wondering (perhaps out of my ignorance) who is the target audience and what specific applications the method can be used for. The statement at the beginning of the paper that it is β€œimportant for many image editing tasks” seems to be a bit vague. Perhaps listing several potential applications e.g. in the field of scientific and/or medical imaging together with references will be helpful.

Dear ziatdinovmax, thank you very much for your review!

There is a vast number of fields where alpha matting can be applied. The landmark paper [1] by Levin et al. alone has over 2000 citations.
Although there are some applications of alpha matting in medical imaging, e.g. [2], [3], [4], we would argue that the problem solved by our toolbox is more of a fundamental problem that arises in image processing. The target audience of our toolbox therefore are researchers of image processing and computer vision. We hope that out toolbox makes alpha matting research more comparable and reproducible.

Of course, we would add references to applications of alpha matting if you insist.

  • [1] Levin, Anat, Dani Lischinski, and Yair Weiss. "A closed-form solution to natural image matting." IEEE transactions on pattern analysis and machine intelligence 30.2 (2007): 228-242.
  • [2] Fan, Zhun, et al. "A hierarchical image matting model for blood vessel segmentation in fundus images." IEEE Transactions on Image Processing 28.5 (2018): 2367-2377.
  • [3] Kanade, Takeo, et al. "Cell image analysis: Algorithms, system and applications." 2011 IEEE Workshop on Applications of Computer Vision (WACV). IEEE, 2011.
  • [4] Yin, Zhaozheng, et al. "Understanding the optics to aid microscopy image segmentation." International Conference on Medical Image Computing and Computer-Assisted Intervention. Springer, Berlin, Heidelberg, 2010.

@99991, thanks for the excellent follow up. I think adding these applications would be helpful.

@ziatdinovmax, does @99991's follow up address your concern about audience?

@gkthiruvathukal Yes, it does.

@ziatdinovmax Thanks!

@99991 Please go ahead and make the revisions you proposed for including proper references. Then I think we can move toward acceptance. (I will post a final checklist of things we need to do, once your article is updated.)

@ziatdinovmax @gkthiruvathukal thank you for your fast responses! We added the references to the paper and included the statement about the target audience in the first section of the paper.

We also made some further changes to the first section and the formatting of the references.

@whedon generate pdf from branch joss-submission

Attempting PDF compilation from custom branch joss-submission. Reticulating splines etc...

@99991 and @tuelwer It seems like we're moving closer. If you're done, and our reviewers @ziatdinovmax and @macrocosme are satisfied, I can post the final checklist.

@whedon generate pdf from branch joss-submission

Attempting PDF compilation from custom branch joss-submission. Reticulating splines etc...

@gkthiruvathukal We are ready. :+1:

:point_right::page_facing_up: Download article proof :page_facing_up: View article proof on GitHub :page_facing_up: :point_left:

@gkthiruvathukal Is there anything we can do at the moment?

πŸ‘‹ @gkthiruvathukal - it looks like this is ready for you to "@whedon accept" and then pass on?

@danielskatz Thanks for the gentle nudge!

@99991 I'm ready to move forward with acceptance. There are a few final checks:

  • [x] Make a tagged release of your software, and list the version tag of the archived version here.
  • [x] Archive the reviewed software in Zenodo
  • [x] Check the Zenodo deposit has the correct metadata, this includes the title (should match the paper title) and author list (make sure the list is correct and people who only made a small fix are not on it); you may also add the authors' ORCID.
  • [x] List the Zenodo DOI of the archived version here.

@gkthiruvathukal We created a tagged release of our package. The version number is 1.0.7 and the Zenodo DOI is 10.5281/zenodo.4081416.

@whedon commands

Here are some things you can ask me to do:

# List all of Whedon's capabilities
@whedon commands

# Assign a GitHub user as the sole reviewer of this submission
@whedon assign @username as reviewer

# Add a GitHub user to the reviewers of this submission
@whedon add @username as reviewer

# Re-invite a reviewer (if they can't update checklists)
@whedon re-invite @username as reviewer

# Remove a GitHub user from the reviewers of this submission
@whedon remove @username as reviewer

# List of editor GitHub usernames
@whedon list editors

# List of reviewers together with programming language preferences and domain expertise
@whedon list reviewers

# Change editorial assignment
@whedon assign @username as editor

# Set the software archive DOI at the top of the issue e.g.
@whedon set 10.0000/zenodo.00000 as archive

# Set the software version at the top of the issue e.g.
@whedon set v1.0.1 as version

# Open the review issue
@whedon start review

EDITORIAL TASKS

# All commands can be run on a non-default branch, to do this pass a custom 
# branch name by following the command with `from branch custom-branch-name`.
# For example:

# Compile the paper
@whedon generate pdf

# Compile the paper from alternative branch
@whedon generate pdf from branch custom-branch-name

# Remind an author or reviewer to return to a review after a
# certain period of time (supported units days and weeks)
@whedon remind @reviewer in 2 weeks

# Ask Whedon to do a dry run of accepting the paper and depositing with Crossref
@whedon accept

# Ask Whedon to check the references for missing DOIs
@whedon check references

# Ask Whedon to check repository statistics for the submitted software
@whedon check repository

EiC TASKS

# Invite an editor to edit a submission (sending them an email)
@whedon invite @editor as editor

# Reject a paper
@whedon reject

# Withdraw a paper
@whedon withdraw

# Ask Whedon to actually accept the paper and deposit with Crossref
@whedon accept deposit=true

@whedon set v1.0.7 as version

OK. v1.0.7 is the version.

@whedon set 10.5281/zenodo.4081416 as archive

OK. 10.5281/zenodo.4081416 is the archive.

@openjournals/joss-eics Ok, we're all set to move forward with accepting this JOSS submission.

@gkthiruvathukal - the next step is for you to do a @whedon accept and make sure everything looks good, then tell @openjournals/joss-eics

Thanks, @danielskatz. I think we're ready to go here! I am still classically conditioned to my "early days" of JOSS where I wasn't doing the whedon accept.

@whedon accept

Attempting dry run of processing paper acceptance...

PDF failed to compile for issue #2481 with the following error:

Can't find any papers to compile :-(

@openjournals/joss-eics I've recommended accept. Oddly, there is a problem with the paper, even though it has successfully been built recently in this issue thread.

@gkthiruvathukal I think you have to add from branch joss-submission. πŸ‘

Thank you, @tuelwer!
The problem is that the paper build was triggered by the whedon accept, which defaults to the main branch, it seems. I'm pretty sure your paper is building fine but can do it again.

@whedon generate pdf from branch joss-submission

Attempting PDF compilation from custom branch joss-submission. Reticulating splines etc...

:point_right::page_facing_up: Download article proof :page_facing_up: View article proof on GitHub :page_facing_up: :point_left:

I suppose you even can do a @whedon accept from branch joss-submission, but I do not know if it makes a difference.

@whedon accept from branch joss-submission

Attempting dry run of processing paper acceptance...
Reference check summary (note 'MISSING' DOIs are suggestions that need verification):

OK DOIs

- 10.1109/TIP.2018.2885495 is OK
- 10.1007/978-3-642-15705-9_26 is OK
- 10.1109/WACV.2011.5711528 is OK
- 10.1109/TPAMI.2013.18 is OK
- 10.1016/j.parco.2011.09.001 is OK
- 10.1109/TPAMI.2007.1177 is OK
- 10.1109/ICCV.2009.5459326 is OK
- 10.2172/751785 is OK
- 10.1145/992200.992206 is OK
- 10.1134/S1995080219050056 is OK
- 10.1137/S0895479899358194 is OK
- 10.1016/j.parco.2005.07.004 is OK
- 10.1109/CVPR.2010.5539896 is OK
- 10.1109/CVPR.2009.5206503 is OK
- 10.1016/0021-9991(78)90098-0 is OK
- 10.1201/9781351069397-24 is OK
- 10.1109/CVPR.2011.5995665 is OK
- 10.1145/200979.200981 is OK

MISSING DOIs

- None

INVALID DOIs

- None

:wave: @openjournals/joss-eics, this paper is ready to be accepted and published.

Check final proof :point_right: https://github.com/openjournals/joss-papers/pull/1807

If the paper PDF and Crossref deposit XML look good in https://github.com/openjournals/joss-papers/pull/1807, then you can now move forward with accepting the submission by compiling again with the flag deposit=true e.g.
@whedon accept deposit=true from branch joss-submission

Looks good to me

@whedon accept deposit=true from branch joss-submission

Doing it live! Attempting automated processing of paper acceptance...

🐦🐦🐦 πŸ‘‰ Tweet for this paper πŸ‘ˆ 🐦🐦🐦

🚨🚨🚨 THIS IS NOT A DRILL, YOU HAVE JUST ACCEPTED A PAPER INTO JOSS! 🚨🚨🚨

Here's what you must now do:

  1. Check final PDF and Crossref metadata that was deposited :point_right: https://github.com/openjournals/joss-papers/pull/1808
  2. Wait a couple of minutes to verify that the paper DOI resolves https://doi.org/10.21105/joss.02481
  3. If everything looks good, then close this review issue.
  4. Party like you just published a paper! πŸŽ‰πŸŒˆπŸ¦„πŸ’ƒπŸ‘»πŸ€˜

    Any issues? Notify your editorial technical team...

Congratulations to @99991 (Thomas Germer), @tuelwer & co-authors!!

Thanks for editing @gkthiruvathukal and for reviewing to @ziatdinovmax & @macrocosme!

:tada::tada::tada: Congratulations on your paper acceptance! :tada::tada::tada:

If you would like to include a link to your paper from your README use the following code snippets:

Markdown:
[![DOI](https://joss.theoj.org/papers/10.21105/joss.02481/status.svg)](https://doi.org/10.21105/joss.02481)

HTML:
<a style="border-width:0" href="https://doi.org/10.21105/joss.02481">
  <img src="https://joss.theoj.org/papers/10.21105/joss.02481/status.svg" alt="DOI badge" >
</a>

reStructuredText:
.. image:: https://joss.theoj.org/papers/10.21105/joss.02481/status.svg
   :target: https://doi.org/10.21105/joss.02481

This is how it will look in your documentation:

DOI

We need your help!

Journal of Open Source Software is a community-run journal and relies upon volunteer effort. If you'd like to support us please consider doing either one (or both) of the the following:

Thank you all for making this possible! :tada:

Was this page helpful?
0 / 5 - 0 ratings