fCal temporal calibration requires BRIGHTNESS but OpenCVVideo provides RGB_COLOR #1266
Unanswered
patigarciaa
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to perform temporal calibration using fCal with:
• Tracker: NDI Polaris Vega VT
• Ultrasound: Philips Lumify
• Video streamed from tablet using ScreenStream (MJPEG)
The video is received in PlusToolkit using OpenCVVideo.
The problem is that when I try temporal calibration, fCal reports:
expected image type is BRIGHTNESS, actual type is RGB_COLOR
I tried:
• setting ImageType="BRIGHTNESS"
• converting the stream to grayscale using ffmpeg
• replaying the video from file using OpenCVVideo
However fCal still detects the input as RGB_COLOR.
The video is grayscale visually but internally stored as 3-channel RGB.
Is there a way to force Plus/fCal to convert the input to BRIGHTNESS before temporal calibration?
PlusToolkit version: PlusApp-2.8.0.20250221-Win64
Operating system: Windows
Video source pipeline: Lumify → tablet → ScreenStream → MJPEG → OpenCVVideo → fCal
Configuration file: xml
option 1:
fcal_directo.xml
in both cases i get the error: |ERROR|010.151000| vtkPlusLineSegmentationAlgo video input data verification failed: video data orientation or type is not supported (MF orientation, BRIGHTNESS type is expected)| in E:\D\PSNP64b\PlusLib\src\PlusCalibration\vtkLineSegmentationAlgo\vtkPlusLineSegmentationAlgo.cxx(132)
Full error message:
|ERROR| vtkPlusTrackedFrameList::VerifyProperties failed: expected image type is BRIGHTNESS, actual type is RGB_COLOR
|ERROR| vtkPlusLineSegmentationAlgo video input data verification failed: video data orientation or type is not supported (MF orientation, BRIGHTNESS type is expected)
Beta Was this translation helpful? Give feedback.
All reactions