This forum is disabled, please visit https://forum.opencv.org

1 | initial version |

Thanks! I have switched to `unsigned short* dataMat1 = frame1.ptr<unsigned short>();`

, but it gives me even more different results ( i am running the resulting * through an ICP function and comparing the transformation matrix, with this change it gives me all zeros...)

2 | No.2 Revision |

Thanks! The answer was 2.
I have switched to `unsigned short* dataMat1 = frame1.ptr<unsigned short>();`

, but it gives me even more different results ( i am running the resulting * through an ICP function and comparing the transformation matrix, with this change it gives me all zeros...)

3 | No.3 Revision |

Thanks! The answer was 2.
I have switched to `unsigned short* dataMat1 = frame1.ptr<unsigned short>();`

, but it gives me even more different results ( i am running the resulting * through an ICP function and comparing the transformation ~~matrix, with this change it gives me all zeros...)~~matrix)

4 | No.4 Revision |

Thanks! The answer was 2.
I have switched to `imread(frame1, -1)`

and `unsigned short* dataMat1 = frame1.ptr<unsigned short>();`

, but it gives me even more different results ( i am running the resulting * through an ICP function and comparing the transformation matrix)

5 | No.5 Revision |

Thanks! The answer was 2.
I have switched to `imread(frame1, -1)`

and `unsigned short* dataMat1 = frame1.ptr<unsigned short>();`

,
but it gives me even more different results ( i am running the resulting * through an ICP ~~function ~~function, along with another, and comparing the transformation matrix)

6 | No.6 Revision |

Thanks! The answer was 2.
I have switched to `imread(frame1, -1)`

and initModel((unsigned short*)frame1.data);`,
but it gives me even more different results ( i am running the resulting * through an ICP function, along with another, and comparing the transformation matrix)`unsigned short* dataMat1 = frame1.ptr<unsigned short>();`

,

7 | No.7 Revision |

Thanks! The answer was 2.
I have switched to `imread(frame1, -1)`

and initModel((unsigned short*)frame1.data);`, ~~
but ~~And once i add the scaling that is evident in the pangolin function, it ~~gives me even more different results ( i am running the resulting * through an ICP function, along with another, and comparing the transformation matrix)~~looks identical. Thank you very much for your help!

Copyright OpenCV foundation, 2012-2018. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.