source: other-projects/is-sheet-music-encore/trunk/image-identification-dev-02/image-identification-development/Notes.txt@ 33415

Last change on this file since 33415 was 33415, checked in by cpb16, 5 years ago

updated, after unable to commit due to setup.bash being out of date. Added mainMorph for morphological development

File size: 2.1 KB
Line 
1Houghlines in java.
2Houghlines does detect white lines. Use binary_inv to show with houghlineTest.png
3
4OTSU threshold gives best black and white response
5
6Would it be useful to process what lines have been detected?
7As in, filter out every line detected except for horizontal lines?
8
9BINARYINV seems to be result in a better looking image than canny for sheet music
10
11In houghlines parameters, having resoluation of 1 degree and 1 pixel makes sense. Would allow for sheet music image to be at any orientation.
12Threshold would ideally need to vary dependant on how much sheet music there is.
13Which brings to the table filtering. Having a good filter that eliminates noise leaves the sheet music free would be good. The binary inv would be suitable, since houghlines detect white lines.
14Need filter to denoize image. OTSU seems to do a good job.
15
16The threshold would need to be adjusted dependant on how many white pixels there are.
17houghlinesP has start and end points. where houghlines does not. Which is why houghlinesP performs better on a set of images becuz of the end points rather than just "a line must meet a certain threshold at that coordinate for it to be registered"
18Houghlines in order to be effetive must be scaled to suit the image.
19
20HoughlinesP contains this:
21minLinLength: The minimum number of points that can form a line. Lines with less than this number of points are disregarded.
22maxLineGap: The maximum gap between two points to be considered in the same line.
23
24____ _____ ______ ______
25
26HoughlinesP can calculate on a local scale, comaparing the distance between just the gap in the line.
27Houghlines only calculates on the lines scale, checking the whole lines point count(attenuator?) reaching over the threshold.
28
29This means houghlinesP can scale better and allow for more accurate results
30
31
32The mathRound does not make difference
33
34Drawing forloop with cols, seems to be less effective
35Even though it does employ same calculations?
36https://stackoverflow.com/questions/29493267/how-to-detect-lines-using-houghlines-in-opencv-java
37
38
39
40not enough MP records with more than 10 pages
41
Note: See TracBrowser for help on using the repository browser.