Closed jonortega77 closed 2 weeks ago
XML config file:
Log:
|INFO|000.073000| Toolbox changed to Configuration| in E:\D\PTNPCb\PlusApp\fCal\fCalMainWindow.cxx(330) |INFO|491.684000| Connect to devices| in E:\D\PTNPCb\PlusApp\fCal\Toolboxes\QConfigurationToolbox.cxx(158) |WARNING|492.713000| Buffer item is not in the buffer (Uid: 0)!| in E:\D\PTNPCb\PlusLib\src\PlusDataCollection\vtkPlusTimestampedCircularBuffer.cxx(176) |WARNING|492.713000| Unable to get timestamp from ReferenceToTracker tool tracker buffer for time: 0| in E:\D\PTNPCb\PlusLib\src\PlusDataCollection\vtkPlusChannel.cxx(1295) |WARNING|492.714000| Buffer item is not in the buffer (Uid: 0)!| in E:\D\PTNPCb\PlusLib\src\PlusDataCollection\vtkPlusTimestampedCircularBuffer.cxx(176) |WARNING|492.714000| Unable to get timestamp from StylusToTracker tool tracker buffer for time: 0| in E:\D\PTNPCb\PlusLib\src\PlusDataCollection\vtkPlusChannel.cxx(1295) |WARNING|492.714000| Buffer item is not in the buffer (Uid: 0)!| in E:\D\PTNPCb\PlusLib\src\PlusDataCollection\vtkPlusTimestampedCircularBuffer.cxx(176) |WARNING|492.714000| Unable to get timestamp from ToolToTracker tool tracker buffer for time: 0| in E:\D\PTNPCb\PlusLib\src\PlusDataCollection\vtkPlusChannel.cxx(1295) |ERROR|492.714000| Failed to get most recent timestamp from all the tracker tools| in E:\D\PTNPCb\PlusLib\src\PlusDataCollection\vtkPlusChannel.cxx(1312) |ERROR|492.714000| vtkPlusChannel::GetTrackedFrameListSampled failed: unable to get most recent timestamp. Probably no frames have been acquired yet.| in E:\D\PTNPCb\PlusLib\src\PlusDataCollection\vtkPlusChannel.cxx(1066) |ERROR|492.714000| Error while getting tracked frame list from data collector during capturing. Last recorded timestamp: 492.713000| in E:\D\PTNPCb\PlusLib\src\PlusDataCollection\VirtualDevices\vtkPlusVirtualCapture.cxx(343) |WARNING|492.780000| vtkPlusChannel::GetTrackedFrameListSampled: Frames in the buffer are not available any more at time: 492.713000. Skipping 0.111000 seconds from the recording to catch up. Increase the buffer size or decrease the acquisition rate to avoid this situation.| in E:\D\PTNPCb\PlusLib\src\PlusDataCollection\vtkPlusChannel.cxx(1091) |ERROR|492.911000| Unable to retrieve number of scalar components.| in E:\D\PTNPCb\IGSIO\SequenceIO\vtkIGSIONrrdSequenceIO.cxx(584) |ERROR|492.913000| Unable to prepare header| in E:\D\PTNPCb\PlusLib\src\PlusDataCollection\VirtualDevices\vtkPlusVirtualCapture.cxx(611) |WARNING|493.721000| DefaultSelectedChannelId: TrackedVideoStream is not a valid channel. Selecting first available.| in E:\D\PTNPCb\PlusApp\fCal\Toolboxes\QConfigurationToolbox.cxx(650) |WARNING|493.721000| No default channel selected, first channel found is now active.| in E:\D\PTNPCb\PlusApp\fCal\Toolboxes\QConfigurationToolbox.cxx(657) |ERROR|493.722000| Image coordinate frame is not specified in the fCal section of the configuration!| in E:\D\PTNPCb\PlusApp\fCal\Toolboxes\QConfigurationToolbox.cxx(400) |ERROR|493.722000| Failed to read fCal configuration| in E:\D\PTNPCb\PlusApp\fCal\Toolboxes\QConfigurationToolbox.cxx(199) |INFO|493.959000| No image found in the displayable object list, it will not be displayed!| in E:\D\PTNPCb\PlusApp\fCal\vtkPlus3DObjectVisualizer.cxx(452) |WARNING|493.960000| No Segmentation element is found in the XML tree! Using default values| in E:\D\PTNPCb\PlusApp\fCal\vtkPlusImageVisualizer.cxx(665)
Solved, here is the new config file
Description: I am unable to view the phantom model in fCal, which prevents me from performing phantom registration to obtain the PhantomToReference transformation matrix. This limitation is difficulting me to complete the spatial calibration of the ultrasound.
Note! Stylus Calibration perform before trying the Phantom Registration.
Steps to Reproduce:
Expected Behavior: The phantom model should be visible along with the Stylus (visible) and accessible for registration, allowing me to obtain the necessary transformation matrix for spatial calibration.
Actual Behavior: The phantom model does not appear, and I am unable to proceed with the phantom registration process.
Screenshots:
Here is my XML config file:
`
<PlusOpenIGTLinkServer MaxNumberOfIgtlMessagesToSend="1" MaxTimeSpentWithProcessingMs="50" ListeningPort="18944" SendValidTransformsOnly="true" OutputChannelId="TrackerStream" >
<fCal PhantomModelId="PhantomModel" ReconstructedVolumeId="Volume" TransducerModelId="ProbeModel" StylusModelId="StylusModel" ImageDisplayableObjectId="LiveImage" NumberOfCalibrationImagesToAcquire="200" NumberOfValidationImagesToAcquire="100" NumberOfStylusCalibrationPointsToAcquire="200" RecordingIntervalMs="100" MaxTimeSpentWithProcessingMs="70" TemporalCalibrationDurationSec="10" FixedChannelId="VideoStream" FixedSourceId="Video" MovingChannelId="TrackerStream" MovingSourceId="ReferenceToTracker" DefaultSelectedChannelId="TrackedVideoStream" FreeHandStartupDelaySec="3" />
<vtkPlusPivotCalibrationAlgo ObjectMarkerCoordinateFrame="Stylus" ReferenceCoordinateFrame="Reference" ObjectPivotPointCoordinateFrame="StylusTip" />
<vtkPlusPhantomLandmarkRegistrationAlgo PhantomCoordinateFrame="Phantom" ReferenceCoordinateFrame="Reference" StylusTipCoordinateFrame="StylusTip" />
<vtkPhantomLinearObjectRegistrationAlgo PhantomCoordinateFrame="Phantom" ReferenceCoordinateFrame="Reference" StylusTipCoordinateFrame="StylusTip" />
`
Environment:
fCal Version: 2.9.0.0 Operating System: Windows 11
Additional Information: This issue is critical for my project as I need the PhantomToReference transformation matrix for spatial calibration of the ultrasound. Please let me know if there are any logs or additional information I can provide to assist in resolving this issue.
Note! The PhantomDefinition shown in the XML config file has been taken from another existing config file that also use fCal_2.0.stl phantom. `
<Description
Name="fCAL"
Type="Multi-N"
Version="2.0"
WiringVersion="2.0"
Institution="Queen's University PerkLab" />
`
Any help would be appreciated !
Thanks,
Jon