[M4IF Technotes] Mask pictures (binary or shape images) problem
Chen Zhenzhong
zhenzhongc hotmail.com
Thu Aug 1 00:35:38 EDT 2002
Dear BianSH,
To encode the arbitrarily shaped object, you are required to set proper parameters in the parameter files. In the MS reference software, please set the Alpha.Type=Bianry (or ShapeOnly for encoding the shape only) in the file example.par.
The "seg" file has a format similar to YUV luminance file (no file header). It contains only two values, 0 or 255 where 0 indicate it does not belong to the object and 255 indicate it belongs to the object. You 'd better extract the mask picture frame by frame from the "seg" file before you transform it into bmp format. For example, you may save the extracted picture with the extend name ".raw", which can be opened with PhotoShop such that you may save it as a bmp file.
Regards,
Chen Zhenzhong
----- Original Message -----
From: BianSH
To: technotes lists.m4if.org
Sent: Wednesday, July 31, 2023 10:04 PM
Subject: [M4IF Technotes] Mask pictures (binary or shape images) problem
I have a question about the Masks for MPEG-4 video sequences on M4IF's resource page.
I download all .seg.zip files and unzip them, but i don't realize how to use the .seg files.
How can I get the mask sequences (ex:bmp files) from the "seg" file?
On the other hand, i wonder that where we can obtain the mask sequences on Internet to test our research?
Grateful for your answers!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/mp4-tech/attachments/20020731/06d18044/attachment.html
More information about the Mp4-tech
mailing list