[#7680] Add an adaptive threshold plugin for SWC file

Please log in

State: more information
Open
Date:
2014-10-01 23:02
Priority: more information
3
Submitted By:
Hanbo Chen (cojoc)
Assigned To: more information
Nobody (None)
Product: 
None
Operating System: 
None
Component: 
None
Summary: more information
Add an adaptive threshold plugin for SWC file

Detailed description

SWC file may be huge due to redundancy of points when build. Currently, there is a resample plugin to reduce the number of point by down sampling. However, this down sample process based on fixed steps. This will not be nice when neuron turns in sharp angle as it will over smooth the structure. It will be better to add a adaptive threshold method for better visualization.

Response

Message

Date: 2014-10-03 17:21
Sender: Hanbo Chen

Adaptive down sample feature is now updated.
1. The down sample decision is made based on turning angle of curves. If the curve turn sharply, the point will be kept. Otherwise deleted.
2. Radius change is an optional criteria when perform down sampling. If option checked, the point will be kept when radius changes sharply.
3. An optional re-sample can be performed before down sampling. This will uniform the length of segments on curves and smooth the curves a little bit. This will help to remove unexpected short sharp turning or zigzag that may impact the performance of down sample.
4. All input parameters required can be set in a simple dialog.


Date: 2014-10-02 20:29
Sender: Hanbo Chen

The path problem has been fixed. Relative path is applied.


Date: 2014-10-02 20:06
Sender: Hanchuan Peng

need to fix the path to make it general on any platform

work/vaa3d_tools/hackathon/hanbo/resample_swc_adapt/resample_swc.pro:5: Unescaped backslashes are deprecated.
WARNING: Failure to find: d:v3d_main/basic_c_fun/v3d_message.cpp
WARNING: Failure to find: d:v3d_main/basic_c_fun/basic_surf_objs.cpp


Date: 2014-10-02 18:29
Sender: Hanchuan Peng

It is not thresholding, it is resampling.

Attached Files:

Name Download
No Files Currently Attached

Changes:

Field Old Value Date By
New Message2014-10-03 17:21cojoc
New Message2014-10-02 20:29cojoc
New Message2014-10-02 20:06hanchuan
New Message2014-10-02 18:29hanchuan