A convertible roof system includes a front roof section, a rear roof section, an automatically power actuator and a linkage mechanism. A binary image is received which contains pixels that have been classified using a pixel classification method. Because the membranes are mechanically coupled, the initially curved rear membrane causes the initially flat front membrane to bow away from the front surface of the mandrel.