-
Notifications
You must be signed in to change notification settings - Fork 292
Binarization adjustment board #716
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ed from BinarizationAdjustBoard
… alphabetical order
Hi Michael, Your approach is more convenient than the current binarization section in the book parameters. I suppose we can now remove the binarization section in the book parameters. Thanks, |
Thank you Hervé for your encouragement! I can make that change in the book parameters. Now off to fix some bugs! |
Hi Michael, We have a problem with the BinarizationAdjustBoard automatically added to the Binary tab.
We should be protected against this, because we often want to simply have a look at the binary image (for instance to compare with the transcription results), without re-launching any binarization process of course.
For the time being, I have simply commented out the line 597 in Sheet.java:
And I avoid to manually select the BinarizationAdjustBoard when I don't have the original source file! |
Thank you for the detailed writeup Hervé! I should learn more about how your program functions in different situations. I'll look at how your program currently handles this and see if there is a good solution. |
While you are at it, the label "Apply to all pages" would be better named "Apply to all sheets". |
Also, I noticed this line in the
This is dangerous because it checks if the 2 items share the same address, while we just want to compare their values. The line should be replaced by:
And indeed the filter is no longer re-applied if not modified in value. This prevents the raise of exception when the input file is no longer available (see the previous message) We could even keep the pre-selection of the BinarizationAdjustBoard (the line: Perhaps the BinarizationAdjustBoard should be "selectable" (automatically or on demand) only if the input file has been successfully checked for availability beforehand. |
Still reading the code of BinarizationAdjustBoard, I stumbled on this:
My question is: if this board discards any incoming event, what is the rationale behind connecting it? UPDATE: Answering my own question, you are using the callback on
|
Hi all! As a musician and programmer, Audiveris is a really exciting program for me. I have been trying to get to know Audiveris's codebase so that I can contribute to it more in the future. For now, I just wanted to start by doing something simple.
I created a board that allows the user to adjust image binarization settings and change binarization filters before going on to the OMR step. I thought this would be easier for new users, so that they don't have to dig around for these settings. This "BinarizationAdjustBoard" is added and selected by default on the binary tab only.