Dear Deqiang,

the member m_CameraIntrinsics basically holds the intrinsic parameters of the 
ToF camera. The initialization of these parameters is based on one instance of 
the PMD CamCube cameras and thus not applicable for the SR4000.

What you have to do to generate those is to apply some intrinsic calibration 
method, e.g. the one implemented in OpenCV 
(http://opencv.itseez.com/trunk/doc/tutorials/calib3d/camera_calibration/camera_calibration.html)
 and set the calculated parameters for the filter.

Unfortunately these parameters cannot be set directly in the ToFUtil plugin but 
this issue is already on our ToDo list 
(http://bugs.mitk.org/show_bug.cgi?id=6888). 

Regards,
Alex

-----Ursprüngliche Nachricht-----
Von: Deqiang Xiao [mailto:[email protected]] 
Gesendet: Dienstag, 28. August 2012 15:57
An: [email protected]
Betreff: [mitk-users] About the intrinsic parameters of ToF camera set in 
ToFDistanceImageToPointSetFilter class

Dear all,

In mitkToFDistanceImageToPointSetFilter.cpp
(MITK\Modules\ToFProcessing\mitkToFDistanceImageToPointSetFilter.cpp),
constructor of ToFDistanceImageToPointSetFilter class is implemented
as below:

mitk::ToFDistanceImageToPointSetFilter::ToFDistanceImageToPointSetFilter()
: m_Subset(NULL), m_CameraIntrinsics(), m_InterPixelDistance()
{
  m_InterPixelDistance.Fill(0.045);
  m_CameraIntrinsics = mitk::CameraIntrinsics::New();
  m_CameraIntrinsics->SetFocalLength(295.78960196187319,296.1255427948447);
  m_CameraIntrinsics->SetPrincipalPoint(113.29063841714108,97.243216122015184);
  
m_CameraIntrinsics->SetDistorsionCoeffs(-0.36874385358645773f,-0.14339503290129013,0.0033210108720361795,-0.004277703352074105);
}

my question is that how to get those data values representing
parameters of ToF camera  and whether it needs to change these values
if I use SwissRanger SR4000 camera?

Any help is very appreciated!

Regards,
Deqiang

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to