[SkyDetector] add createPattern() to make initSPixelAdj16() method simpler.