test getsuperpixel and get2darray