Described is a method for imparting a substantive fragrance to fabrics being washed or dried in a washing machine or clothes dryer by means of tumbling the fabrics with one or more sachets, each of which contains fragrance-containing particles. Developers may build application programs for FSO business transactions with increased flexibility to changing business requirements and reduced development time. Then, a 3-D distance transform is applied to the entire CT volume based on the expanded scribbles.