Based on this How to get access to pixel data of the active layer? - #20 by Denyoze discussion, does not look like its accessible.
Based on this How to get access to pixel data of the active layer? - #20 by Denyoze discussion, does not look like its accessible.