View Single Post
Old 19th June 2008, 08:49   #4  |  Link
mikeytown2
Resize Abuser
 
mikeytown2's Avatar
 
Join Date: Apr 2005
Location: Seattle, WA
Posts: 623
Never done logo removal, but I do know that the mask should be black and white. Here is my lame attempt, I recommend using rm_logo(). Upload the mask as Black&White and convert it to PNG, most image hosting sites will take it, because of the reduced file size.

Code:
source = ImageReader("6071.png",0,0, pixel_type="RGB32")
masked = ImageReader("Logomask.bmp",0,0, pixel_type="RGB32").ConvertToRGB32()

ConvertToBW = masked.GrayScale().Levels(0,2.0,96,0,255)

LogoMask = Mask(ConvertToBW,ColorKeyMask(ConvertToBW,$FFFFFF, 50))

source.Subtitle("Before", align=5)
last + Layer(source, LogoMask, "subtract", 75).Subtitle("After", align=5)
Your next step is to make a note of the frame ranges where the logo exists. Once you do that then you can use rm_logo(). here is a logo removal example using rm_logo().

Last edited by mikeytown2; 19th June 2008 at 08:55.
mikeytown2 is offline   Reply With Quote