What is a good image algorithm that will convert a background of one color to another? One that will handle edge effects on the border between the background and the rest of the image? -- % Randy Yates % "With time with what you've learned, %% Fuquay-Varina, NC % they'll kiss the ground you walk %%% 919-577-9882 % upon." %%%% <yates@ieee.org> % '21st Century Man', *Time*, ELO http://home.earthlink.net/~yatescr
Image Processing to transform background
Started by ●September 2, 2004
Reply by ●September 3, 20042004-09-03
"Randy Yates" <yates@ieee.org> wrote in message news:pt54no7j.fsf@ieee.org...> What is a good image algorithm that will convert a background of one color > to another? One that will handle edge effects on the border between the > background and the rest of the image?Randy, I think the first problem is defining what is "background". You can do it in Photoshop very easily because it's defined. Otherwise for a general 2-D image without layers it's a lot tougher. Fred
Reply by ●September 3, 20042004-09-03
Randy Yates <yates@ieee.org> wrote in message news:<pt54no7j.fsf@ieee.org>...> What is a good image algorithm that will convert a background of one color > to another? One that will handle edge effects on the border between the > background and the rest of the image?Randy, The keywords I'd use are "flood fill" and "graphics gems". There was a series of books called "Graphics Gems" that have some wonderful algorithms for, er, graphics. Google throws up: http://www.codeproject.com/gdi/QuickFill.asp as the first hit, it looks like a decent tutorial. I'm not sure it's precisely what you're after, but it might give you a start. Ciao, Peter K.
Reply by ●September 3, 20042004-09-03
"Peter Kootsookos" <p.kootsookos@iolfree.ie> wrote in message news:3fca8095.0409031610.762468bf@posting.google.com...> The keywords I'd use are "flood fill" and "graphics gems".I think Randy's after "blue screen" and "chroma key". I regret that I have else little to offer on the subject. -- Matt
Reply by ●September 4, 20042004-09-04
"Matt Timmermans" <mt0000@sympatico.nospam-remove.ca> wrote in message news:<n78_c.27554$CG3.1981901@news20.bellglobal.com>...> "Peter Kootsookos" <p.kootsookos@iolfree.ie> wrote in message > news:3fca8095.0409031610.762468bf@posting.google.com... > > The keywords I'd use are "flood fill" and "graphics gems". > > I think Randy's after "blue screen" and "chroma key". >Perhaps; either way, I reckon the algorithm I pointed to would do the job. Randy? Can you give some more detail about what you're after. Ciao, Peter K.