<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article">
 <front>
  <journal-meta>
   <journal-id journal-id-type="publisher-id">
    jamp
   </journal-id>
   <journal-title-group>
    <journal-title>
     Journal of Applied Mathematics and Physics
    </journal-title>
   </journal-title-group>
   <issn pub-type="epub">
    2327-4352
   </issn>
   <issn publication-format="print">
    2327-4379
   </issn>
   <publisher>
    <publisher-name>
     Scientific Research Publishing
    </publisher-name>
   </publisher>
  </journal-meta>
  <article-meta>
   <article-id pub-id-type="doi">
    10.4236/jamp.2025.135097
   </article-id>
   <article-id pub-id-type="publisher-id">
    jamp-142782
   </article-id>
   <article-categories>
    <subj-group subj-group-type="heading">
     <subject>
      Articles
     </subject>
    </subj-group>
    <subj-group subj-group-type="Discipline-v2">
     <subject>
      Physics 
     </subject>
     <subject>
       Mathematics
     </subject>
    </subj-group>
   </article-categories>
   <title-group>
    Super-Resolution Using Fourier Image Transformer
   </title-group>
   <contrib-group>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Leith
      </surname>
      <given-names>
       Uwaydah
      </given-names>
     </name>
    </contrib>
   </contrib-group> 
   <aff id="affnull">
    <addr-line>
     aAmerican Community School Beirut (ACS), Beirut, Lebanon
    </addr-line> 
   </aff> 
   <pub-date pub-type="epub">
    <day>
     08
    </day> 
    <month>
     05
    </month>
    <year>
     2025
    </year>
   </pub-date> 
   <volume>
    13
   </volume> 
   <issue>
    05
   </issue>
   <fpage>
    1744
   </fpage>
   <lpage>
    1761
   </lpage>
   <history>
    <date date-type="received">
     <day>
      6,
     </day>
     <month>
      March
     </month>
     <year>
      2025
     </year>
    </date>
    <date date-type="published">
     <day>
      23,
     </day>
     <month>
      March
     </month>
     <year>
      2025
     </year> 
    </date> 
    <date date-type="accepted">
     <day>
      23,
     </day>
     <month>
      May
     </month>
     <year>
      2025
     </year> 
    </date>
   </history>
   <permissions>
    <copyright-statement>
     © Copyright 2014 by authors and Scientific Research Publishing Inc. 
    </copyright-statement>
    <copyright-year>
     2014
    </copyright-year>
    <license>
     <license-p>
      This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/
     </license-p>
    </license>
   </permissions>
   <abstract>
    The primary goal of Super-Resolution (SR) is to reconstruct an image of higher quality from an image of lower quality. The Fourier transform helps in this process by recovering lost, high-frequency details. Various applications, such as satellite imaging, forensics, and surveillance, require high resolution, particularly when zooming in on specific parts of an image. To address this challenge and enhance image reconstruction, this article explores the Fourier transform and the Fourier Inverse transform. We can predict missing high-frequency components, resulting in a higher-resolution output from a low-resolution input. This approach demonstrates the practicality of solving relevant image analysis tasks in Fourier space, a domain that is inherently inaccessible to traditional convolutional architectures.
   </abstract>
   <kwd-group> 
    <kwd>
     Super Resolution
    </kwd> 
    <kwd>
      Image
    </kwd> 
    <kwd>
      Fourier Transform
    </kwd> 
    <kwd>
      Frequency
    </kwd> 
    <kwd>
      Time
    </kwd> 
    <kwd>
      Domain
    </kwd>
   </kwd-group>
  </article-meta>
 </front>
 <body>
  <sec id="s1">
   <title>1. Introduction</title>
   <p>When you look at your own skin, do you see a single color? Certainly not; you will notice subtle variations in color and texture. This variation becomes really clear when we look at things under different magnifications or resolutions. <xref ref-type="fig" rid="fig1">
     Figure 1
    </xref> shows an image of human skin at multiple resolutions <xref ref-type="bibr" rid="scirp.142782-1">
     [1]
    </xref>. It reveals a whole new world of texture and color variation. There’s nothing smooth or solid about this. Indeed, because we observe different patterns at different resolutions, we can conclude that natural surfaces exhibit a multi-resolution structure <xref ref-type="bibr" rid="scirp.142782-2">
     [2]
    </xref>.</p>
   <p>Let’s do another example of this: the snake skin in <xref ref-type="fig" rid="fig2">
     Figure 2
    </xref>. At low resolution it looks like a collection of solid white and black scales. But at higher resolutions we see new color details. The white scales contain tiny brown dots and the black scales have a light coloration around the edges. And if we keep zooming in things</p>
   <fig id="fig1" position="float">
    <label>Figure 1</label>
    <caption>
     <title>Figure 1. Multiple resolution skin human hand.</title>
    </caption>
    <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1724097-rId14.jpeg?20250526014258" />
   </fig>
   <p>get really crazy. It is fascinating how, the closer one examines, the more details emerge. Exactly, and that’s the essence of multiresolution structures. The color and texture of an object is the result of adding all of the different details together.</p>
   <fig id="fig2" position="float">
    <label>Figure 2</label>
    <caption>
     <title>Figure 2. Multiple resolution skin snake.</title>
    </caption>
    <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1724097-rId15.jpeg?20250526014258" />
   </fig>
   <p>In the era of high-definition imaging and data-driven analysis, enhancing image resolution has become a fundamental challenge in various fields, including medical imaging, remote sensing, and computer vision. Super-resolution (SR) techniques aim to reconstruct high-resolution images from low-resolution inputs, improving visual quality and enabling finer details to be extracted.</p>
   <p>To improve resolution, various mathematical techniques are employed, including deep learning, inverse Fourier methods, interpolation, and super-resolution reconstruction.</p>
   <p>One of the most powerful mathematical tools used in super-resolution is the Fourier transform, which provides a frequency-domain perspective for analyzing and enhancing image structures.</p>
   <p>The Fourier transform decomposes an image into its constituent frequency components, making it possible to manipulate and reconstruct details that may be blurred or lost in low-resolution images. Using Fourier-based techniques, super-resolution methods can amplify high-frequency components and recover fine details with greater accuracy. These approaches are particularly useful in overcoming the limitations imposed by optical and sensor constraints in imaging systems.</p>
   <p>In this article, we explore the principles of super-resolution, the role of the Fourier transform in frequency-domain enhancement, and various methodologies that integrate Fourier-based techniques with modern machine learning approaches. First, we start by an overview about super resolution image illustrated in Section 2, followed by the Fourier Transform and its inverse in Section 3 and 4. Additionally, we discuss an application in this context in Section 5.2, concluding in the last section, Section 6.</p>
  </sec><sec id="s2">
   <title>2. Super-Resolution Imaging (SR)</title>
   <p>Super-resolution plays a crucial role in various domains by enhancing image quality beyond the limitations of imaging hardware. Enhanced visualization and interpretation of images are essential, making super-resolution a critical tool for applications requiring high detail. For example, in medical imaging, SR techniques help improve diagnostic accuracy by enhancing the resolution of MRI or CT scans. In remote sensing, they help analyze satellite images with greater precision, enabling better environmental monitoring and urban planning. In computer vision, SR improves facial recognition, object detection, and image restoration tasks as <xref ref-type="bibr" rid="scirp.142782-3">
     [3]
    </xref>.</p>
   <p>Beyond its practical applications, super-resolution also addresses fundamental challenges in signal processing, such as noise reduction and image reconstruction. The ability to recover fine details from low-resolution images benefits fields like astronomy, where telescopic images can be sharpened to reveal distant celestial objects more clearly. As computational methods advance, super-resolution continues to evolve, integrating deep learning techniques and frequency-domain approaches to achieve unprecedented levels of detail and accuracy.</p>
   <p>Enhancing image resolution involves various mathematical techniques that aim to increase the detail and clarity of images. These methods range from traditional interpolation approaches to advanced deep learning algorithms. One of these methods is the Frequency Domain Methods like the Fourier Transform that allows the manipulation of specific frequency components. By enhancing high-frequency components, which correspond to edges and fine details, one can improve the perceived resolution of an image.</p>
   <p>Typically, SR methods are evaluated using various metrics to gauge performance.</p>
   <p>In this article, we do not make this comparison but will do it in future work.</p>
   <p>Overall, super-resolution imaging represents a significant advancement in both scientific research and practical applications, providing deeper insights into microscopic structures and enhancing the quality of digital images <xref ref-type="bibr" rid="scirp.142782-8">
     [8]
    </xref> and <xref ref-type="bibr" rid="scirp.142782-9">
     [9]
    </xref>.</p>
  </sec><sec id="s3">
   <title>3. Fourier Transform</title>
   <p>Frequency domain analysis and Fourier transforms are a cornerstone of signal and system analysis. These concepts are also foundational pillars within electrical engineering. Among all of the mathematical tools utilized in electrical engineering, frequency domain analysis is arguably the most far-reaching. In fact, these ideas are so important that they are widely used in many fields-not just in electrical engineering, but in practically all branches of engineering and science, and several areas of mathematics.</p>
   <p>The time and frequency domains are alternative ways of representing signals. The Fourier transform is the mathematical relationship between these two representations. If a signal is modified in one domain, it will also be changed in the other domain, although usually not in the same way <xref ref-type="bibr" rid="scirp.142782-10">
     [10]
    </xref>.</p>
   <p>In 1822, Joseph Fourier published his work on heat flow, in which he showed that the functions of a variable can be converted into a series of sinusoidal functions. This was originally used to convert periodic functions to a sum called the Fourier series. Later, it was generalized to non-periodic functions, using the Fourier transform (FT). FT is an integral transform that decomposes a signal into its constituent components and frequencies. FT is capable of decomposing a complicated waveform into a sequence of simpler elemental waves (more specifically, a weighted sum of sines and cosines). This is analogous to how an image is represented by FT. The image is a sum of complex exponential of varying magnitudes, frequencies, and phases.</p>
   <p>The Fourier transform plays a critical role in a broad range of image processing applications, including enhancement, analysis, restoration, and compression. It breaks down an image into its basic frequency components. They employ methods such as self-attention to assess the significance of various sections of the input data, enhancing their ability to comprehend context and patterns. The result of the transformation depicts the image in the Fourier or frequency domain, whereas the input image corresponds to the spatial domain version. In the Fourier domain image, every point signifies a specific frequency found in the spatial domain image.</p>
   <p>The inclusion of Fourier transforms into transformer models could help establish effective communication between the image frequency components and image description so that the model captures such features of the image remarkably well. In turn, it will improve the performance of image classification, segmentation, and generation tasks. The technique of processing an image to isolate or obtain the more useful information, and to remove unwanted information, such as the background noise and then will obtain clearer image as in <xref ref-type="fig" rid="fig3">
     Figure 3
    </xref>.</p>
   <p>The frequency in images is closely related to the concept of spatial frequency, which describes how the intensity of the image changes across space. Low frequency represents smooth variations in intensity, such as large objects or gradual shading, while high frequency corresponds to rapid changes in intensity, such as edges, textures, and fine details. Here is a picture taken from Foundations of Vision by Brian Wandell, who is in the Psychology Department at Stanford.</p>
   <fig id="fig3" position="float">
    <label>Figure 3</label>
    <caption>
     <title>Figure 3. Result of Fourier in image after removing noise.</title>
    </caption>
    <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1724097-rId16.jpeg?20250526014259" />
   </fig>
   <fig id="fig4" position="float">
    <label>Figure 4</label>
    <caption>
     <title>Figure 4. Frequency in image.</title>
    </caption>
    <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1724097-rId17.jpeg?20250526014259" />
   </fig>
   <p>The shades of blue and yellow in <xref ref-type="fig" rid="fig4">
     Figure 4
    </xref> are the same in the two pictures, the only change is in the frequency. The closer spacing “mixes” the blue and yellow to give a greenish cast.</p>
   <p>Mathematically, when we apply the Fourier transform to our image, we can decompose it into the various frequencies that it was originally composed of. Then, it will be easy to isolate the frequencies that are undesirable and apply our filter to remove them. Once the filter is applied, the inverse Fourier transform is applied, and we get back our image as a function of time with a super resolution one. <xref ref-type="fig" rid="fig5">
     Figure 5
    </xref> shows the application of the Fourier transform when removing noise from a signal.</p>
   <fig id="fig5" position="float">
    <label>Figure 5</label>
    <caption>
     <title>Figure 5. Denoise signal using Fourier.</title>
    </caption>
    <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1724097-rId18.jpeg?20250526014259" />
   </fig>
  </sec><sec id="s4">
   <title>4. Mathematical Aspect</title>
   <p>The Fourier transform can be applied in both continuous and discrete contexts, each with its own specific mathematical treatment. In this article we work with Discret Fourier Transform.</p>
   <sec id="s4_1">
    <title>4.1. Discrete Fourier Transform (DFT)</title>
    <p>The DFT is one of the most powerful tools in digital signal processing, allowing us to calculate the spectrum of a finite-duration signal as in <xref ref-type="bibr" rid="scirp.142782-10">
      [10]
     </xref>. For image, it is a representation of an image as a sum of complex exponential of varying magnitudes. DFT transform Time Domain function 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         x 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          t 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> to Frequency Domain function 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         X 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          w 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> as in <xref ref-type="bibr" rid="scirp.142782-11">
      [11]
     </xref> <xref ref-type="bibr" rid="scirp.142782-12">
      [12]
     </xref> and <xref ref-type="bibr" rid="scirp.142782-13">
      [13]
     </xref>.</p>
    <p>In particular, DFT creates the relationship between sampled signals in the time range and their representation in the frequency domain. The DFT is widely used in the fields of spectral analysis, applied mechanics, acoustics, medical imaging, numerical analysis, instrumentation, and telecommunications. The following figure shows how to use the DFT to transform data from the time domain into the frequency domain (<xref ref-type="fig" rid="fig6">
      Figure 6
     </xref>).</p>
    <fig id="fig6" position="float">
     <label>Figure 6</label>
     <caption>
      <title>Figure 6. Fourier in time and frequency domain.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1724097-rId23.jpeg?20250526014300" />
    </fig>
    <p>The mathematical equation for DFT is given by</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         ℱ 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          ω 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mi>
         X 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          k 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <munderover> 
        <mstyle mathsize="140%" displaystyle="true"> 
         <mo>
           ∑ 
         </mo> 
        </mstyle> 
        <mrow> 
         <mi>
           n 
         </mi> 
         <mo>
           = 
         </mo> 
         <mn>
           0 
         </mn> 
        </mrow> 
        <mrow> 
         <mi>
           N 
         </mi> 
         <mo>
           − 
         </mo> 
         <mn>
           1 
         </mn> 
        </mrow> 
       </munderover> 
       <mtext>
           
       </mtext> 
       <mi>
         x 
       </mi> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mi>
          n 
        </mi> 
        <mo>
          ] 
        </mo> 
       </mrow> 
       <mo>
         ⋅ 
       </mo> 
       <msup> 
        <mtext>
          e 
        </mtext> 
        <mrow> 
         <mfrac> 
          <mrow> 
           <mo>
             − 
           </mo> 
           <mi>
             j 
           </mi> 
           <mn>
             2 
           </mn> 
           <mi>
             π 
           </mi> 
           <mi>
             k 
           </mi> 
           <mi>
             n 
           </mi> 
          </mrow> 
          <mi>
            N 
          </mi> 
         </mfrac> 
        </mrow> 
       </msup> 
      </mrow> 
     </math></p>
    <p>and the inverse function IDFT is given by:</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         f 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          t 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mi>
         x 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          n 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <munderover> 
        <mstyle mathsize="140%" displaystyle="true"> 
         <mo>
           ∑ 
         </mo> 
        </mstyle> 
        <mrow> 
         <mi>
           k 
         </mi> 
         <mo>
           = 
         </mo> 
         <mn>
           0 
         </mn> 
        </mrow> 
        <mrow> 
         <mi>
           N 
         </mi> 
         <mo>
           − 
         </mo> 
         <mn>
           1 
         </mn> 
        </mrow> 
       </munderover> 
       <mtext>
           
       </mtext> 
       <mi>
         X 
       </mi> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mi>
          k 
        </mi> 
        <mo>
          ] 
        </mo> 
       </mrow> 
       <mo>
         ⋅ 
       </mo> 
       <msup> 
        <mtext>
          e 
        </mtext> 
        <mrow> 
         <mfrac> 
          <mrow> 
           <mi>
             j 
           </mi> 
           <mn>
             2 
           </mn> 
           <mi>
             π 
           </mi> 
           <mi>
             k 
           </mi> 
           <mi>
             n 
           </mi> 
          </mrow> 
          <mi>
            N 
          </mi> 
         </mfrac> 
        </mrow> 
       </msup> 
      </mrow> 
     </math></p>
    <p>N samples of the input signal result in N samples of the discrete Fourier transform (DFT). That is, the number of samples in both the time and frequency representations is the same. The following equation shows that regardless of whether the input signal 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         x 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          n 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> is real or complex, 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         X 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          k 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> is always complex, although the imaginary part may be zero. In other words, every frequency component has a magnitude and phase.</p>
    <p>1) Linearity: The addition of two functions corresponding to the addition of the two frequency spectrum is called linearity. If we multiply a function by a constant, the Fourier transform of the resultant function is multiplied by the same constant. The Fourier transform of the sum of two or more functions is the sum of the Fourier transforms of the functions. The Fourier transform is a linear operator, meaning that for any functions 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         f 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          x 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> and 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         g 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          x 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>, and constants a and b:</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         ℱ 
       </mi> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mrow> 
         <mi>
           a 
         </mi> 
         <mi>
           f 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mi>
            x 
          </mi> 
          <mo>
            ) 
          </mo> 
         </mrow> 
         <mo>
           + 
         </mo> 
         <mi>
           b 
         </mi> 
         <mi>
           g 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mi>
            x 
          </mi> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mo>
          } 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mi>
         a 
       </mi> 
       <mi>
         ℱ 
       </mi> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mrow> 
         <mi>
           f 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mi>
            x 
          </mi> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mo>
          } 
        </mo> 
       </mrow> 
       <mo>
         + 
       </mo> 
       <mi>
         b 
       </mi> 
       <mi>
         ℱ 
       </mi> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mrow> 
         <mi>
           g 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mi>
            x 
          </mi> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mo>
          } 
        </mo> 
       </mrow> 
      </mrow> 
     </math></p>
    <p>This property allows for the decomposition of complex signals into simpler components, facilitating analysis and processing.</p>
    <p>2) Scaling: Scaling is the method that is used to change the range of the independent variables or features of data. If we stretch a function by the factor in the time domain then squeeze the Fourier transform by the same factor in the frequency domain. Scaling the time variable by a factor aa affects both the amplitude and width of the Fourier transform:</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         ℱ 
       </mi> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mrow> 
         <mi>
           f 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <mi>
             a 
           </mi> 
           <mi>
             x 
           </mi> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mo>
          } 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mfrac> 
        <mn>
          1 
        </mn> 
        <mrow> 
         <mrow> 
          <mo>
            | 
          </mo> 
          <mi>
            a 
          </mi> 
          <mo>
            | 
          </mo> 
         </mrow> 
        </mrow> 
       </mfrac> 
       <mi>
         ℱ 
       </mi> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mrow> 
         <mi>
           f 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <mfrac> 
            <mi>
              ξ 
            </mi> 
            <mi>
              a 
            </mi> 
           </mfrac> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mo>
          } 
        </mo> 
       </mrow> 
      </mrow> 
     </math></p>
    <p>Time compression ( 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          | 
        </mo> 
        <mi>
          a 
        </mi> 
        <mo>
          | 
        </mo> 
       </mrow> 
       <mo>
         &gt; 
       </mo> 
       <mn>
         1 
       </mn> 
      </mrow> 
     </math>) leads to frequency domain expansion, while time expansion ( 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          | 
        </mo> 
        <mi>
          a 
        </mi> 
        <mo>
          | 
        </mo> 
       </mrow> 
       <mo>
         &lt; 
       </mo> 
       <mn>
         1 
       </mn> 
      </mrow> 
     </math>) results in frequency domain compression.</p>
    <p>3) Differentiation: Differentiating function with respect to time yields to the constant multiple of the initial function.</p>
    <p>To find the Fourier transform of the derivative of 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         f 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          t 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>, we use the property of derivatives under the Fourier transform:</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         ℱ 
       </mi> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mrow> 
         <mfrac> 
          <mtext>
            d 
          </mtext> 
          <mrow> 
           <mtext>
             d 
           </mtext> 
           <mi>
             t 
           </mi> 
          </mrow> 
         </mfrac> 
         <mi>
           f 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mi>
            t 
          </mi> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mo>
          } 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mi>
         i 
       </mi> 
       <mi>
         ω 
       </mi> 
       <mi>
         ℱ 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          ω 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math></p>
    <p>For higher-order derivatives, this relationship generalizes as:</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         ℱ 
       </mi> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mrow> 
         <mfrac> 
          <mrow> 
           <msup> 
            <mtext>
              d 
            </mtext> 
            <mi>
              n 
            </mi> 
           </msup> 
          </mrow> 
          <mrow> 
           <mtext>
             d 
           </mtext> 
           <msup> 
            <mi>
              t 
            </mi> 
            <mi>
              n 
            </mi> 
           </msup> 
          </mrow> 
         </mfrac> 
         <mi>
           f 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mi>
            t 
          </mi> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mo>
          } 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <msup> 
        <mrow> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <mi>
             i 
           </mi> 
           <mi>
             ω 
           </mi> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mi>
          n 
        </mi> 
       </msup> 
       <mi>
         ℱ 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          ω 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math></p>
    <p>Thus, the Fourier transform of the n-th derivative of 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         f 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          t 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> is simply 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msup> 
        <mrow> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <mi>
             i 
           </mi> 
           <mi>
             ω 
           </mi> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mi>
          n 
        </mi> 
       </msup> 
      </mrow> 
     </math> times the Fourier transform of 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         f 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          t 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>.</p>
    <p>4) Convolution: It includes the multiplication of two functions. The Fourier transform of a convolution of two functions is the point-wise product of their respective Fourier transforms.</p>
    <p>Convolution in the Time Domain:</p>
    <p>The convolution of two functions 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         f 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          t 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> and 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         g 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          t 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> in the time domain is defined as:</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mstyle displaystyle="true"> 
        <mrow> 
         <msubsup> 
          <mo>
            ∫ 
          </mo> 
          <mrow> 
           <mo>
             − 
           </mo> 
           <mi>
             ∞ 
           </mi> 
          </mrow> 
          <mi>
            ∞ 
          </mi> 
         </msubsup> 
         <mrow> 
          <mi>
            f 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mi>
             τ 
           </mi> 
           <mo>
             ) 
           </mo> 
          </mrow> 
          <mi>
            g 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <mi>
              t 
            </mi> 
            <mo>
              − 
            </mo> 
            <mi>
              τ 
            </mi> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
          <mo> 
          </mo> 
          <mtext>
            d 
          </mtext> 
          <mi>
            τ 
          </mi> 
         </mrow> 
        </mrow> 
       </mstyle> 
      </mrow> 
     </math></p>
    <p>where:</p>
    <p>Convolution in the Frequency Domain:</p>
    <p>One of the most important properties of the Fourier transform is that convolution in the time domain corresponds to multiplication in the frequency domain.</p>
    <p>Specifically:</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         ℱ 
       </mi> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mrow> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <mi>
             f 
           </mi> 
           <mo>
             ∗ 
           </mo> 
           <mi>
             g 
           </mi> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mi>
            t 
          </mi> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mo>
          } 
        </mo> 
       </mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          ω 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mi>
         ℱ 
       </mi> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mrow> 
         <mi>
           f 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mi>
            t 
          </mi> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mo>
          } 
        </mo> 
       </mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          ω 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         ⋅ 
       </mo> 
       <mi>
         ℱ 
       </mi> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mrow> 
         <mi>
           g 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mi>
            t 
          </mi> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mo>
          } 
        </mo> 
       </mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          ω 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math></p>
    <p>That is:</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         F 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          ω 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         ⋅ 
       </mo> 
       <mi>
         G 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          ω 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mi>
         ℱ 
       </mi> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mrow> 
         <mi>
           f 
         </mi> 
         <mo>
           ∗ 
         </mo> 
         <mi>
           g 
         </mi> 
        </mrow> 
        <mo>
          } 
        </mo> 
       </mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          ω 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math></p>
    <p>where:</p>
    <p>5) Frequency Shift and Time Shift: Frequency is shifted according to the coordinates. There is a duality between the time and frequency domains and frequency shift affects the time shift. The time variable shift also affects the frequency function. The time-shifting property concludes that a linear displacement in time corresponds to a linear phase factor in the frequency domain.</p>
    <p>Shifting a function in time corresponds to a phase shift in the frequency domain:</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         ℱ 
       </mi> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mrow> 
         <mi>
           f 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <mi>
             x 
           </mi> 
           <mo>
             − 
           </mo> 
           <msub> 
            <mi>
              x 
            </mi> 
            <mn>
              0 
            </mn> 
           </msub> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mo>
          } 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <msup> 
        <mtext>
          e 
        </mtext> 
        <mrow> 
         <mo>
           − 
         </mo> 
         <mi>
           i 
         </mi> 
         <mn>
           2 
         </mn> 
         <mi>
           π 
         </mi> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            0 
          </mn> 
         </msub> 
         <mi>
           ξ 
         </mi> 
        </mrow> 
       </msup> 
       <mi>
         ℱ 
       </mi> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mrow> 
         <mi>
           f 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mi>
            x 
          </mi> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mo>
          } 
        </mo> 
       </mrow> 
      </mrow> 
     </math></p>
    <p>here, 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          x 
        </mi> 
        <mn>
          0 
        </mn> 
       </msub> 
      </mrow> 
     </math> is the shift in the time domain, and 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msup> 
        <mtext>
          e 
        </mtext> 
        <mrow> 
         <mo>
           − 
         </mo> 
         <mi>
           i 
         </mi> 
         <mn>
           2 
         </mn> 
         <mi>
           π 
         </mi> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            0 
          </mn> 
         </msub> 
         <mi>
           ξ 
         </mi> 
        </mrow> 
       </msup> 
      </mrow> 
     </math> represents the phase shift in the frequency domain.</p>
    <p>Modulating a function by a complex exponential in the time domain results in a shift in the frequency domain:</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         ℱ 
       </mi> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mrow> 
         <msup> 
          <mtext>
            e 
          </mtext> 
          <mrow> 
           <mi>
             i 
           </mi> 
           <mn>
             2 
           </mn> 
           <mi>
             π 
           </mi> 
           <msub> 
            <mi>
              ξ 
            </mi> 
            <mn>
              0 
            </mn> 
           </msub> 
           <mi>
             x 
           </mi> 
          </mrow> 
         </msup> 
         <mi>
           f 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mi>
            x 
          </mi> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mo>
          } 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mi>
         ℱ 
       </mi> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mrow> 
         <mi>
           f 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mi>
            x 
          </mi> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mo>
          } 
        </mo> 
       </mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           ξ 
         </mi> 
         <mo>
           − 
         </mo> 
         <msub> 
          <mi>
            ξ 
          </mi> 
          <mn>
            0 
          </mn> 
         </msub> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math></p>
    <p>This property is fundamental in frequency modulation and demodulation processes.</p>
    <p>Normally the magnitude of the spectrum is displayed. The magnitude is the square root of the sum of the squares of the real and imaginary parts as follows:</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mtext>
         magnitude 
       </mtext> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          ℱ 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <msqrt> 
        <mrow> 
         <mtext>
           real 
         </mtext> 
         <msup> 
          <mrow> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mi>
              ℱ 
            </mi> 
            <mo>
              ) 
            </mo> 
           </mrow> 
          </mrow> 
          <mn>
            2 
          </mn> 
         </msup> 
         <mo>
           + 
         </mo> 
         <mtext>
           imaginary 
         </mtext> 
         <msup> 
          <mrow> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mi>
              ℱ 
            </mi> 
            <mo>
              ) 
            </mo> 
           </mrow> 
          </mrow> 
          <mn>
            2 
          </mn> 
         </msup> 
        </mrow> 
       </msqrt> 
      </mrow> 
     </math></p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mtext>
         phase 
       </mtext> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          ℱ 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <msup> 
        <mrow> 
         <mtext>
           tan 
         </mtext> 
        </mrow> 
        <mrow> 
         <mo>
           − 
         </mo> 
         <mn>
           1 
         </mn> 
        </mrow> 
       </msup> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mfrac> 
          <mrow> 
           <mtext>
             imaginary 
           </mtext> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mi>
              ℱ 
            </mi> 
            <mo>
              ) 
            </mo> 
           </mrow> 
          </mrow> 
          <mrow> 
           <mtext>
             real 
           </mtext> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mi>
              ℱ 
            </mi> 
            <mo>
              ) 
            </mo> 
           </mrow> 
          </mrow> 
         </mfrac> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math></p>
    <p>Briefly, the magnitude indicates the amount of a specific frequency component present, determining the relative presence of a sinusoid 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msup> 
        <mtext>
          e 
        </mtext> 
        <mrow> 
         <mfrac> 
          <mrow> 
           <mi>
             j 
           </mi> 
           <mn>
             2 
           </mn> 
           <mi>
             π 
           </mi> 
           <mi>
             k 
           </mi> 
           <mi>
             t 
           </mi> 
          </mrow> 
          <mi>
            N 
          </mi> 
         </mfrac> 
        </mrow> 
       </msup> 
      </mrow> 
     </math> in 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         f 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          t 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>. The phase tells “where” the frequency component is in the image, more it determines how the sinusoids line up relative to one another to form 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         f 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          t 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> or it determines the shift in the sinusoid components of the image.</p>
    <p>Graphically, <xref ref-type="fig" rid="fig7">
      Figure 7
     </xref> shows us an image in term of magnitude and phase.</p>
    <fig id="fig7" position="float">
     <label>Figure 7</label>
     <caption>
      <title>Figure 7. Fourier in magnitude and phase.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1724097-rId116.jpeg?20250526014300" />
    </fig>
    <p>
     <xref ref-type="fig" rid="fig8">
      Figure 8
     </xref> and <xref ref-type="fig" rid="fig9">
      Figure 9
     </xref> show how Fourier transform divides an image to magnitude and phase. The initial figure in time domain for two persons with their magnitudes and phases.</p>
    <fig id="fig8" position="float">
     <label>Figure 8</label>
     <caption>
      <title>Figure 8. Fourier in magnitude and phase.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1724097-rId117.jpeg?20250526014300" />
    </fig>
    <p>The phase values determine the shift in the sinusoid components of the image.</p>
    <p>With zero phase, all sinusoids are centered at the same location, resulting in a symmetric image that bears no real correlation with the original image. <xref ref-type="fig" rid="fig10">
      Figure 10
     </xref> shows the image of Ralph with phase equal zero and same magnitude as <xref ref-type="fig" rid="fig8">
      Figure 8
     </xref>.</p>
    <p>The phase-only reconstruction preserves features because of the principle of phase congruency. At the location of edges and lines, most of the sinusoid components have the same phase see <xref ref-type="bibr" rid="scirp.142782-11">
      [11]
     </xref>. This properly alone can be used to detect lines and edges without regard to magnitude. So you can see that the phase information is most important.</p>
    <fig id="fig9" position="float">
     <label>Figure 9</label>
     <caption>
      <title>Figure 9. Fourier in magnitude and phase.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1724097-rId118.jpeg?20250526014300" />
    </fig>
    <fig id="fig10" position="float">
     <label>Figure 10</label>
     <caption>
      <title>Figure 10. Ralph image with phase equal zero and same magnitude.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1724097-rId119.jpeg?20250526014300" />
    </fig>
    <p>Changing the magnitude of the various component sinusoids changes the shape of the feature. When you do a phase-only reconstruction, you set all the magnitudes to one, which changes the shape of the features, but not their location. <xref ref-type="fig" rid="fig11">
      Figure 11
     </xref> shows the image of Ralph with the same phase as in <xref ref-type="fig" rid="fig8">
      Figure 8
     </xref> and magnitude equal to one.</p>
    <fig id="fig11" position="float">
     <label>Figure 11</label>
     <caption>
      <title>Figure 11. Ralph image with same phase and magnitude = 1.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1724097-rId120.jpeg?20250526014300" />
    </fig>
    <p>In many images, low-frequency components have higher magnitudes than high-frequency components, making phase-only reconstruction resemble a high-pass filter. In short, phase contains the information about the locations of features. You cannot add the phase-only and magnitude-only images to get the original. You can multiply them in the Fourier domain and transform back to get the original. Fourier transforms and their general applications in image processing can be explored in recent advancements in Fourier transform techniques or provide comparative studies with other methods. For instance:</p>
   </sec>
  </sec><sec id="s5">
   <title>5. Application</title>
   <sec id="s5_1">
    <title>5.1. Image in Gray Scale for Fourier Transform</title>
    <p>The image is the raw input, as shown in <xref ref-type="fig" rid="fig13">
      Figure 13
     </xref>. It shows the original resolution and color information. Details and texture in the image appear as captured by the camera.</p>
    <p>In this image, each color channel (R, G, B) has been independently upsampled using Fourier transform zero-padding. The result is a larger image with increased resolution. Although the zero-padding method doesn’t create new details, it smooths and interpolates between existing ones. You should notice that the overall image looks smoother and may have less visible pixelation compared to simply stretching the image. This version converts the upsampled true-color image to grayscale. The grayscale image is useful for checking the structural and edge details. Sometimes, subtle features become more apparent in grayscale because the influence of color is removed. Comparing the grayscale result with the true-color one can help you evaluate whether the Fourier upsampling preserves important details. Note that in the first column of this figure we use samples = 4 while in the second one we have 8 samples. By running the following code with your fig.jpg file, you will be able to compare the original grayscale image with the Fourier-upsampled, red-tinted version (<xref ref-type="fig" rid="fig12">
      Figure 12
     </xref>).</p>
    <p>import numpy as npimport matplotlib.pyplot as pltfrom skimage import io, color, img_as_floatdef fourier_upsample(image, upsample_factor): """ Upsample a 2D image using Fourier-domain zero-padding. Parameters: image (2D ndarray): Grayscale image. upsample_factor (int): Factor by which to upscale the image. Returns: upsampled_img (2D ndarray): Upsampled image. """ orig_rows, orig_cols = image.shape new_rows, new_cols = orig_rows * upsample_factor, orig_cols * upsample_factor # Compute the 2D Fourier Transform and shift zero-frequency to the center. F = np.fft.fft2(image) F_shifted = np.fft.fftshift(F) # Create a zero-padded Fourier-domain array. F_padded = np.zeros((new_rows, new_cols), dtype=complex) # Calculate insertion indices to center the original Fourier data. row_start = (new_rows - orig_rows) // 2 col_start = (new_cols - orig_cols) // 2 F_padded[row_start:row_start+orig_rows, col_start:col_start+orig_cols] = F_shifted # Inverse shift and compute the inverse FFT. F_unshifted = np.fft.ifftshift(F_padded) upsampled_img = np.fft.ifft2(F_unshifted).real # Normalize to the range [0, 1]. upsampled_img = (upsampled_img - upsampled_img.min()) / (upsampled_img.max() - upsampled_img.min()) return upsampled_img# -------------------------------# Main Processing Workflow# -------------------------------# 1. Load the image (fig.jpg).image_file = "fig.jpg"image = io.imread(image_file)# Convert to grayscale if the image is in color.if image.ndim == 3: image = color.rgb2gray(image)image = img_as_float(image)# 2. Upsample the image using Fourier transform zero-padding.upsample_factor = 4 # Adjust this value as needed.upsampled_gray = fourier_upsample(image, upsample_factor)# 3. Convert the upsampled grayscale image to a red-tinted image.# Create an RGB image with red channel = upsampled grayscale and other channels# zero.red_image = np.zeros((upsampled_gray.shape[0], upsampled_gray.shape[1], 3))red_image[:, :, 0] = upsampled_gray # Assign grayscale to the red channel.# -------------------------------# Display the Results# -------------------------------plt.figure(figsize=(12, 6))plt.subplot(1, 2, 1)plt.imshow(image, cmap='gray')plt.title("Original Grayscale Image")plt.axis("off")plt.subplot(1, 2, 2)plt.imshow(red_image)plt.title(f"Upsampled Red-Tinted Image (x{upsample_factor})")plt.axis("off")plt.tight_layout()plt.show()</p>
   </sec>
   <sec id="s5_2">
    <title>5.2. Image in Red Scale for Fourier Transform</title>
    <p>The final red-tinted image in <xref ref-type="fig" rid="fig13">
      Figure 13
     </xref> will have the same upsampled resolution as the grayscale image, but with a distinct red color. This can be useful if you want to visually differentiate the upsampled version from the original. Displays the red-tinted, upsampled image. You should notice that this image is larger (by a factor of 4 in both dimensions), and although it appears smoother, it retains the structure of the original image with a red color cast. Comparing the two images</p>
    <fig id="fig12" position="float">
     <label>Figure 12</label>
     <caption>
      <title>Figure 12. Resolution using Fourier 4 samples and 8 samples.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1724097-rId121.jpeg?20250526014302" />
    </fig>
    <p>side-by-side allows you to see how the Fourier transform method increases resolution. Such techniques are often used in image processing for interpolation, frequency analysis, and sometimes for preparing images for further enhancement steps. By running the following code with your fig.jpg file, you will be able to compare the original grayscale image with the Fourier-upsampled, red-tinted version.</p>
    <p>import numpy as npimport matplotlib.pyplot as pltfrom skimage import io, color, img_as_floatdef fourier_upsample(image, upsample_factor): """ Upsample a 2D image using Fourier-domain zero-padding. Parameters: image (2D ndarray): Grayscale image. upsample_factor (int): Factor by which to upscale the image. Returns: upsampled_img (2D ndarray): Upsampled image. """ orig_rows, orig_cols = image.shape new_rows, new_cols = orig_rows * upsample_factor, orig_cols * upsample_factor # Compute the 2D Fourier Transform and shift zero-frequency to the center. F = np.fft.fft2(image) F_shifted = np.fft.fftshift(F) # Create a zero-padded Fourier-domain array. F_padded = np.zeros((new_rows, new_cols), dtype=complex) # Calculate insertion indices to center the original Fourier data. row_start = (new_rows - orig_rows) // 2 col_start = (new_cols - orig_cols) // 2 F_padded[row_start:row_start+orig_rows, col_start:col_start+orig_cols] = F_shifted # Inverse shift and compute the inverse FFT. F_unshifted = np.fft.ifftshift(F_padded) upsampled_img = np.fft.ifft2(F_unshifted).real # Normalize to the range [0, 1]. upsampled_img = (upsampled_img - upsampled_img.min()) / (upsampled_img.max() - upsampled_img.min()) return upsampled_img# -------------------------------# Main Processing Workflow# -------------------------------# 1. Load the image (fig.jpg).image_file = "fig.jpg"image = io.imread(image_file)# Convert to grayscale if the image is in color.if image.ndim == 3: image = color.rgb2gray(image)image = img_as_float(image)# 2. Upsample the image using Fourier transform zero-padding.upsample_factor = 4 # Adjust this value as needed.upsampled_gray = fourier_upsample(image, upsample_factor)# 3. Convert the upsampled grayscale image to a red-tinted image.# Create an RGB image with red channel = upsampled grayscale and other channels# zero.red_image = np.zeros((upsampled_gray.shape[0], upsampled_gray.shape[1], 3))red_image[:, :, 0] = upsampled_gray # Assign grayscale to the red channel.# -------------------------------# Display the Results# -------------------------------plt.figure(figsize=(12, 6))plt.subplot(1, 2, 1)plt.imshow(image, cmap='gray')plt.title("Original Grayscale Image")plt.axis("off")plt.subplot(1, 2, 2)plt.imshow(red_image)plt.title(f"Upsampled Red-Tinted Image (x{upsample_factor})")plt.axis("off")plt.tight_layout()plt.show()</p>
    <fig id="fig13" position="float">
     <label>Figure 13</label>
     <caption>
      <title>Figure 13. Resolution using Fourier and 4 samples.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1724097-rId122.jpeg?20250526014302" />
    </fig>
   </sec>
  </sec><sec id="s6">
   <title>6. Conclusions</title>
   <p>The Discrete Fourier Transform (DFT) is a cornerstone of digital signal processing and has proven to be a powerful tool in image analysis and enhancement. Here are some key takeaways:</p>
   <p>Frequency Domain Analysis: DFT allows you to transform spatial (or time-domain) data into the frequency domain, where different frequency components can be analyzed separately. This is crucial for understanding the underlying structures in an image or signal.</p>
   <p>Resolution Enhancement via Zero-Padding: By zero-padding the Fourier spectrum, we effectively increase the sampling grid in the frequency domain. When the inverse DFT is applied, this process interpolates the spatial data, resulting in a higher-resolution image. However, it’s important to note that this method only smooths and interpolates between existing data-it does not create new, previously unseen details.</p>
   <p>Color vs. Grayscale Processing: When working with color images, processing each channel separately via Fourier techniques can preserve true color information while enhancing resolution. On the other hand, converting to grayscale can sometimes reveal more structural details, free from the complexity of color.</p>
   <p>Practical Applications: DFT-based methods are widely used in various applications, from image upsampling and super resolution to noise reduction and frequency-based filtering. They provide an efficient way to analyze and manipulate images based on their spectral content.</p>
   <p>Limitations: While DFT and zero-padding can improve visual resolution, they do not add new information beyond what is contained in the original image. This highlights the trade-off between interpolation and the recovery of lost details.</p>
   <p>In summary, the DFT offers a robust framework for both analyzing and processing images. Its ability to bridge the spatial and frequency domains makes it indispensable for many image processing tasks, although its interpolation methods are inherently limited by the original data’s content.</p>
   <p>The Fourier Discrete Transform (DFT) serves as a powerful tool in super-resolution imaging by enabling frequency-based analysis and reconstruction of high-resolution images. While challenges remain, advancements in computational techniques and machine learning continue to push the boundaries of what is possible in image enhancement. By integrating Fourier-based approaches with modern AI techniques, super-resolution imaging will continue to evolve and find applications in medical imaging, remote sensing, and beyond.</p>
  </sec>
 </body><back>
  <ref-list>
   <title>References</title>
   <ref id="scirp.142782-ref1">
    <label>1</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Arun, P.V., Buddhiraju, K.M., Porwal, A. and Chanussot, J. (2020) CNN-Based Super-Resolution of Hyperspectral Images. IEEE Transactions on Geoscience and Remote Sensing, 58, 6106-6121. &gt;https://doi.org/10.1109/tgrs.2020.2973370
    </mixed-citation>
   </ref>
   <ref id="scirp.142782-ref2">
    <label>2</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Lei, S., Shi, Z. and Zou, Z. (2020) Coupled Adversarial Training for Remote Sensing Image Super-Resolution. IEEE Transactions on Geoscience and Remote Sensing, 58, 3633-3643. &gt;https://doi.org/10.1109/tgrs.2019.2959020
    </mixed-citation>
   </ref>
   <ref id="scirp.142782-ref3">
    <label>3</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Zalevsky, Z., Mendlovic, D. and Lohmann, A.W. (2000) IV Optical Systems with Improved Resolving Power. In: Progress in Optics, Elsevier, 271-341. &gt;https://doi.org/10.1016/s0079-6638(00)80032-3
    </mixed-citation>
   </ref>
   <ref id="scirp.142782-ref4">
    <label>4</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Hamid, R.A. and Hassan, M.I.D. (2009) Image Compression Using Wavelets Based on Peak Signal-to-Noise Ratio. International Journal of Computer Science and Network Security, 9.
    </mixed-citation>
   </ref>
   <ref id="scirp.142782-ref5">
    <label>5</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Wang, Z., Bovik, A.C., Sheikh, H.R. and Simoncelli, E.P. (2004) Image Quality Assessment: From Error Visibility to Structural Similarity. IEEE Transactions on Image Processing, 13, 600-612. &gt;https://doi.org/10.1109/tip.2003.819861
    </mixed-citation>
   </ref>
   <ref id="scirp.142782-ref6">
    <label>6</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Parker, J.R. (2010) Algorithms for Image Processing and Computer Vision. Wiley-Interscience.
    </mixed-citation>
   </ref>
   <ref id="scirp.142782-ref7">
    <label>7</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Zhang, D., Isola, P. and Efros, A.A. (2020) A Perceptual Similarity Metric for Image Generation. IEEE Transactions on Image Processing. &gt;https://hal.science/hal-04605516v1/document 
    </mixed-citation>
   </ref>
   <ref id="scirp.142782-ref8">
    <label>8</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Bartelt, H. and Lohmann, A.W. (1982) Optical Processing of One-Dimensional Signals. Optics Communications, 42, 87-91. &gt;https://doi.org/10.1016/0030-4018(82)90371-6
    </mixed-citation>
   </ref>
   <ref id="scirp.142782-ref9">
    <label>9</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Fixler, D., Garcia, J., Zalevsky, Z., Weiss, A. and Deutsch, M. (2007) Speckle Random Coding for 2D Super Resolving Fluorescent Microscopic Imaging. Micron, 38, 121-128. &gt;https://doi.org/10.1016/j.micron.2006.07.008
    </mixed-citation>
   </ref>
   <ref id="scirp.142782-ref10">
    <label>10</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Thomas, R. (2017) Fourier Transforms of Images. &gt;https://plus.maths.org/content/fourier-transforms-images 
    </mixed-citation>
   </ref>
   <ref id="scirp.142782-ref11">
    <label>11</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Peters, T.M. and Bates, J.H.T. (1998) The Discrete Fourier Transform and the Fast Fourier Transform. In: Peters, T.M. and Williams, J., Eds., The Fourier Transform in Biomedical Engineering, Birkhäuser Boston, 175-194. &gt;https://doi.org/10.1007/978-1-4612-0637-8_6
    </mixed-citation>
   </ref>
   <ref id="scirp.142782-ref12">
    <label>12</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     https://www.robots.ox.ac.uk/~sjrob/Teaching/SP/l7.pdf 
    </mixed-citation>
   </ref>
   <ref id="scirp.142782-ref13">
    <label>13</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Digital Image Processing, 4e. &gt;https://dl.icdst.org/pdfs/files4/01c56e081202b62bd7d3b4f8545775fb.pdf 
    </mixed-citation>
   </ref>
   <ref id="scirp.142782-ref14">
    <label>14</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Massaro, A., Dipierro, G., Cannella, E. and Galiano, A.M. (2020) Comparative Analysis among Discrete Fourier Transform, K-Means and Artificial Neural Networks Image Processing Techniques Oriented on Quality Control of Assembled Tires. Information, 11, Article 257. &gt;https://www.mdpi.com/2078-2489/11/5/257?utm_source=chatgpt.com 
    </mixed-citation>
   </ref>
   <ref id="scirp.142782-ref15">
    <label>15</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Kan, Y. (2024) A Comparison of Application of Fourier Transform and Wavelet Transform on Image Compression. Applied and Computational Engineering, 37, 149-154. &gt;https://www.ewadirect.com/proceedings/ace/article/view/10123?utm_source=chatgpt.com
    </mixed-citation>
   </ref>
  </ref-list>
 </back>
</article>