i am just following up on the PI forum. the crux of this is that the SGP-generated images have an odd number of rows. this is not normal for an OSC and it's why flipping the image has no effect on the debayering method.
i don't think this is necessarily a problem with SGP; i think it is something to do with how the Atik ASCOM driver has been set up.