2020-04-14 01:47:31 -0600 | received badge | ● Popular Question (source) |
2014-07-27 10:01:17 -0600 | asked a question | Imread a string location I'm trying to load images from locations written in a file. It reads the string fileLocation correctly, and if I write the actual location (for example: imread("images/tif/image-001.tif", 1)) it also works. However, combining them seems to give me an empty image message. Please help. |
2014-02-16 11:33:16 -0600 | received badge | ● Editor (source) |
2014-02-16 11:31:45 -0600 | asked a question | destroyWindow closes all windows and stops c++ program I'm writing an live video processing program in c++, and want to be able to toggle three windows with the same mjpeg stream, in color, grayscale, and monochrome. I have all the image feeds running, but, since my screen is small, I want to be able to toggle them on and off individually. To do this, I have written the code below, but calling destroyWindow("[windowname]"); stops the whole program, instead. I've already read the documentation, and putting void in front of it doesn't help. Can anybody tell me what I'm doing wrong? I already tried asking on stackoverflow. There wasn't much help there. Here's the code (it's in an infinite loop, until the break you see below is called): |