A non-transitory computer-readable medium comprising computer-readable program codes, performed by an illusion-considered image generating apparatus comprising at least a storage unit and a control unit,
- the storage unit comprising:
- a filter storage unit that stores a wavelet frame with orientation selectivity or a filter bank with orientation selectivity that is a set of an approximate filter with no orientation and a plurality of detail filters with respective orientations;
- and
- an image data storage unit that stores image data;
- and
- the program codes when executed causing the control unit to execute:
- a decomposing step of performing multiresolution decomposition on the image data by using the wavelet frame with orientation selectivity or the filter bank with orientation selectivity and obtaining subband signals;
- and
- a reconstructing step of reconstructing an image by summing the subband signals that are obtained at the decomposing step and obtaining reconstructed image data;
- and
- the decomposing step further including a coefficient processing step of performing, between a decomposition phase and a synthesis phase in the multiresolution decomposition, coefficient processing on decomposition detail coefficients that are output from the decomposition phase such that the larger the energy of the decomposition detail coefficients is, the more small values are increased, and the smaller the energy of the decomposition detail coefficients is, the more small values are further reduced.