open-discussion > Need help with neuron stitcher plugin
Showing 1-3 of 3 posts
Display:
Results per page:
Apr 14, 2021  06:04 PM | marinka88
Need help with neuron stitcher plugin
Hello everyone!
I work in neuroanatomy lab at UCLA. I am trying to stitch two parts of a neuron. I have two .swc files generated via Neutube. One is 102Kb and the other is 15Kb. For stitching, I am using the neuron_stitcher plugin, the auto version. However, when it starts running the program crashes.
Here is the log from the command prompt:
C:\Users\USER\Downloads\Vaa3D_V4.001_Windows_MSVC_64bit\Vaa3D_V4.001_Windows_MSVC_64bit>vaa3d_msvc.exe
[vaa3d_msvc.exe]
"C:/Users/USER/Downloads/Vaa3D_V4.001_Windows_MSVC_64bit/Vaa3D_V4.001_Windows_MSVC_64bit"
Searching in ./plugins ......
Searching ./plugins done.
"C:/Users/USER/Downloads/Vaa3D_V4.001_Windows_MSVC_64bit/Vaa3D_V4.001_Windows_MSVC_64bit"
Starting Vaa3D version checker...
Vaa3D MainWindow::dropEvent
" drop Url data: /C:/Users/USER/Documents/3D stuff/Vaa3d/2020-03-16_09.52.39_Cux2-MORF3_ML02-4_TAM-50x1_V5(647)_06A-Rec2_Stitched_103_360_480_1779_2389_3699.Edit.swc"
" the file to open: [C:/Users/USER/Documents/3D stuff/Vaa3d/2020-03-16_09.52.39_Cux2-MORF3_ML02-4_TAM-50x1_V5(647)_06A-Rec2_Stitched_103_360_480_1779_2389_3699.Edit.swc]"
V3dR_MainWindow::V3dR_MainWindow =====================================
"3D View []"
V3dR_GLWidget::V3dR_GLWidget ========================================
V3dR_MainWindow::connectSignal with V3dR_GLWidget
V3dR_GLWidget::initializeGL
GLformat: (version = 0x1f07f) (samples double-buffer stereo plane overlay = 4 1 0 0 0)
GLformat: (r g b a = 8 8 8 8) + (depth stencil accum = 24 8 64)
V3dR_GLWidget::choiceRenderer
Renderer::Renderer >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Renderer_gl1::Renderer_gl1
OpenGL 2.0 (or higher) is available!
[OK] OpenGL Shading Language is available!
Renderer_gl2::Renderer_gl2
V3dR_GLWidget::settingRenderer
V3dR_GLWidget::preparingRenderer
Preparing 3D View
10
30
Renderer_gl1::cleanData
Renderer_gl1::setupData
Down-sampling to 512x512x256
data4dp = 0x0 (start 0x0x0_0_0, size 0x0x0_0_0)
rgbaBuf = 0x0 (0x0x0_0_0)
data box in original image space @ (0 0 0)--(-1 -1 -1)
data4dp_to_rgba3d ............................................... cost time = 0 sec
70
Renderer_gl2::initialize (2)
Renderer_gl1::initialize (1)
Renderer::initialize (0)
Renderer_gl1::cleanObj
Renderer_gl1::loadObj
Renderer_gl1::cleanVol
Renderer_gl2::cleanStreamBuffer
Renderer_gl1::loadVol
BoundingBox surface (1 1 1)--(-1 -1 -1)
BoundingBox default (0 0 0)--(0 0 0)
Renderer_gl2::cleanShader
Renderer_gl2::loadShader
+++++++++ shader for Surface Object
Load shader: ":/shader/obj_fragment.txt"
Load shader: ":/shader/lighting.txt"
Load shader: ":/shader/color_vertex.txt"
Load shader: ":/shader/lighting.txt"
GL Error #1281(invalid value) in File ..\3drenderer\glsl_r.cpp at line: 362
+++++++++ shader for Volume texture2D
Load shader: ":/shader/tex_fragment.txt"
+++++++++ shader for Volume texture3D
Load shader: ":/shader/tex_fragment.txt"
GL Error #1281(invalid value) in File ..\3drenderer\glsl_r.cpp at line: 362
+++++++++ GLSL shader setup finished.
Renderer_gl2::initColormap
100
++++++++++++ customEvent: 4
V3dR_GLWidget::customEvent( ? )
( QEvent_InitControlValue )
V3dR_MainWindow::initControlValue
GL texture compression supported, enable texture compression function
GL shading language supported, enable volume colormap function
"V3dR_MainWindow::changeEvent, ActivationChange-> 3D View [C:/Users/USER/Documents/3D stuff/Vaa3d/2020-03-16_09.52.39_Cux2-MORF3_ML02-4_TAM-50x1_V5(647)_06A-Rec2_Stitched_103_360_480_1779_2389_3699.Edit.swc]"
++++++++++++ customEvent: 2
V3dR_GLWidget::customEvent( ? )
( QEvent_OpenFiles )
Renderer_gl1::loadObjectListFromFile
-------------------------------------------------------
---------------------read 2396 lines, 2396 remained lines
Loading Neuron structure C:/Users/USER/Documents/3D stuff/Vaa3d/2020-03-16_09.52.39_Cux2-MORF3_ML02-4_TAM-50x1_V5(647)_06A-Rec2_Stitched_103_360_480_1779_2389_3699.Edit.swc
50
Renderer_gl1::updateBoundingBox surface (-4.63779 2.78438 3.56776)--(1296.29 1292.92 248.448)
Renderer_gl1::updateBoundingBox default (-4.63779 2.78438 3.56776)--(1296.29 1292.92 248.448)
++++++++++++ customEvent: 1
V3dR_GLWidget::customEvent( ? )
( QEvent_Ready )
-------------------------------------------------------------- Ready
V3dR_MainWindow::dropEvent
" drop Url data: /C:/Users/USER/Documents/3D stuff/Vaa3d/2020-03-16_09.52.39_Cux2-MORF3_ML02-4_TAM-50x1_V5(647)_06A-Rec2_Stitched_250_380_1402_2600_1550_2646.Edit.swc"
Renderer_gl1::loadObjectFromFile (url)
open file: "C:/Users/USER/Documents/3D stuff/Vaa3d/2020-03-16_09.52.39_Cux2-MORF3_ML02-4_TAM-50x1_V5(647)_06A-Rec2_Stitched_250_380_1402_2600_1550_2646.Edit.swc"
-------------------------------------------------------
---------------------read 352 lines, 352 remained lines
Loading Neuron structure C:/Users/USER/Documents/3D stuff/Vaa3d/2020-03-16_09.52.39_Cux2-MORF3_ML02-4_TAM-50x1_V5(647)_06A-Rec2_Stitched_250_380_1402_2600_1550_2646.Edit.swc
50
Renderer_gl1::updateBoundingBox surface (-6.11092 2.78438 -24.4137)--(1296.29 1292.92 248.448)
Renderer_gl1::updateBoundingBox default (-6.11092 2.78438 -24.4137)--(1296.29 1292.92 248.448)
runPluginInterface2_1 ... 0x1fb19efbff0
search for 3D windows
match and select 3D windows
number of markers = 0
number of markers = 0
done with runPluginInterface2_1().
already run! done status=1
number of markers = 0
rescale in stacking direction
align in stacking direction
search candidates
init neuron 0: cand: 2
init neuron 1: cand: 2
start find cliques
init neuron 0: 3clique: 0
init neuron 1: 3clique: 0
start match cliques
found 0 pair of cliques
start global search
global match: 1 matched points found; energy: 0
update makers: 4
Renderer_gl1::updateBoundingBox surface (-527.925 2.78438 3.56776)--(1296.29 1603.04 371.32)
Renderer_gl1::updateBoundingBox default (-527.925 2.78438 3.56776)--(1296.29 1603.04 371.32)
number of markers = 4
Fail to run the V3dR_GLWidget::updateLandmark() function.
number of markers = 4
Fail to run the V3dR_GLWidget::updateLandmark() function.
The pixel map size is 0 0 (for invalid imagedata)
The pixel map size is 0 0 (for invalid imagedata)
The pixel map size is 0 0 (for invalid imagedata)
cur layout=0000000000000000
MainWindow::createMdiChild *** workspace->windowList: () += XFormWidget(0x1fb2140ecc0)
size hint=1184 1153 min size hint=1184 1048
XFormWidget::setCurrentFileName: "neuron_stitcher_zoom_view"
MainWindow newImageWindow: "neuron_stitcher_zoom_view"
V3d_PluginLoader newImageWindow: XFormWidget(0x1fb2140ecc0)
V3d_PluginLoader setImage: 0x1fb2140ecc0 0x1fb2478a450
MainWindow setImage now: XFormWidget(0x1fb2140ecc0) 0x1fb2478a450
[000001FB2478A8F0]
now in the function setImageData() line=4886.
channel 0 min=[0] max=[0]
channel 1 min=[0] max=[0]
ChannelTable::linkXFormWidgetChannel CDim=2
CTU_3 CTU_1 CTU_2 CTU_1 CTU_2 CTU_3 CTU_3 CTU_1 CTU_2 CTU_3 CTU_1 CTU_2 CTU_1 CTU_2 CTU_3 CTU_3 CTU_1 CTU_2 CTU_1 CTU_2 CTU_3 succeed in setting up image data.
XFormWidget::setCurrentFileName: "neuron_stitcher_zoom_view_processed"
MainWindow setLandmark: XFormWidget(0x1fb2140ecc0) 0xf9417fac28
CTU_3 Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.
Catch an exception at the main application level. Basically you should never see this. Please click Ok to quit and send the error log to the Vaa3D developers to figure out the problem.
QPainter::end: Painter ended with 3 saved states
Apr 20, 2021  08:04 AM | Yanyan Guo
RE: Need help with neuron stitcher plugin
Hi! I think the reason why the program crashed is that the Qt version is incompatible. 

I downloaded the test data and the Vaa3D (Qt 4.7.2 64-bit version) provided by the Neuron Stitcher website, and it worked. Then I ran the Neuron Stitcher using the same test data with the Vaa3D (Qt 4.8.6 64-bit version), and the program crashed as well. We have recompiled the plugin of the Vaa3D (Qt 4.8.6 64-bit version), and it works now.


Solution:
Attached is the recompiled file with the Vaa3D (Qt 4.8.6 64-bit version), you can replace the original file with it directly.
(original file: "C:/Users/USER/Downloads/Vaa3D_V4.001_Windows_MSVC_64bit/Vaa3D_V4.001_Windows_MSVC_64bit/plugins/neuron_stitch/1_stitchers")

The link below is some demo videos. If you are interested, you can check these videos below for more information.
http://cobweb.cs.uga.edu/~hanbo/4press/n...


I hope my answer is helpful to you. If you have any questions, please feel free to ask me.

Good luck!
Attachment: 1_stitchers.zip
Apr 20, 2021  03:04 PM | marinka88
RE: Need help with neuron stitcher plugin
Thank you so much for your help!
I just updated the plugin, and the program works fine!