An apparatus and method for encoding and decoding an image are provided. A wearable footwear ecosystem is comprised of the subject’s footwear, sensor-enabled insoles or insertable devices, in- or on-footwear electronics that is hard wired to the sensors and may contain additional sensors such as accelerometers, a master device and means to communicate among the various sensor platforms, and the master device including clock synchronization. Each resistive elements includes a plurality of resistors connected in parallel, and a plurality of second switches each of which is connected with a corresponding one of the resistors. A waist fit member extends across the rear region and is connected to a portion of the drawstring member. The polymeric fluorescent material comprises a mesoporous acrylamide polymer including at least one repeating unit.