Ivisible coat12/25/2023 ![]() We are now changing the mask and in part 2 we are replacing all the colored pixels with frame. (showing this will display white colored Cloak and rest everything as black) In part 1 we are extracting the colored pixels of the cloak (here red) and masking all other pixels. We are finding and calculating the rgb to hsv value you can also google and use online conversions available and write the upper and lower limits of the color so that colors in that range only can be masked. What we are doing here is we are reading the background image and then while our camera is opened and is in working condition we are recording the the current display. The major advantage of using the HSV color space is that the color/tint/wavelength is represented by just the Hue component. Value works in conjunction with saturation and describes the brightness or intensity of the colour, from 0–100 percent, where 0 is completely black, and 100 is the brightest and reveals the most colour. Shading and gloss components of an image appear in this channel.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |