Taroimo Science Lab日本語

All simulationsMenu

← All simulations

Image and Frequency Lab

Exaggerated displayExperiments & measurement

A lab for seeing an image as "a sum of stripe patterns of many sizes and directions." Choose frequencies with the 2D Fourier transform and rebuild the image, separate brightness from color and subsample only the color, blur an image into black and white, or examine JPEG's 8×8 DCT.

Last updated
Update history (2)
  • Improved A new “Spectrum brightness” choice under the Fourier transform settings. The default is still the log-scale brightness exaggerated for visibility. “True ratios” draws brightness in proportion to the amplitude and shows the largest component besides DC as a percentage of DC, so you can see at a glance why spectra are usually viewed on a log scale.
  • Improved The Thresholding mode has a new "Hide the original and blurred images" option, so you can show only the two-tone picture and ask what people see.
See all updates →
  • Use "Mode" to choose the 2D Fourier transform, luma and chroma in YCbCr, thresholding into Mooney images, or the 8×8 DCT used in JPEG.
  • Fourier transform: drag on the spectrum in the middle to resize the circle of kept frequencies; the rebuilt image appears on the right. Use "Frequencies to keep" to switch to high-pass, band-pass, painting by hand or picking points one at a time.
  • Fourier transform: "Spectrum brightness" switches between brightness exaggerated for visibility and true ratios, proportional to the amplitude ∣F∣|F|. The default is exaggerated. With true ratios, the text to the right of the pictures shows the largest component besides DC as a percentage of DC.
  • When picking points, turn on "When picking points, also show the image from one point of each pair alone (real and imaginary parts of a complex image; for comparison)" to see, in the lower row, the real and imaginary parts of the inverse transform without the mirror point. Gray means 0. It is off by default. While it is on, the panel explains what is shown and links to the section of the article that works it through.
  • The primary button gradually widens the radius, steps through the subsampling schemes, strengthens the blur or lowers the quality. Its name changes with the mode. "Advance one stage", or ⏭ Step in the toolbar, moves it on one stage at a time, and "Stop the automatic change" ends it there.
  • Luma and chroma: choose "Component to reduce" and "Subsampling", and compare the image with reduced chroma against the image with luma reduced by the same amount.
  • Thresholding: move "Blur strength σ\sigma" and "Threshold". You can also move the threshold by dragging the purple line on the histogram. "Set the threshold by Otsu's method" chooses it automatically. "Hide the original and blurred images" shows only the two-tone picture.
  • 8×8 DCT: change "Quality", and tap the left image to choose a block; its quantized coefficients appear on the right.
  • Choose a procedurally drawn picture under "Image", or load your own with "Choose an image file". A loaded image is processed only on your device.