chromakey

chromakey - dist= sqrt((r1-r2)^2+(g1-g2)^2+(b1-b2)^2); end

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
function dist=chromakey(r2,g2,b2) r1=069; g1=140; b1=020;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: dist= sqrt((r1-r2)^2+(g1-g2)^2+(b1-b2)^2); end...
View Full Document

This note was uploaded on 09/15/2011 for the course EE 150 at USC.

Ask a homework question - tutors are online