dds
dds copied to clipboard
About DDS stream B encode.
Hi, I have read your paper. Great work. In the paper, DDS sets pixels outside of the feedback regions in the high-quality image to black and encodes these images into a video file. However, I don't find where this process is in your code. Thus, where is the code that sets outside of the feedback regions in the high-quality image to black?
Thank you for your help.
In dds_utils.py, the crop_images function contains these two lines:
if region.fid not in cropped_images:
cropped_images[region.fid] = np.zeros_like(cached_image[1])
So the background of the high-quality image will be (R,G,B) = (0, 0, 0), which is black.