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

2020-04-24 02:02:02 -0500 | received badge | ● Famous Question (source) |

2017-08-28 05:27:13 -0500 | received badge | ● Good Question (source) |

2017-08-28 05:05:05 -0500 | received badge | ● Notable Question (source) |

2016-06-22 02:02:40 -0500 | received badge | ● Famous Question (source) |

2015-10-14 01:32:17 -0500 | received badge | ● Notable Question (source) |

2015-06-08 02:32:38 -0500 | received badge | ● Popular Question (source) |

2013-01-09 10:39:03 -0500 | commented answer | Calculating distance from the pixel value of a disparity map I suppose that is possible, but I only need to find the distance of, say, a single pixel, and can ignore the rest of the image. It would be a bit inefficient to calculate the 3D position of all of the image.. |

2013-01-09 08:44:10 -0500 | asked a question | Calculating distance from the pixel value of a disparity map Hi, I have been looking for a simple solution for a while, but haven't come across anything so.. I have generated a disparity map using the OpenCV StereoBM and StereoSGBM functions and a pair of cameras. I have all of the camera parameters generated by stereo_calib. Is there a fairly straightforward way to calculate the distance using all of this information given the grayscale value of the pixel? Thanks |

2012-07-23 04:26:46 -0500 | received badge | ● Scholar (source) |

2012-07-23 04:26:33 -0500 | received badge | ● Supporter (source) |

2012-07-22 11:51:47 -0500 | received badge | ● Nice Question (source) |

2012-07-22 03:59:37 -0500 | received badge | ● Student (source) |

2012-07-21 14:58:22 -0500 | received badge | ● Editor (source) |

2012-07-17 00:36:34 -0500 | received badge | ● Popular Question (source) |

2012-07-16 04:42:56 -0500 | asked a question | Sobel derivatives in the 45 and 135 degree direction Hi, From the documentation, the Sobel edge detector seems to work only for horizontal and vertical direction edges (by specifying 0,1 or 1,0). Is there any way to get diagonal edges (i.e. 45deg and 135deg) with cvSobel (not cvCanny)? Thanks UPDATE: Thanks for the suggestions! I can get what I need by rotating the image beforehand, but it is quite inefficient. I need to access the pixels for both the x-yand diagonal45-diagonal135 matrices, so by rotating the image, I incur the penalty of an extra pass over the pixels. I've come across :
sqrt((Y Many thanks. |

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