You are on page 1of 12

Journal of the Indian Society of Remote Sensing

https://doi.org/10.1007/s12524-024-01815-3

RESEARCH ARTICLE

Pixel Reduction of High‑Resolution Image Using Principal Component


Analysis
Ramachandran Radhakrishnan1 · Manimegalai Thirunavukkarasu2 · R. Thandaiah Prabu3 · G. Ramkumar3 ·
S. Saravanakumar4 · Anitha Gopalan3 · V. Rama Lahari5 · B. Anusha5 · Shaik Hasane Ahammad5 ·
Ahmed Nabih Zaki Rashed6 · Md. Amzad Hossain7

Received: 3 November 2023 / Accepted: 4 January 2024


© Indian Society of Remote Sensing 2024

Abstract
A high-definition picture needs more storage space and occupies the memory. For a model to run efficiently, we need to pro-
vide a good-quality image, but as we know, we should load a lot of data to obtain accurate results. While it is often applied
for compressing or reducing the dimensionality of high-resolution images, it is not specifically designed for pixel reduction.
However, we can use principal component analysis (PCA) to achieve pixel reduction by treating the image as a matrix and
applying PCA on its pixel values. It is important to note that while PCA can reduce the dimensionality of an image, it does
not necessarily reduce the storage size unless the image has a high number of pixels compared to the number of components
retained. Experimental results indicate that principal component analysis (PCA) proves effective in addressing these chal-
lenges by efficiently reducing the dimensionality of image data while retaining the principal properties of the original image.
This reduction in dimensionality not only mitigates data transmission issues but also results in more efficient storage utiliza-
tion. Additionally, reducing the number of pixels through PCA may result in some loss of detail and image quality. For this
reason, we choose PCA, an efficient algorithm for reducing high-dimensional data. In machine learning, a picture with so
many pixels will be considered high-dimensional data. The principal component analysis is a decomposition algorithm. It is
a fundamental decomposition algorithm which reduces the dimensions in a dataset. Discovering the new variables, referred
to as principal components, serves to streamline the solution to the eigenvalue/eigenvectors problem. PCA can be character-
ized as an adaptive data analysis technology since these variables are crafted to adjust to diverse data types and structures.
Comparative analysis proves that the proposed method is more efficient. The study converts the image's pixel dimension
from the original data, attaining a pixel rate of 3,155,200-to-100-pixel rate. Therefore, converting a 9,465,600-byte image to
a 300-byte image, pixel is usually 3 bytes. Further research will be investigating an alternative dimension reduction approach
for solving nonlinear problem space with correlated variables.

Keywords Image compression · Principal component analysis · Dimensionality reduction · Open CV (Open-Source
Computer Vision Library) · Background masking

Introduction values, where each pixel comprises its respective red, green,
and blue (RGB) bits value. This representation of image data
With the modernized information efficient with the evolu- poses challenges for sharing image files over the Internet due
tion of the transmission of the digital image processing to to the extended uploading and downloading times, a persis-
the challenging technology digitalized within the shared tent issue for Internet users. Additionally, high-resolution
feature, moreover, the digital images are quantified through images demand substantial storage space. For the moment,
sharing the information via the website, internet, and soft- individual people subjected to the devices within the growth
ware platforms (Belarbi et al., 2017; Tan et al., 2021). A developed for the rate decaying exponentially located for
high-resolution image is considered a high-dimensional data the network. The necessary features to facilitate images at
space, with each image organized into two-dimensional pixel higher pixels configured to transmit the signals meant for
the prolonged system design rendered to the communica-
tion scheme with the bandwidth reached for the multimedia
Extended author information available on the last page of the article

Vol.:(0123456789)
Journal of the Indian Society of Remote Sensing

system generated to represent the image's critical aspect control theory, image processing, communication, sig-
(Gosavi & Khot, 2013). On the contrary, the compression nal processing, and other fields. Main contribution of the
scheme has evaluated through the network transmitted to research is reducing the pixel count of a high-resolution
discard the data redundant with the tolerable ratio set for the image using PCA that is a common technique in image com-
files upon different scenarios. For reducing the image pixel pression and dimensionality reduction. PCA is a mathemati-
based on the data quantified within the image quality repre- cal method that transforms the original pixel values of an
sentation (Neto et al., 2013). Data quantification has done image into a new set of values called principal components.
through bit size within the compression process needed for These principal components capture the most significant pat-
the redundancy. Generally, the classification has required for terns and variations in the image.
compression, lossy, and lossless images. The image dimen- Pixel reduction is a process in image processing that
sion can be reduced and discarded to the method followed involves decreasing the number of pixels in an image, often
with the content to the redundant feature processed with the to achieve a more manageable size or to improve compu-
loss informed (Ng, 2017). tational efficiency. This reduction is usually accompanied
Decompressed to the perseverance for the original fea- by a loss of detail, as fewer pixels mean less information is
ture extracted to the resolution for digital storage distribu- retained. Various methods are employed for pixel reduction,
tion for the 3D data approach. The image associated with and one notable technique is PCA. PCA is a mathematical
high pixel with the data space with the value interpretation procedure that transforms a set of correlated variables, in
to the matrix conversion represented to figuring RGB for this case, pixel values, into a new set of uncorrelated vari-
pixel coloring system design rendered to the communica- ables called principal components (Guan et al., 2023). When
tion scheme with the bandwidth reached for the multimedia applied to high-resolution images, PCA allows for the identi-
system generated to the critical aspect of representing the fication of the most significant features, enabling the reduc-
image (Yang et al., 2004; Robinson, 2009). Consequently, tion of pixel dimensions while retaining the essential visual
the image resulted to the degree tolerable with the com- characteristics. Pixel reduction is widely used in applications
prehensive files associated to the degraded associated for such as image compression, data storage optimization, and
visualization noticed in which compressed quality signi- real-time processing, where a balance between reduced data
fied. On the contrary, the transmitted network evaluates the size and preserved visual information is crucial. Efficient
compression scheme to discard the redundant data with a pixel reduction methods contribute to faster image transmis-
tolerable ratio. sion, storage, and analysis across various domains, ranging
Figure 1 shows the block representation of PCA. This from computer vision and medical imaging to remote sens-
technique has been employed for the spatial distribu- ing and multimedia applications. Pixel reduction of high-
tion structured through the functioning of a mathematical resolution images is a crucial process in image processing
model (Santo, 2012). Indeed, the single value decomposition aimed at decreasing the number of pixels while balancing the
method has been utilized for fundamental properties extrac- preservation of essential visual details. Various techniques
tion within the system of a linear function. For removal of are employed to achieve this, ranging from simple meth-
noise distributed within the data associated with processing ods such as downsampling or subsampling, which involves
to the signal associated to the approach PCA through image removing pixels at regular intervals, to more sophisticated
recognition, signal processing, and classification problems, approaches like PCA. PCA is a mathematical technique that
for the technical aspect of dimensional reduction with seek- identifies and retains the most significant features in the form
ing original information content as possible (Guan et al., of principal components, enabling a substantial reduction
2023), furthermore, PCA, used in dimension reduction, ena- in pixel dimensions without compromising critical visual
bles data identification and expression of standards. PCA information. Other methods include averaging or pooling,
has widespread application in pattern recognition, system wavelet transforms, and quantization, each with its specific

Fig. 1  PCA block representa-


tion
Journal of the Indian Society of Remote Sensing

advantages and trade-offs. The choice of the pixel reduction conventional application. Large-scale high-dimensional or
method depends on the desired application, whether it be high-resolution images are currently difficultly facilitated
data compression, storage optimization, or improved com- within the image dimensioned at the higher resolution for
putational efficiency (Seo et al., 2021). While pixel reduc- greater density. The number of features or dimensions of
tion is valuable for tasks like image compression in web an image refers to the number of pixels that comprise that
applications or real-time processing in computer vision, it image. It is observed that larger images would necessitate
necessitates careful consideration of the trade-off between extensive divisions (Nisha & Monoth, 2020). Fundamen-
reduced data size and the potential loss of image quality and tally, images generally contain redundant data, implying
details. Pixel reduction of high-resolution images using PCA data duplication with pixels repeating to the patterned data
is a sophisticated approach employed in the field of image or image for reducing the dimensionality supports for the
processing to efficiently compress and represent visual infor- storage facility. Consequently, a compressed image signi-
mation. High-resolution images often contain a vast amount fies actual application to redundant features. Elimination
of redundant or correlated pixel data, making them com- of the compressed image occurred for the representation of
putationally intensive to store and transmit. PCA, a linear the image compression. Pixel quantified the reduced visu-
dimensionality reduction technique, addresses this challenge alization for the altered image pixel classified application
by identifying and retaining the most significant features, division at specific design (Shereena & David, 2015). As a
known as principal components, while discarding less cru- result, image dimension reduction or compression is typi-
cial information. In this context, the principal components cally a data compression application that encodes the origi-
capture the directions in which the data vary the most, allow- nal image with fewer bits, potentially, with the image pixel
ing for a compact representation of the image (Fan et al., removed based on a grouping to the uploaded image at the
2023). By strategically selecting a subset of these principal sending at a greater extent.
components, one can achieve a substantial reduction in the Further, specified methodology appropriate to the vector
image's pixel dimensions without compromising its essential compressed to the lossy data featured to the transmitted for
visual content. This process holds significance across vari- data sequenced design. Compression with the lossless and
ous domains, including data compression, storage optimiza- lossy categorized for the compressed image. Lossless and
tion, and real-time image processing, where the preservation lossy compression are the two types of image compression.
of critical visual details is essential. The utilization of PCA PCA is a lossy compression algorithm attributed to feature
for pixel reduction not only contributes to resource efficiency vectors used in many applications, such as image compres-
but also facilitates faster transmission and analysis of high- sion and digital watermarking (Yang et al., 2002). PCA has
resolution imagery in diverse applications. gained collected conscientious with image compression in
The structure of the paper is as follows: Sect. "Litera- modern ages. The reduced image compression's primary
ture Survey" illustrates the related works associated with goal utilized PCA for image pixels redundancy to improve
PCA and image compression. Section "Literature Survey" image sharing, transmission, and storage.
describes PCA with the working principle. Section "Experi- Here are a few literatures works presented on pixel reduc-
mental Setup" explains the experiment, results and discus- tion of high-resolution images using PCA. (Bruni et al.,
sion and, finally, concluding the work in Sect. "Results and 2022) discuss the application of PCA for image compres-
Discussion." sion and pixel reduction. It explores how PCA can be used to
reduce the number of pixels while maintaining image qual-
ity. The study shows that PCA can effectively reduce the
Literature Survey dimensionality of images and achieve compression ratios
without significant loss of visual information. Chen et al.
Generally, the schemes associated with the compression fea- (2016) present a comprehensive analysis of PCA-based
sibility applied to the standardized approach of Joint Photo- image compression techniques. It focuses on pixel reduc-
graphic Experts Group (JPEG) format within the start-of-art tion and highlights the benefits of using PCA for preserving
deployed through spectral analysis, artificial neural network, essential information in high-resolution images. The study
discrete wavelet transform (DWT), discrete cosine transform compares the performance of different PCA-based compres-
(DCT), and fast Fourier transform (FFT) (Seo et al., 2021; sion algorithms and provides insights into their efficiency
Fan et al., 2023). With the images compressed through and limitations. Wandelt et al. (2016) compare PCA with
the transformation of a two-dimensional (2D) matrix allo- the discrete cosine transform (DCT) for image compression
cated to the equivalent frequently associated to the values and pixel reduction. It evaluates the trade-offs between the
distributed for platforms achieved for a more remarkable two techniques in terms of compression ratios, computa-
case of the scenario set to the current methodology pro- tional complexity, and image quality. The results indicate
cessed in spectral based for hyper design compacted to the that PCA can achieve comparable compression ratios while
Journal of the Indian Society of Remote Sensing

providing different visual quality characteristics compared to models (Ahmadi et al., 2023; Carvalho Michalski & Souza,
DCT. Vallathan & Jayanthi, (2015) presented a survey paper 2022). Assessing the trade-offs between pixel reduction and
which provides an extensive overview of various PCA-based the performance of these applications is an area that needs
image compression techniques, including pixel reduction. It attention.
discusses the theoretical foundations, algorithms, and per- In recent research trends regarding the pixel reduction of
formance evaluation metrics associated with PCA-based high-resolution images using principal component analysis
compression. The authors highlight the advantages and (PCA), there has been a notable integration of deep learning
challenges of using PCA and present a comprehensive com- methodologies, particularly the incorporation of neural net-
parison of different approaches proposed in the literature. works like autoencoders alongside PCA for improved image
Wang et al. (2022) presented a review article that explores compression (Moore, 1981). Adaptive compression methods
the application of PCA for image compression, including have gained prominence, aiming to dynamically adjust com-
pixel reduction. It provides an overview of the different pression levels based on image content, offering optimized
stages involved in PCA-based compression and discusses outcomes for different regions of an image. Researchers
the impact of parameter selection on the compression per- are increasingly focused on achieving high compression
formance. The study also discusses the trade-offs between ratios while ensuring perceptual image quality, leading to
compression ratios, computational complexity, and image the development of lossy compression techniques that intel-
quality. ligently reduce pixel information while preserving crucial
While PCA has been widely studied and applied for vari- visual features. Hybrid compression approaches, combin-
ous image processing tasks, including image compression ing PCA with other techniques such as wavelet transforms
and dimensionality reduction, there are still some research or neural network-based methods, have seen growing inter-
gaps in the context of pixel reduction of high-resolution est due to their potential to enhance compression efficiency
images using PCA. Here are a few potential research gaps (Abdi & Williams, 2010; Santo, 2012). Furthermore, recent
in this area: optimal selection of principal components: efforts involve optimizing PCA-based pixel reduction tech-
Determining the optimal number of principal components niques for efficient hardware implementation, catering to
to retain for pixel reduction is still an open research question. real-time image processing needs on specialized architec-
While the selection of components depends on factors like tures like Graphics Processing Unit (GPUs), Tensor Pro-
compression ratio and image quality, developing automated cessing Unit (TPUs), or Field-Programmable Gate Array
or adaptive methods to determine the optimal number of (FPGAs). Researchers are also tailoring these techniques
components remains a challenge. Trade-off between pixel to domain-specific applications such as medical imaging
reduction and image quality: Finding an optimal balance and surveillance, considering the unique characteristics
between pixel reduction and preserving image quality is cru- of different image types. In response to privacy concerns,
cial. Existing studies focus on achieving higher compres- there is a focus on developing compression methods that
sion ratios but often at the cost of noticeable image degrada- allow pixel reduction while preserving sensitive informa-
tion. Exploring advanced techniques or algorithms that can tion, and ongoing work aims to improve the robustness of
enhance image quality while reducing pixels is an area for PCA-based approaches against various types of noise and
further investigation. Handling large-scale high-resolution distortions commonly encountered in real-world image data.
images: Dealing with large-scale high-resolution images To stay current with the latest advancements, researchers are
poses computational challenges in applying PCA for pixel encouraged to explore recent publications in conferences and
reduction. Developing scalable algorithms or parallel pro- journals dedicated to image processing, computer vision,
cessing techniques that can efficiently handle large images and related fields, while also monitoring preprint archives
while maintaining accuracy is an important research direc- and engaging with relevant online communities. Analyti-
tion (Kurek et al., 2022). Robustness to different image types cal methods for pixel reduction of high-resolution images
and content: The performance of PCA for pixel reduction using PCA involve several key steps. The process begins
may vary across different types of images and content. Inves- with converting the high-resolution image into a matrix and
tigating the robustness of PCA-based approaches to different normalizing pixel values. The matrix is then flattened into
image characteristics (e.g., texture, color, spatial distribu- a one-dimensional (1D) vector. Subsequently, the covari-
tion) and exploring techniques to improve their adaptabil- ance matrix of the flattened data is computed, and eigen-
ity to diverse image content is an area that requires further value decomposition is performed to obtain eigenvectors
exploration. Evaluating the impact on downstream applica- and eigenvalues. Sorting and selecting the top eigenvectors
tions: While pixel reduction using PCA can reduce the stor- based on eigenvalues determine the principal components
age requirements of high-resolution images, it is important for dimensionality reduction. Projection onto these compo-
to evaluate its impact on downstream applications such as nents reduces the image to a lower-dimensional space. The
image analysis, computer vision tasks, or machine learning reconstructed data are then reshaped to the original image
Journal of the Indian Society of Remote Sensing

dimensions, and the process allows for experimentation with applicability and effectiveness of PCA-based pixel reduction
the number of principal components to balance compression across various image types, domains, and applications. This
and image quality. Quantitative evaluation metrics such as involves studying the performance of PCA on different types
Mean Squared Error or Structural Similarity Index aid in of images, such as natural images, medical images, satellite
assessing the fidelity of the reduced-resolution image com- images, and investigating its adaptability to different content
pared to the original. These analytical steps provide a sys- characteristics and variability.
tematic approach for applying PCA to achieve pixel reduc- By addressing these objectives, researchers can advance
tion in high-resolution images. the understanding, techniques, and applications of pixel reduc-
Addressing these research gaps can lead to the development tion of high-resolution images using PCA, leading to improved
of more efficient, accurate, and adaptable techniques for pixel image compression, storage efficiency, and subsequent image
reduction of high-resolution images using PCA. It is worth analysis tasks.
noting that these research gaps are not exhaustive, and there
may be other specific aspects or challenges that researchers can Proposed Methodology
explore in this field. The objectives of pixel reduction of high-
resolution images using PCA can be summarized as follows: Overview of PCA
Achieve efficient image compression: The primary objective is
to reduce the number of pixels in high-resolution images while It signifies the superior analytics of data and its recognition
maintaining an acceptable level of image quality. PCA can of patterns, as well as a statistical technique for image pro-
help identify the most important components that contribute cessing such as compression, dimension reduction, and so
to the image's variability, allowing for efficient compression on. For data matrix dimensionality reduction, generally, PCA
and storage of the image data. Preserve essential image infor- is applicable. PCA reduces dimensionality by separating the
mation: While reducing the number of pixels, it is crucial to multi-dimensional data preserved to the P.C. In practical to
preserve the essential information and characteristics of the the compression for the methodology in content to the exact
original image. The objective is to ensure that the reduced precision with the compression informed for the image repre-
image retains key visual features, structures, and important sentative through processing with high-pixel rate (Windisch
details necessary for subsequent analysis or interpretation et al., 2023). According to PCA, the image compression from
(Du & Fowler, 2008). Optimize compression ratio: Another the actual data holds high-pixel quantified under lower-rate
objective is to achieve a high compression ratio, which refers dimensioned for representing the individual pixel subjected to
to the ratio of the size of the original image to the size of the RGB estimate. Indeed, a multi-variable probability grouping is
compressed image. By leveraging the dimensionality reduc- distributed within the data by the coordinates of the X and Y
tion capabilities of PCA, the goal is to significantly reduce plane. Fining with the variations to the maximum extent of the
the image size while still maintaining an acceptable level of datasets for components mainly directed to the axis of U and V.
image quality. Minimize information loss: Although pixel Figure 2 depicts the dimension reduction in the X and Y
reduction involves discarding some pixel values, the objec- correlated with U and X planes. PCA operates on the prin-
tive is to minimize the information loss during this process. ciple of placing the axis on the maximum variance, which
By selecting an appropriate number of principal components, has been accomplished through regression. The advantage of
the aim is to retain the most significant information while dis- using PCA functions under information that attains lossless
carding less important details that contribute less to the overall transform with the data, including patterns in the findings of
image appearance. Enhance computational efficiency: PCA data compressed with the dimension quantity. PCA achieves
can provide computational advantages in terms of reducing compression by removing principal components with low
the dimensionality of the image data. The objective is to lev- eigenvalues. In general, the following steps have been taken
erage PCA's efficiency to reduce the computational complex- through PCA for image resolution reach:
ity for subsequent image processing tasks, such as analysis,
feature extraction, or pattern recognition, that may benefit • Altering image through mean-vector
from a lower-dimensional representation of the image. Evalu- • Computing covariance matrix
ate the trade-off between compression and image quality: It • Calculating eigenvalues and eigenvectors
is essential to find an optimal trade-off between the degree of • Reconstructing original image
pixel reduction (compression) and the resulting image qual-
ity (Qian et al., 2023). The objective is to quantitatively and
qualitatively assess the trade-off and identify the optimal bal-
ance that meets the specific requirements of the application
or user preferences. Investigate the applicability to different
image types and domains: Another objective is to explore the
Journal of the Indian Society of Remote Sensing

Fig. 2  PCA for dimension reduction (Santo, 2012)

The Process Involved in Digital Image Pixel det(A − 𝜆I) = 0 (6)


Reduction
AV = 𝜆V (7)
Representation of digital image associated to pixel catego-
rized through 2D matrix within the following formulated V is the principal component. The imaging data trans-
arrangement, formed to the newly biased transformation by stepping the
image at the actual axis to the reduced case of the image
⎡ f (0, 0) ⋯ f (0, m − 1) ⎤ pixel.
F(x, y) = ⎢ ⋮ ⋱ ⋮ ⎥ (1)
⎢ ⎥
⎣ f (n − 1, 0) ⋯ f (n − 1, m − 1) ⎦ Ftransformed (x, y) = U T Ftransformed (x, y) (8)

Image normalization is performed based on the data-


Algorithm
set of the image applied, and the separation facilitates the
signal-to-noise ratio (SNR) enhancement. Step 1: Data fetching; Input data = x1 , x2 , … .., xM are N × 1 vector
∑M
Step 2: Compute mean-vector (𝜇);= M1 i=1 xi
⎡ f (0, 0) ⋯ f (0, m − 1) ⎤
⎢ ⎥ Step 3:{Deduction of
{ mean}with the acquired
Fnormalized (x, y) =⎢ ⋮ ⋱ ⋮ ⎥ }
data; ∅i (N×1) = xi − x (N×1)
⎢ ⎥
⎣ f (n − 1, 0) ⋯ f (n − 1, m − 1) ⎦ (2)
Step [4: Computation of] matrix subjected to the covariance;
− [ f (0, 0) … f (0, m − 1) ] A= ∅1 ∅2 … … .∅M (N×M)�
Step 5: Determining the covariance
� matrices eigenvectors� and values
1 ∑M
Covariance can be determined with tremendous uncer- T 1
{C}(N×N) = M j=1 ∅j ∅j = M A(N×M) A (M×N) T

tainty for locating the dataset quantity.


(N×N)

Step 6: Selecting mechanisms with vectors featuring the formed


Fnormalized (x, y) ∗ Fnormalized (x, y)T structure; 𝜆1 > 𝜆2 > … . > 𝜆N and u1 , u2 , … .uN
cov(X, Y) = (3) Step 7: Originating recent data
m−1
Eigenvectors can represent features for the principal
aspect. Through the singular value decomposition (SVR),
Block Diagram
the eigenvectors and values for the uncertainty matrix are
obtained.
Here is a block diagram outlining the steps involved in a
T
AA = cov(X, Y) = UD U 2 T
(4) proposed hybrid PCA approach for pixel reduction of high-
resolution images: Image Loading: The high-resolution
image is loaded into the system. This can be done using an
1 ∑( )
n
xi − x (yi − y) (5) image processing library or tool. Preprocessing: The image
n − 1 i=1 may undergo preprocessing steps, such as resizing or nor-
malization, to ensure consistency and enhance the effective-
ness of the subsequent processing steps. Block Partitioning:
Journal of the Indian Society of Remote Sensing

The image is divided into smaller blocks or patches. The required software and libraries on the system to enable PCA
size and shape of the blocks can be predefined or adaptive implementation. Additionally, consider using optimized
based on the specific algorithm or application requirements libraries or GPU-accelerated implementations for faster
(Dhasarathan et al., 2019; Singh & Malhotra, 2020; Usman computations.
et al., 2023). PCA on Blocks: principal component analy- Parallelization: To improve the efficiency of PCA,
sis (PCA) is applied individually to each block. For each especially for large datasets, consider parallelizing the
block, the steps of PCA are performed, including comput- computations. This can be achieved by utilizing parallel
ing the covariance matrix, calculating the eigenvalues and programming frameworks (e.g., OpenMP, MPI) or dis-
eigenvectors, and sorting them. Component Selection: The tributed computing frameworks (e.g., Apache Spark) to
most significant principal components are selected for each distribute the computation across multiple processors or
block based on some criteria. This selection can be based machines.
on the eigenvalues or a threshold for the amount of variance Data Preprocessing: Depending on the characteris-
explained. Reconstruction: The selected principal compo- tics of the dataset, preprocessing steps such as data nor-
nents for each block are used to reconstruct the reduced malization or standardization may be necessary before
pixel block. The reconstruction process involves multiply- applying PCA. Ensure that the system has the necessary
ing the selected components by their respective weights and tools or libraries to perform data preprocessing tasks
summing them up. Block Combination: The reconstructed efficiently.
pixel blocks are combined or stitched together to form the Visualization Tools: PCA often involves visualizing the
reduced image. The combination process depends on the results, such as plotting the principal components or exam-
block partitioning strategy used in step 3. Postprocessing: ining the explained variance. Use appropriate visualization
The reduced image may undergo postprocessing steps, such tools or libraries to facilitate the analysis and interpreta-
as resizing to the desired dimensions or applying additional tion of the PCA results.
image enhancement techniques to improve the visual quality Scalability: If working with large-scale datasets or
or specific characteristics of the image. Display or Save: The aiming for real-time or near real-time analysis, consider
reduced image can be displayed for visualization or saved the scalability of the system. This may involve designing
for further analysis or storage purposes. The system con- distributed or streaming PCA algorithms that can handle
figuration for principal component analysis (PCA) depends the data volume and velocity requirements.
on the specific implementation and the size of the dataset The specific system configuration requirements will
being processed. depend on the dataset size, the available resources, and
Here are some considerations for the system configuration the goals of the PCA. It is important to assess the com-
when performing PCA: putational and memory requirements and optimize the
Processing Power: PCA can be computationally inten- system configuration accordingly to ensure efficient and
sive, especially for large datasets. Consider using a system accurate PCA computations. The proposed hybrid PCA
with sufficient processing power, such as a multi-core CPU approach combines the advantages of block-based process-
or a high-performance computing cluster, to expedite the ing and PCA to achieve pixel reduction of high-resolution
PCA computations. images. By applying PCA individually to smaller blocks,
Memory: PCA involves working with the covariance the method can capture local variations more effectively,
matrix, which can be memory-intensive, especially for high- potentially leading to improved image quality and bet-
dimensional datasets. Ensure that the system has enough ter preservation of important image details compared to
memory to accommodate the dataset and the intermediate applying PCA directly on the entire image. It is impor-
computations involved in PCA. If the dataset is too large to tant to note that the specific details and variations of the
fit in memory, distributed or online PCA algorithms can be hybrid PCA approach may vary depending on the proposed
considered. method or algorithm. The above block diagram provides
Storage: Depending on the size of the dataset, storage a general overview of the key steps involved in such a
capacity may be required to store the dataset and intermedi- hybrid approach.
ate results during the PCA process. Ensure that the system Figure 3 describes PCA is a technique that can be used
has enough storage space to accommodate the data and any to automatically perform dimensionality reduction. This
additional output or logging generated during the PCA. algorithm aims to find the directions of maximum vari-
Software and Libraries: PCA can be implemented using ance in high-dimensional data into a new sub space with
various programming languages (e.g., Python, MAT- equal or fewer dimensions than the original. It involves
LAB) and libraries (e.g., NumPy, scikit-learn). Install the reducing the number of input variables or pixels in mod-
elling data. PCA helps us identify data patterns based on
the correlation between features. In this, we have taken
Journal of the Indian Society of Remote Sensing

Fig. 3  Block diagram of the


steps that forms the proposed
hybrid PCA

an H.D. image which consists of 315,521(for 2176*1450 A. Compression Ratio: Calculate the compression ratio
image) pixels, and by applying different principle com- achieved for each image, which is the ratio of the original
ponents, we could reduce the size to 100 pixels. image size to the reduced image size.
b. Image Quality: Assess the quality of the reduced
images using objective metrics such as Peak Signal-to-Noise
Experimental Setup Ratio (PSNR) or Structural Similarity Index (SSIM). Alter-
natively, subjective evaluation by human observers can be
An experimental setup for pixel reduction of high-reso- conducted through user studies or preference tests.
lution images using PCA typically involves the following Comparative Analysis: Compare the results of the PCA-
components and steps: based pixel reduction with other baseline methods or state-
Dataset Selection: Choose a dataset of high-resolution of-the-art techniques, such as other dimensionality reduction
images that will be used for experimentation. The dataset algorithms or image compression algorithms. This analysis
should include a variety of images representing different helps evaluate the effectiveness and efficiency of the pro-
types, contents, and characteristics to ensure a compre- posed PCA approach.
hensive evaluation. Statistical Analysis: Perform statistical analysis on the
Preprocessing: Preprocess the images if necessary, experimental results, such as calculating means, standard
including resizing, normalization, or conversion to gray- deviations, or conducting hypothesis tests, to assess the sig-
scale, based on the specific requirements of the experiment nificance of the observed differences and validate the experi-
and the PCA algorithm being employed. mental findings.
PCA Implementation: Implement the PCA algorithm Discussion and Conclusion: Analyze the experimental
for pixel reduction. This involves coding or utilizing results, discuss the advantages and limitations of the pro-
existing PCA libraries or tools to perform the necessary posed PCA-based pixel reduction approach, and draw con-
calculations, including covariance matrix computation, clusions regarding its performance, applicability, and poten-
eigenvalue/eigenvector analysis, and selection of princi- tial improvements.
pal components. Documentation and Reporting: Document the experi-
Experimental Parameters: Define the parameters for the mental setup, procedures, and results thoroughly. Prepare a
experiment. This includes specifying the number of princi- report or paper summarizing the experimental setup, find-
pal components to retain for pixel reduction, compression ings, and conclusions. Include visualizations, tables, and
ratio targets, or any other specific requirements of the study. figures as necessary to support the results and analysis.
Experimental Procedure: By following this experimental setup, researchers can sys-
A. Iterate through the images in the dataset. tematically evaluate the performance and efficacy of the pro-
b. Apply the PCA algorithm to each image, performing posed PCA-based pixel reduction method for high-resolution
pixel reduction based on the chosen parameters. c. Record images, contributing to the understanding and advancement
the computation time required for PCA and pixel reduction of image processing and compression techniques.
for each image.
Evaluation Metrics:
Journal of the Indian Society of Remote Sensing

Fig. 4  Original image (31.4 KB file size)

Fig. 5  High-pixel image (3,155,200 pixels) for applying to PCA for


Results and Discussion dimension reduction

The experimental outcome proves that the proposed tech-


nique based on PCA attains the maximum reach of dimen-
sion reduction and emphasizes storage reserves and duration
in the transmission process can be attained for the files of
images fed upon integration into the image preservice, and
moreover, observed that the process of PCA accomplishes
minimal significant characteristics that are discarded within
the image, retaining the original image, and holding the pixel
rate of high quality. Indeed, the image with a high pixel is
used for the investigation, and then the PCA approach is
applied to reduce the dimension. The term "physical aug-
mentation" typically pertains to tangible modifications in
the physical realm, whereas PCA operates in the virtual Fig. 6  Blurry image obtained with computation with five principal
components
space of data analysis. However, the results of PCA, such
as reduced-resolution images, can be seamlessly integrated
into physical systems or devices. For instance, these images
might find application in embedded systems, IoT devices, or
physical displays where lower resolution is acceptable. The
implementation of reduced-resolution images can cater to
specific needs, adapting computational outcomes for practi-
cal use in the physical world.
Figure 4 depicts the original image with a file size allo-
cated 31.4 KB, with the image as the input given to the
technique of PCA for the analysis of the compression
dimensionality.
Figure 5 depicts the high-pixel image with a 3,155,200-
pixel rate in the application of PCA for reducing dimension
by vectoring the system to be fed for the initiative output. Fig. 7  Blurry image obtained with computation with ten principal
Figure 6 shows the first application computed with only five components
principal components and achieved a blurry output image.
Here five dimensions have been considered. i.e., only five
eigenvectors will be considered, ultimately giving fewer and achieved a blurry output image. Here ten dimensions
dimensions but not a clear image. Figure 7 shows the first have been considered. i.e., only ten eigenvectors will be
application computed with only ten principal components
Journal of the Indian Society of Remote Sensing

Fig. 8  Blurry image obtained with computation with 25 principal


components Fig. 10  Dimension reduced or compressed image reduced to 100-
pixel (26.8 kB) using PCA
considered, giving ultimately fewer dimensions but not a
clear image. Conclusion
Figure 8 shows the first application computed with only
25 principal components and achieved a blurry output In this work, PCA is associated with the transformational
image. Here five dimensions have been considered. i.e., only division of orthogonal vector in grouping with the quan-
25 eigenvectors will be considered, ultimately giving fewer tity that correlates with the concentration ratio of images
dimensions but not a clear image. Figure 9 shows the first set at maximum pace. The mean, uncertainty, or covari-
application computed with only 50 principal components ance has been distributed with a particular P.C. arrange-
and achieved a blurry output image. Here five dimensions ment to equal analysis, deviating from the eigenvectors
have been considered. i.e., only 50 eigenvectors will be con- and quantities. Further, the interpretation would be set
sidered, ultimately giving fewer dimensions but not a clear for each P.C. to be maintained at certain variables in
image. correlation to the data through standard deviation that
Figure 10 demonstrates the PCA with 100 dimensions. finds greater magnitude within the direction. Comput-
Comparatively, a clear image has been obtained with the ing with the eigenvectors and values depending on the
lower-dimensional space focusing on the maximum phase image dimension varied to size and matrix configura-
of the particular image as input fed. tion, nevertheless, the computational technique com-
Table 1 summarizes the comparison between the pro- plexity can be reached to the specific dataset enhanced
posed and previous methodologies. The proposed model for the component-based images. Experimental results
for the sample image is given a high pixel image and indicate that principal component analysis (PCA) proves
compressed into a smaller file without losing the impor- effective in addressing these challenges by efficiently
tant features. It is the comparison table of previous mod- reducing the dimensionality of image data while retain-
els and our working model. Thus, this comparison table ing the principal properties of the original image. This
shows that our model works better to compress images reduction in dimensionality not only mitigates data
in higher dimensions. transmission issues but also results in more efficient
storage utilization. The study converts the image's pixel
dimension from the original data, attaining a pixel rate
of 3,155,200-to-100-pixel rate. Therefore, converting
a 9,465,600-byte image to a 300-byte image (pixel is
usually 3 bytes). Further research will be investigating
an alternative dimension reduction approach for solving
nonlinear problem space with correlated variables.
Further research will be investigating an alterna-
tive dimension reduction approach for solving nonlin-
ear problem space with correlated variables. Also, on
developing novel algorithms or modifications to PCA
that can better capture the underlying structure and vari-
ations in high-dimensional data with extensions of PCA
Fig. 9  Slightly blurry image obtained with computation with 50 prin- to nonlinear dimensionality reduction techniques, such
cipal components as kernel PCA or manifold learning methods, to better
Journal of the Indian Society of Remote Sensing

Table 1  Comparison between the proposed and previous methodologies

Reference No. Methodology C.R. (Comparison Ratio) for 10 Principal C.R. (Comparison Ratio) for 100
Components Principal Components

Tan et al. (2021) PCA 24.4000:1 2.5000:1


Neto et al. (2013) PCA 25.3256:1 2.2630:1
Yang et al. (2004) PCA 20:1569:1 1.2969:1
Bruni et al. (2022) PCA 21:1895:1 2:3246:1
Moore (1981) PCA 23:3563:1 1:3423:!
Proposed Method PCA 31.552:1 (For 2176 × 1450 image) 3.15520:1 (For 2176 × 1450 Image)

handle nonlinear data structures on developing adaptive Journal of High-Performance Computing Applications, 22(4),
and online PCA algorithms that can handle streaming or 438–448.
Fan, Q., Zhang, X., & Wang, G. (2023). A dynamic star spots extrac-
large-scale data, where the data are continuously arriving tion method based on pixel association. Advances in Space
or the memory capacity is limited. Research, 73(1), 1019–1030.
Gosavi, A. P., & Khot, S. R. (2013). Facial expression recognition
using principal component analysis. International Journal of Soft
Authors Contributions RR, MT, RTP, GR helped in resources, soft- Computing and Engineering (IJSCE), 3(4), 2231–2307.
ware, conceptualization and visualization, writing—original draft; Guan, Q., Deng, H., Gao, X., Zhong, X., Ma, M., & Gong, X. (2023).
SS, AG, VRL, BA were involved in data curation, formal analysis, Source separation and noise reduction in single-pixel imaging.
investigation, supervision, validation; SHA, ANZR, Md. AH performed Optics and Lasers in Engineering, 170, 107773.
methodology and writing—review editing. Kurek, K. A., Heijman, W., van Ophem, J., Gędek, S., & Strojny, J.
(2022). Measuring local competitiveness: Comparing and inte-
Declarations grating two methods PCA and AHP. Quality & Quantity, 56(3),
1371–1389.
Conflict of interest The authors declared that they have no conflict of Moore, B. (1981). Principal component analysis in linear systems: Con-
interest. trollability, observability, and model reduction. IEEE Transactions
on Automatic Control, 26(1), 17–32.
Neto, A. M., Victorino, A. C., Fantoni, I., Zampieri, D. E., Ferreira,
J. V., & Lima, D. A. (2013, April). Image processing using Pear-
son's correlation coefficient: Applications on autonomous robot-
References ics. In 2013 13th International Conference on Autonomous Robot
Systems (pp. 1–6). IEEE.
Abdi, H., & Williams, L. J. (2010). Principal component analysis. Ng, S. C. (2017). Principal component analysis to reduce dimension on
Wiley Interdisciplinary Reviews: Computational Statistics, 2(4), digital image. Procedia Computer Science, 111, 113–119.
433–459. Nisha, C. D., & Monoth, T. (2020). Analysis of spatial domain image
Ahmadi, M., Sharifi, A., Jafarian Fard, M., & Soleimani, N. (2023). steganography based on pixel-value differencing method. Soft
Detection of brain lesion location in MRI images using convolu- Computing for Problem Solving: SocProS 2018 (Vol. 2, pp. 385–
tional neural network and robust PCA. International Journal of 397). Singapore: Springer.
Neuroscience, 133(1), 55–66. Qian, J., Cao, Y., Bi, Y., Wu, H., Liu, Y., Chen, Q., & Zuo, C. (2023).
Belarbi, M. A., Mahmoudi, S., & Belalem, G. (2017). PCA as dimen- Structured illumination microscopy based on principal component
sionality reduction for large-scale image retrieval systems. Inter- analysis. eLlight, 3(1), 4.
national Journal of Ambient Computing and Intelligence (IJACI), Robinson, J. A. (2009). Covariance estimation in full-and reduced-
8(4), 45–58. dimensionality image classification. Image and Vision Computing,
Bruni, V., Cardinali, M. L., & Vitulano, D. (2022). A short review on 27(8), 1062–1071.
minimum description length: An application to dimension reduc- Santo, R. D. E. (2012). Principal component analysis applied to digital
tion in PCA. Entropy, 24(2), 269. image compression. Einstein (são Paulo), 10, 135–139.
Chen, Y., Huang, Z., Sun, H., Chen, M., & Tan, H. (2016). Lossy image Seo, J., Park, W., & Kim, T. (2021). Comparison of pixel-based change
compression using PCA and contourlet transform. In MATEC web detection methods for detecting changes on small objects. Korean
of conferences (Vol. 54, p. 08002). EDP Sciences. Journal of Remote Sensing, 37(2), 177–198.
de Carvalho Michalski, M. A., & de Souza, G. F. M. (2022). Compar- Shereena, V. B., & David, J. M. (2015). Significance of dimensionality
ing PCA-based fault detection methods for dynamic processes reduction in image processing. Signal & Image Processing: An
with correlated and Non-Gaussian variables. Expert Systems with International Journal (SIPIJ), 6(3), 1–16.
Applications, 207, 117989. Singh, M., & Malhotra, J. (2020). Performance comparison of 2×20
Dhasarathan, V., Singh, M., & Malhotra, J. (2019). Development of Gbps-40 GHz OFDM based RoFSO transmission link incorporat-
high-speed FSO transmission link for the implementation of 5G ing MDM of Hermite Gaussian modes using different modula-
and Internet of Things. Wireless Networks, 26, 2403–2412. https://​ tion schemes. Wireless Personal Communications, 110, 699–711.
doi.​org/​10.​1007/​s11276-​019-​02166-5 https://​doi.​org/​10.​1007/​s11277-​019-​06750-y
Du, Q., & Fowler, J. E. (2008). Low-complexity principal component Tan, L., Wu, F., & Li, W. (2021). Image compression and reconstruc-
analysis for hyperspectral image compression. The International tion based on PCA. Journal of Physics: Conference Series, 1944,
012–021.
Journal of the Indian Society of Remote Sensing

Usman, T. M., Saheed, Y. K., Ignace, D., & Nsang, A. (2023). Diabetic Yang, M. H., Kriegman, D. J., & Ahuja, N. (2002). Detecting faces
retinopathy detection using principal component analysis multi- in images: A survey. IEEE Transactions on Pattern Analysis and
label feature extraction and classification. International Journal Machine Intelligence, 24(1), 34–58.
of Cognitive Computing in Engineering, 4, 78–88. Yang, J., Zhang, D., Frangi, A. F., & Yang, J. Y. (2004). Two-dimen-
Vallathan, G., & Jayanthi, K. (2015, December). Lossless compression sional PCA: A new approach to appearance-based face representa-
based on hierarchical extrapolation for biomedical imaging appli- tion and recognition. IEEE Transactions on Pattern Analysis and
cations. In 2015 International Conference on Microwave, Opti- Machine Intelligence, 26(1), 131–137. https://​doi.​org/​10.​1109/​
cal and Communication Engineering (ICMOCE) (pp. 146–149). TPAMI.​2004.​12610​97
IEEE.
Wandelt, S., Sun, X., & Zhu, Y. (2016). Lossless compression of public Publisher's Note Springer Nature remains neutral with regard to
transit schedules. IEEE Transactions on Intelligent Transportation jurisdictional claims in published maps and institutional affiliations.
Systems, 17(11), 3075–3086.
Wang, J., Mohammed, A. S., Macioszek, E., Ali, M., Ulrikh, D. V., & Springer Nature or its licensor (e.g. a society or other partner) holds
Fang, Q. (2022). A novel combination of PCA and machine learn- exclusive rights to this article under a publishing agreement with the
ing techniques to select the most important factors for predicting author(s) or other rightsholder(s); author self-archiving of the accepted
tunnel construction performance. Buildings, 12(7), 919. manuscript version of this article is solely governed by the terms of
Windisch, D., Kaever, C., Juckeland, G., & Bieberle, A. (2023). Par- such publishing agreement and applicable law.
allel algorithm for connected-component analysis using CUDA.
Algorithms, 16(2), 80.

Authors and Affiliations

Ramachandran Radhakrishnan1 · Manimegalai Thirunavukkarasu2 · R. Thandaiah Prabu3 · G. Ramkumar3 ·


S. Saravanakumar4 · Anitha Gopalan3 · V. Rama Lahari5 · B. Anusha5 · Shaik Hasane Ahammad5 ·
Ahmed Nabih Zaki Rashed6 · Md. Amzad Hossain7

* R. Thandaiah Prabu B. Anusha


thandaiah@gmail.com 190049001@kluniversity.in
* Shaik Hasane Ahammad 1
Department of Biomedical Engineering, Rajalakshmi
ahammadklu@gmail.com
Engineering College, Chennai, India
* Ahmed Nabih Zaki Rashed 2
School of Computer Science and Engineering, Vellore
ahmed_733@yahoo.com
Institute of Technology, Chennai Campus, Chennai, India
* Md. Amzad Hossain 3
Department of ECE, Saveetha School of Engineering,
mahossain.eee@gmail.com
Saveetha Institute of Medical and Technical Sciences,
Ramachandran Radhakrishnan SIMATS, Saveetha University, Chennai, Tamilnadu, India
rramachandranece@gmail.com 4
Department of Civil Engineering, S.A. Engineering College,
Manimegalai Thirunavukkarasu Chennai, India
manimegalai.t@vit.ac.in 5
Department of ECE, Koneru Lakshmaiah Education
G. Ramkumar Foundation, Vaddeswaram 522302, India
pgrvlsi@gmail.com 6
Electronics and Electrical Communications Engineering
S. Saravanakumar Department, Faculty of Electronic Engineering, Menoufia
marg.saravana@gmail.com University, Menouf 32951, Egypt
7
Anitha Gopalan Department of Electrical and Electronic Engineering,
anipsg09@gmail.com Jashore University of Science and Technology, Jashore 7408,
Bangladesh
V. Rama Lahari
190040548@kluniversity.in

You might also like