An optical resonator configured to be tuned using a charge-based memory cell includes an optical cavity configured to transmit light and receive injected charge carriers; a charge-based memory cell in proximity to or within the optical cavity, the memory cell containing a number of trapped charges which influence the resonant optical frequency of the optical resonator. In one aspect of the invention, an integrated circuit package includes a substrate, and a plurality of discrete components connected to the substrate and approximately forming a component layer parallel to and aligned with a surface area of the substrate. A region integration section receives the \u201ceach image data and region attribute \u201d from the image processing section, integrates it with image data of the same attribute, which is designated from an operation panel, on a bitmap level, and outputs \u201cintegrated bitmap data and region attribute \u201d.