public RawImage ExtractLight()
{
byte[] res = new byte[ImageData.Length];
for(int i = 0; i < res.Length; i++)
{
byte b = ImageData[i];
if(b >= 192)
res[i] = b;
}
return new RawImage(res, GetWidth(), GetHeight());
}
ImageBase::ExtractLight ( |