thorstenwagner / ij-ridgedetection

Detect ridges / lines with imagej
GNU General Public License v2.0
42 stars 27 forks source link

response vector of the first Line in 'contours' list potential issues #40

Open lucalusn opened 5 years ago

lucalusn commented 5 years ago

In 'compute_contours' of Link.java the 'Line' objs are stored in the 'cont' list. In the first element of this list the 'response' value seems not be filled in the correct way. The vector has 387 values but just the first 4 are not zero. In the other elements there are no 0 values. These values are used to fill the 'intensity' vector ... I think that its values could be invalid

All the issues that I opened are obtained with the following file

example

The params used are:

{ "path_to_file": "example.tif", "mandatory_parameters": { "Sigma": 3.39, "Lower_Threshold": 0.34, "Upper_Threshold": 1.02, "Maximum_Line_Length": 0, "Minimum_Line_Length": 0, "Darkline": "LIGHT", "Overlap_resolution": "NONE" },

"optional_parameters": {
    "Line_width": 10.0,
    "High_contrast": 200,
    "Low_contrast": 80
},

"further_options": {
    "Correct_position": true,
    "Estimate_width": true,
    "doExtendLine": true,
    "Show_junction_points": true,
    "Show_IDs": false,
    "Verbose_mode": false,
    "Display_results": true,
    "Add_to_Manager": true,
    "Preview": true,
    "Make_Binary": false
}

}