0
private static IEnumerable<bool[]> InMemGetBooleanArray(Bitmap bitmap)
{
BitmapData data = bitmap.LockBits(new Rectangle(0, 0, bitmap.Width, bitmap.Height), ImageLockMode.ReadOnly, PixelFormat.Format1bppIndexed);
bool[][] ba2 = new bool[bitmap.Height][];
unsafe
...