2015-03-19 07:45:26 -0600 | received badge | ● Student (source) |
2015-03-19 06:58:42 -0600 | asked a question | Decorationless Window - How?? Hello, My display's resolution is 1920x1080. I want to show images which are size of 1920x1080 on this display. But window decorations (titlebar and borders) eat into my display area. How can I overcome this? What is the best way to go fully fullscreen? Setting CV_WND_PROP_FULLSCREEN to CV_WINDOW_FULLSCREEN removes titlebar but borders remain. :( |
2015-03-10 13:47:16 -0600 | commented answer | How to calculate the YUV values of a grayscale image ? You are welcome. |
2015-03-10 12:30:33 -0600 | commented answer | How to calculate the YUV values of a grayscale image ? Yes it is. |
2015-03-10 12:24:20 -0600 | commented question | Failing to display YUV image correctly Old code is not mine and it is pretty large for me to convert from c to c++. |
2015-03-10 12:12:53 -0600 | received badge | ● Critic (source) |
2015-03-10 12:12:46 -0600 | answered a question | How to calculate the YUV values of a grayscale image ? An YUV image is composed of three channels: luminance/luma (Y/Y'), chroma blue (U), chroma red (V). If your image is in YUV space and appears grayscale, it has no blue and red components, only luminance, zero blue and red components. Or if your image is in RGB space and grayscale, its R, G and B values are not too diverse, e.g. (R,G,B) = (120,115,123). Conversion is done by: |
2015-03-10 07:44:38 -0600 | commented question | Failing to display YUV image correctly I know, but I must use C-interface if I can. Because my code will be integrated with an old code. :( Reason of error is, I think, cvResize(). When I shrink the Y component, merge with U and V, convert, I get correct colors then -but with a small sized image (320x240). I think I need help with this cvResize() function. |
2015-03-10 07:35:36 -0600 | received badge | ● Editor (source) |
2015-03-10 07:15:55 -0600 | asked a question | Failing to display YUV image correctly Hello, I am writing a program that must read from a 4:2:0 chroma subsampled yuv video file and display it on screen. Program is working but shows wrong colors. And I could not find where error is. Picture I see: Picture I must see: Unfortunately, I must use OpenCV 2.1 and C API (iplimage...). My code: PS: Using CV_YCrCb2RGB instead of CV_YCrCb2BGR as above, does not help too. I still get some artificial vertical lines. |