Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

Hough Transform example: Result of cvtColor()

$
0
0
I am learning to implement Hough transform and I have [this](http://docs.opencv.org/2.4/doc/tutorials/imgproc/imgtrans/hough_lines/hough_lines.html) example program from OpenCV documentation. It contains the following two lines of code: Canny(src,dst,50,200,3); cvtColor(dst,cdst, CV_GRAY2BGR); I tried displaying both `dst` and `cdst`. Both these images look the same. So, I wonder why `cvtColor` is applied? Is `cdst` created for the sole purpose of displaying lines detected in `dst`?

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>