background-foreground

How to properly wait for foreground/background processes in my own shell in C?

In this previous question I posted most of my own shell code. My next step is to implement foreground and background process execution and properly wait for them to terminate so they don't stay as "zombies". Before adding the possibility to run them in the background, all processes were running in the foreground. And for that, I simply ...

Video processing using VCAPG2 MATLAB

Hi; any suggestion about of how can I use the VCAPG2.dll in background or segmentation processing?, thanks for your help. I'm using the follow code (from an example by de author), for processing in real time, I was trying to convert in binary image, I hope you can help me. clear all; cardnum=vcapg2; % you will get available video cap...

how to remove background image and get fore image

there are two images one is background image another one is a person's photo with the same background ,same size,what i want to do is remove the second image's background and distill the person's profile only. the common method is subtract first image from the second one,but my problem is if the color of person's wear is similar to ...

Selected item in listbox unreadable because of the color

I dynamically create a collection of stackpanels in my listbox. In this stackpanel are contained labels and checkbox horizontally aligned. The problem is when I click on a stackpanel, the selection is unreadable because the line become dark-blue whereas the letters stay black so black on blue, you see nothing... how can I dynamically c...

iphone 4 sdk : detect return from background mode

Hi, how one can detect that the app just return from "background mode"? I mean, I don't want my app to fetch data (each 60 sec) when the user press the "home button". But, I'd like to make some "special" update the first time the app is in foreground mode. How to detect this two events : app going to background mode (or "is this app ...