UTFOIL / Vectorization-Public

Public-facing repository for SLAVV software
GNU General Public License v3.0
10 stars 5 forks source link

How to determine the desired number of vessel sizes to detected per doubling of the radius cubed? #5

Open mocaeric opened 9 months ago

mocaeric commented 9 months ago

Hello,

I am a student trying to use this plugin for vascular network analysis. I was having trouble figuring out how to determine the desired number of vessel sizes to detected per doubling of the radius cubed. I tried the default and it took forever to complete the analysis, so I'm wondering if I'm doing something wrong here. I read the tutorial as well and haven't been able to figure out this Scale Space and Octave business. Is there some sort of formula you use based off your image size to determine this parameter? Any help would be appreciated, I am really new to this type of analysis.

mihelics commented 5 months ago

Hello mocaeric,

Thank you for your question, and apologies for my delay in response.

Yes, the first processing step is quite computationally expensive and takes about an hour on my 10-core parallelized performance PC. You can monitor its progress by watching the files populate in the data directory of the "batch" folder that was created in your [output_directory] upon beginning the first step ("energy") of the vectorization workflow.

The answer to your question is not discussed in the tutorial to my knowledge. However, it is explained in the documentation. Please see this screenshot of the documentation with the highlighted variables of interest to you. If you want the program to go faster, then you can search in a narrower size range. Another alternative is to sample the spatial frequency at a lower rate, which you may do, however I advise you to choose the optimal scale-space sampling, which I believe is equal to: .

image