Image segmentation is a critical step in computer vision tasks constituting an essential issue for pattern
recognition and visual interpretation. In this paper, we study the behavior of entropy in digital images
through an iterative algorithm of mean shift filtering. The order of a digital image in gray levels is defined.
The behavior of Shannon entropy is analyzed and then compared, taking into account the number of
iterations of our algorithm, with the maximum entropy that could be achieved under the same order. The
use of equivalence classes it induced, which allow us to interpret entropy as a hyper-surface in real m-
dimensional space. The difference of the maximum entropy of order n and the entropy of the image is used
to group the the iterations, in order to caractrizes the performance of the algorithm
Behavior study of entropy in a digital image through an iterative algorithmijscmcj
Image segmentation is a critical step in computer vision tasks constituting an essential issue for pattern recognition and visual interpretation. In this paper, we study the behavior of entropy in digital images through an iterative algorithm of mean shift filtering. The order of a digital image in gray levels is defined. The behavior of Shannon entropy is analyzed and then compared, taking into account the number of iterations of our algorithm, with the maximum entropy that could be achieved under the same order. The use of equivalence classes it induced, which allow us to interpret entropy as a hyper-surface in real m dimensional space. The difference of the maximum entropy of order n and the entropy of the image is used to group the the iterations, in order to caractrizes the performance of the algorithm.
EDGE DETECTION IN SEGMENTED IMAGES THROUGH MEAN SHIFT ITERATIVE GRADIENT USIN...ijscmcj
In this paper, we propose a new method for edge detection in obtained images from the Mean Shift iterative algorithm. The comparable, proportional and symmetrical images are de?ned and the importance of Ring Theory is explained. A relation of equivalence among proportional images are de?ned for image groups in equivalent classes. The length of the mean shift vector is used in order to quantify the homogeneity of the neighborhoods. This gives a measure of how much uniform are the regions that compose the image. Edge detection is carried out by using the mean shift gradient based on symmetrical images. The difference among the values of gray levels are accentuated or these are decreased to enhance the interest region contours. The chosen images for the experiments were standard images and real images (cerebral hemorrhage images). The obtained results were compared with the Canny detector, and our results showed a good performance as for the edge continuity.
This document discusses various techniques for image enhancement, including point operations, mask operations, transform operations, and coloring operations. It provides details on techniques such as contrast stretching, histogram equalization, and histogram specification. Histogram equalization aims to produce an output image with a uniform histogram, while histogram specification allows specifying a desired output histogram. Both techniques involve transforming the input image using the cumulative distribution function of the input pixel values.
This document discusses various techniques for enhancing images in the spatial domain, which involves direct manipulation of pixel values. It describes point processing techniques like gray-level transformations that map input pixel values to output values using functions like negative, logarithm, power-law, and piecewise linear. Histogram processing techniques are also covered, including histogram equalization, which spreads out the most frequent intensity values in an image. The document provides examples to illustrate the effect of these different enhancement methods.
This document discusses various techniques for enhancing images in the spatial domain, which involves direct manipulation of pixel values. It describes point processing techniques like gray-level transformations that map input pixel values to output values using functions like negative, logarithm, power-law, and piecewise linear. Histogram processing techniques are also covered, including histogram equalization, which spreads out the most frequent intensity values in an image. The document provides examples to illustrate the effect of these different enhancement methods.
This document discusses techniques for enhancing thermal images, including converting to grayscale, histogram equalization, linear and adaptive filtering, and morphological operations. Histogram equalization spreads pixel intensities over the full range to improve contrast. Linear filtering is used for smoothing, sharpening and edge enhancement, while adaptive filtering better preserves edges. Morphological operations use a structuring element to quantify how well an element fits in an image. Fourier transforms change the image domain and can restore images through inverse transforms. The techniques can improve image quality for applications like quality control and diagnostics.
Threshold Selection for Image segmentationParijat Sinha
1. The document examines different image segmentation techniques and threshold selection methods. It analyzes thresholding applied to images of rice grains and spots.
2. Global and adaptive thresholding techniques are compared, with adaptive thresholding found to better handle non-uniform backgrounds. Histogram peak and valley methods for optimal threshold selection are described.
3. Analyzing a spot image, adaptive thresholding at 50-75% best identified the spot, while other edge detectors like Roberts failed. Adaptive thresholding and spot profile analysis were concluded to best analyze spot images.
A Comparative Study of Histogram Equalization Based Image Enhancement Techniq...Shahbaz Alam
Four widely used histogram equalization techniques for image enhancement namely GHE, BBHE, DSIHE, RMSHE are discussed. Some basic definitions and notations are also attached. All analysis are done by using MATLAB . Pictures are taken from the book "Digital Image Processing" by Rafael C. Gonzalez and Richard E. Woods. The presentation slide was made for my B.Sc project purpose.
This document provides an overview of digital image processing concepts. It discusses image representation through histograms and entropy measures. It also covers common image processing techniques like filters and segmentation. Lower-level tasks involve acquisition, preprocessing and feature extraction, while higher-level tasks include recognition and interpretation requiring more intelligence. The document outlines sources of image noise and different types of redundancy in digital images from coding, inter-pixel correlation, and psycho-visual factors that can be reduced through compression.
This document discusses various techniques for image enhancement. It begins with an introduction to image enhancement and its objectives. Then it describes several categories of enhancement techniques including point operations, histogram processing, and spatial and frequency domain filtering. Point operations include intensity transformations like contrast stretching and histogram equalization. Histogram processing techniques manipulate the image histogram for enhancement. Spatial filtering uses convolution with filters like smoothing and sharpening filters. The document provides detailed explanations and examples of these various image enhancement methods.
Feature Extraction of an Image by Using Adaptive Filtering and Morpological S...IOSR Journals
Abstract: For enhancing an image various enhancement schemes are used which includes gray scale manipulation, filtering and Histogram Equalization, Where Histogram equalization is one of the well known image enhancement technique. It became a popular technique for contrast enhancement because it is simple and effective. The basic idea of Histogram Equalization method is to remap the gray levels of an image. Here using morphological segmentation we can get the segmented image. Morphological reconstruction is used to segment the image. Comparative analysis of different enhancement and segmentation will be carried out. This comparison will be done on the basis of subjective and objective parameters. Subjective parameter is visual quality and objective parameters are Area, Perimeter, Min and Max intensity, Avg Voxel Intensity, Std Dev of Intensity, Eccentricity, Coefficient of skewness, Coefficient of Kurtosis, Median intensity, Mode intensity. Keywords: Histogram Equalization, Segmentation, Morphological Reconstruction .
This document summarizes a research paper on color image segmentation using k-means clustering. It discusses how k-means clustering can be used to group color image pixels into a set number of classes without using training data. The clustering groups similar color pixels to obtain segmentation. This avoids calculating features for every pixel and provides efficient segmentation based on color similarity. The document outlines the k-means clustering process used and how it segments an image into distinct colored regions to extract important objects.
Image Retrieval using Equalized Histogram Image Bins MomentsIDES Editor
CBIR operates on a totally different principle
from keyword indexing. Primitive features characterizing
image content, such as color, texture, and shape are computed
for both stored and query images, and used to identify the
images most closely matching the query. There have been
many approaches to decide and extract the features of images
in the database. Towards this goal we propose a technique by
which the color content of images is automatically extracted to
form a class of meta-data that is easily indexed. The color
indexing algorithm uses the back-projection of binary color
sets to extract color regions from images. This technique use
without histogram of image histogram bins of red, green and
blue color. The feature vector is composed of mean, standard
deviation and variance of 16 histogram bins of each color
space. The new proposed methods are tested on the database
of 600 images and the results are in the form of precision and
recall.
Sinusoidal Function for Population Size in Quantum Evolutionary Algorithm and...sipij
Fractal Image Compression is a well-known problem which is in the class of NP-Hard problems. Quantum Evolutionary Algorithm is a novel optimization algorithm which uses a probabilistic representation for solutions and is highly suitable for combinatorial problems like Knapsack problem. Genetic algorithms are widely used for fractal image compression problems, but QEA is not used for this kind of problems yet. This paper improves QEA whit change population size and used it in fractal image compression. Utilizing the self-similarity property of a natural image, the partitioned iterated function system (PIFS) will be found to encode an image through Quantum Evolutionary Algorithm (QEA) method Experimental results show that our method has a better performance than GA and conventional fractal image compression algorithms.
Filtering Corrupted Image and Edge Detection in Restored Grayscale Image Usin...CSCJournals
In this paper, different first and second derivative filters are investigated to find edge map after denoising a corrupted gray scale image. We have proposed a new derivative filter of first order and described a novel approach of edge finding with an aim to find better edge map in a restored gray scale image. Subjective method has been used by visually comparing the performance of the proposed derivative filter with other existing first and second order derivative filters. The root mean square error and root mean square of signal to noise ratio have been used for objective evaluation of the derivative filters. Finally, to validate the efficiency of the filtering schemes different algorithms are proposed and the simulation study has been carried out using MATLAB 5.0.
Contrast stretching aims to increase the dynamic range of an image by transforming gray levels using a piecewise linear function. The locations of points (r1, s1) and (r2, s2) control the shape of this function. Histogram equalization produces an output image with a near-uniformly distributed histogram by mapping input gray levels to output levels based on the cumulative distribution function. It enhances contrast but may introduce noise or wash out images with most pixels at one end of the gray scale. Histogram matching transforms an image to match the histogram of a specified image by applying histogram equalization followed by the inverse transformation.
This document discusses various image processing techniques for contrast enhancement and histogram manipulation, including contrast stretching, gray-level slicing, histogram equalization, and histogram matching. Contrast stretching aims to increase the dynamic range of an image by transforming gray levels using a piecewise linear function. Histogram equalization produces an output image with a near-uniformly distributed histogram for contrast enhancement. Histogram matching enables generating an image with a specified histogram shape by applying histogram equalization followed by the inverse of another image's equalization. Examples are provided to illustrate applying these techniques and their effects.
This slidecast takes an informal approach to image processing using Matlab environment.
Very little math is involved to keep things simple. But the full essence is only felt with the math involved.
The document discusses various image enhancement techniques in the spatial domain. It describes how spatial domain techniques directly manipulate pixel values in an image. Basic approaches include gray level transformations, point processing, and histogram equalization. Gray level transformations map input pixel values to output values using functions like negation, logarithms, and power laws. Point processing methods apply operators locally within a neighborhood, such as contrast stretching. Histogram equalization spreads out the histogram of an image to increase contrast.
Digital Image through Scanner, Digital Camera. Concept of Gray Levels.projectsall
Digital Image through Scanner, Digital Camera. Concept of Gray Levels. Gray Level to Binary Image Conversion. Sampling and Quantization. Relationship between
This document discusses using Fourier transforms to measure image similarity. It proposes a metric that uses both the real and complex components of the Fourier transform to compute a similarity ranking between two images. The metric calculates the intersection of the covariance matrix of the Fourier transform magnitude and phase spectra of the two images. The approach is shown to be advantageous for images with varying degrees of lighting. It summarizes existing methods for image comparison and feature extraction, and discusses implementing the proposed similarity metric using OpenCV. Sample results are given comparing the new Fourier-based method to existing histogram comparison techniques.
The document discusses various techniques for digital image intensity transformations and histogram processing. It begins with an overview of intensity transformations versus geometric transformations. It then covers log transformations, power-law transformations, and piecewise linear transformations in detail. The document also discusses histogram equalization in depth, including its purpose, principles, and specific operations. Additionally, it compares histogram equalization to other enhancement methods like linear stretch and presents examples of when histogram equalization may fail. Finally, the document introduces fundamentals of spatial filtering, including linear spatial filtering operations using different sized box kernels.
Performance Comparison of Density Distribution and Sector mean of sal and cal...CSCJournals
In this paper we have proposed two different approaches for feature vector generation with absolute difference as similarity measuring parameter. Sal-cal vectors density distribution and Individual sector mean of complex Walsh transform. The cross over point performance of overall average of precision and recall for both approaches on all applicable sectors sizes are compared. The complex Walsh transform is conceived by multiplying sal components by j= ã-1. The density distribution of real (cal) and imaginary (sal) values and individual mean of Walsh sectors in all three color planes are considered to design the feature vector. The algorithm proposed here is worked over database of 270 images spread over 11 different classes. Overall Average precision and recall is calculated for the performance evaluation and comparison of 4, 8, 12 & 16 Walsh sectors. The overall average of cross over points of precision and recall is of all methods for both approaches are compared. The use of Absolute difference as similarity measure always gives lesser computational complexity and Individual sector mean approach of feature vector has the best retrieval.
This document provides an overview of various image enhancement techniques. It begins with an introduction to image enhancement and its objectives. It then outlines and describes several categories of enhancement methods, including spatial-frequency domain methods, point operations, histogram operations, spatial operations, and transform operations. Specific techniques discussed in detail include contrast stretching, clipping, thresholding, median filtering, unsharp masking, and principal component analysis for multispectral images. The document also covers color image enhancement and techniques for pseudocoloring.
The document provides an overview of key concepts in image processing, including definitions of digital images, image formats, data types, processing operations, and mathematical foundations. It defines what an image and digital image are, explains color models and image resolution. It also covers common image file formats, data types, the scope of image processing including low, mid, and high-level operations. Additionally, it introduces basic terms in image topology and the mathematical concepts of image formation, properties of the point spread function, and linear shift-invariance and convolution.
This presentation describes briefly about the image enhancement in spatial domain, basic gray level transformation, histogram processing, enhancement using arithmetic/ logical operation, basics of spatial filtering and local enhancements.
A comparative analysis of retrieval techniques in content based image retrievalcsandit
Basic group of visual techniques such as color, shape, texture are used in Content Based Image
Retrievals (CBIR) to retrieve query image or sub region of image to find similar images in
image database. To improve query result, relevance feedback is used many times in CBIR to
help user to express their preference and improve query results. In this paper, a new approach
for image retrieval is proposed which is based on the features such as Color Histogram, Eigen
Values and Match Point. Images from various types of database are first identified by using
edge detection techniques .Once the image is identified, then the image is searched in the
particular database, then all related images are displayed. This will save the retrieval time.
Further to retrieve the precise query image, any of the three techniques are used and
comparison is done w.r.t. average retrieval time. Eigen value technique found to be the best as
compared with other two techniques.
Students will research and orally present a Colombian company using a visual tool, in order to develop their communication skills and intercultural understanding through the exploration of identity, innovation, and local culture, in connection with the IB global themes.
More Related Content
Similar to BEHAVIOR STUDY OF ENTROPY IN A DIGITAL IMAGE THROUGH AN ITERATIVE ALGORITHM OF THE MEAN SHIFT FILTERING (20)
A Comparative Study of Histogram Equalization Based Image Enhancement Techniq...Shahbaz Alam
Four widely used histogram equalization techniques for image enhancement namely GHE, BBHE, DSIHE, RMSHE are discussed. Some basic definitions and notations are also attached. All analysis are done by using MATLAB . Pictures are taken from the book "Digital Image Processing" by Rafael C. Gonzalez and Richard E. Woods. The presentation slide was made for my B.Sc project purpose.
This document provides an overview of digital image processing concepts. It discusses image representation through histograms and entropy measures. It also covers common image processing techniques like filters and segmentation. Lower-level tasks involve acquisition, preprocessing and feature extraction, while higher-level tasks include recognition and interpretation requiring more intelligence. The document outlines sources of image noise and different types of redundancy in digital images from coding, inter-pixel correlation, and psycho-visual factors that can be reduced through compression.
This document discusses various techniques for image enhancement. It begins with an introduction to image enhancement and its objectives. Then it describes several categories of enhancement techniques including point operations, histogram processing, and spatial and frequency domain filtering. Point operations include intensity transformations like contrast stretching and histogram equalization. Histogram processing techniques manipulate the image histogram for enhancement. Spatial filtering uses convolution with filters like smoothing and sharpening filters. The document provides detailed explanations and examples of these various image enhancement methods.
Feature Extraction of an Image by Using Adaptive Filtering and Morpological S...IOSR Journals
Abstract: For enhancing an image various enhancement schemes are used which includes gray scale manipulation, filtering and Histogram Equalization, Where Histogram equalization is one of the well known image enhancement technique. It became a popular technique for contrast enhancement because it is simple and effective. The basic idea of Histogram Equalization method is to remap the gray levels of an image. Here using morphological segmentation we can get the segmented image. Morphological reconstruction is used to segment the image. Comparative analysis of different enhancement and segmentation will be carried out. This comparison will be done on the basis of subjective and objective parameters. Subjective parameter is visual quality and objective parameters are Area, Perimeter, Min and Max intensity, Avg Voxel Intensity, Std Dev of Intensity, Eccentricity, Coefficient of skewness, Coefficient of Kurtosis, Median intensity, Mode intensity. Keywords: Histogram Equalization, Segmentation, Morphological Reconstruction .
This document summarizes a research paper on color image segmentation using k-means clustering. It discusses how k-means clustering can be used to group color image pixels into a set number of classes without using training data. The clustering groups similar color pixels to obtain segmentation. This avoids calculating features for every pixel and provides efficient segmentation based on color similarity. The document outlines the k-means clustering process used and how it segments an image into distinct colored regions to extract important objects.
Image Retrieval using Equalized Histogram Image Bins MomentsIDES Editor
CBIR operates on a totally different principle
from keyword indexing. Primitive features characterizing
image content, such as color, texture, and shape are computed
for both stored and query images, and used to identify the
images most closely matching the query. There have been
many approaches to decide and extract the features of images
in the database. Towards this goal we propose a technique by
which the color content of images is automatically extracted to
form a class of meta-data that is easily indexed. The color
indexing algorithm uses the back-projection of binary color
sets to extract color regions from images. This technique use
without histogram of image histogram bins of red, green and
blue color. The feature vector is composed of mean, standard
deviation and variance of 16 histogram bins of each color
space. The new proposed methods are tested on the database
of 600 images and the results are in the form of precision and
recall.
Sinusoidal Function for Population Size in Quantum Evolutionary Algorithm and...sipij
Fractal Image Compression is a well-known problem which is in the class of NP-Hard problems. Quantum Evolutionary Algorithm is a novel optimization algorithm which uses a probabilistic representation for solutions and is highly suitable for combinatorial problems like Knapsack problem. Genetic algorithms are widely used for fractal image compression problems, but QEA is not used for this kind of problems yet. This paper improves QEA whit change population size and used it in fractal image compression. Utilizing the self-similarity property of a natural image, the partitioned iterated function system (PIFS) will be found to encode an image through Quantum Evolutionary Algorithm (QEA) method Experimental results show that our method has a better performance than GA and conventional fractal image compression algorithms.
Filtering Corrupted Image and Edge Detection in Restored Grayscale Image Usin...CSCJournals
In this paper, different first and second derivative filters are investigated to find edge map after denoising a corrupted gray scale image. We have proposed a new derivative filter of first order and described a novel approach of edge finding with an aim to find better edge map in a restored gray scale image. Subjective method has been used by visually comparing the performance of the proposed derivative filter with other existing first and second order derivative filters. The root mean square error and root mean square of signal to noise ratio have been used for objective evaluation of the derivative filters. Finally, to validate the efficiency of the filtering schemes different algorithms are proposed and the simulation study has been carried out using MATLAB 5.0.
Contrast stretching aims to increase the dynamic range of an image by transforming gray levels using a piecewise linear function. The locations of points (r1, s1) and (r2, s2) control the shape of this function. Histogram equalization produces an output image with a near-uniformly distributed histogram by mapping input gray levels to output levels based on the cumulative distribution function. It enhances contrast but may introduce noise or wash out images with most pixels at one end of the gray scale. Histogram matching transforms an image to match the histogram of a specified image by applying histogram equalization followed by the inverse transformation.
This document discusses various image processing techniques for contrast enhancement and histogram manipulation, including contrast stretching, gray-level slicing, histogram equalization, and histogram matching. Contrast stretching aims to increase the dynamic range of an image by transforming gray levels using a piecewise linear function. Histogram equalization produces an output image with a near-uniformly distributed histogram for contrast enhancement. Histogram matching enables generating an image with a specified histogram shape by applying histogram equalization followed by the inverse of another image's equalization. Examples are provided to illustrate applying these techniques and their effects.
This slidecast takes an informal approach to image processing using Matlab environment.
Very little math is involved to keep things simple. But the full essence is only felt with the math involved.
The document discusses various image enhancement techniques in the spatial domain. It describes how spatial domain techniques directly manipulate pixel values in an image. Basic approaches include gray level transformations, point processing, and histogram equalization. Gray level transformations map input pixel values to output values using functions like negation, logarithms, and power laws. Point processing methods apply operators locally within a neighborhood, such as contrast stretching. Histogram equalization spreads out the histogram of an image to increase contrast.
Digital Image through Scanner, Digital Camera. Concept of Gray Levels.projectsall
Digital Image through Scanner, Digital Camera. Concept of Gray Levels. Gray Level to Binary Image Conversion. Sampling and Quantization. Relationship between
This document discusses using Fourier transforms to measure image similarity. It proposes a metric that uses both the real and complex components of the Fourier transform to compute a similarity ranking between two images. The metric calculates the intersection of the covariance matrix of the Fourier transform magnitude and phase spectra of the two images. The approach is shown to be advantageous for images with varying degrees of lighting. It summarizes existing methods for image comparison and feature extraction, and discusses implementing the proposed similarity metric using OpenCV. Sample results are given comparing the new Fourier-based method to existing histogram comparison techniques.
The document discusses various techniques for digital image intensity transformations and histogram processing. It begins with an overview of intensity transformations versus geometric transformations. It then covers log transformations, power-law transformations, and piecewise linear transformations in detail. The document also discusses histogram equalization in depth, including its purpose, principles, and specific operations. Additionally, it compares histogram equalization to other enhancement methods like linear stretch and presents examples of when histogram equalization may fail. Finally, the document introduces fundamentals of spatial filtering, including linear spatial filtering operations using different sized box kernels.
Performance Comparison of Density Distribution and Sector mean of sal and cal...CSCJournals
In this paper we have proposed two different approaches for feature vector generation with absolute difference as similarity measuring parameter. Sal-cal vectors density distribution and Individual sector mean of complex Walsh transform. The cross over point performance of overall average of precision and recall for both approaches on all applicable sectors sizes are compared. The complex Walsh transform is conceived by multiplying sal components by j= ã-1. The density distribution of real (cal) and imaginary (sal) values and individual mean of Walsh sectors in all three color planes are considered to design the feature vector. The algorithm proposed here is worked over database of 270 images spread over 11 different classes. Overall Average precision and recall is calculated for the performance evaluation and comparison of 4, 8, 12 & 16 Walsh sectors. The overall average of cross over points of precision and recall is of all methods for both approaches are compared. The use of Absolute difference as similarity measure always gives lesser computational complexity and Individual sector mean approach of feature vector has the best retrieval.
This document provides an overview of various image enhancement techniques. It begins with an introduction to image enhancement and its objectives. It then outlines and describes several categories of enhancement methods, including spatial-frequency domain methods, point operations, histogram operations, spatial operations, and transform operations. Specific techniques discussed in detail include contrast stretching, clipping, thresholding, median filtering, unsharp masking, and principal component analysis for multispectral images. The document also covers color image enhancement and techniques for pseudocoloring.
The document provides an overview of key concepts in image processing, including definitions of digital images, image formats, data types, processing operations, and mathematical foundations. It defines what an image and digital image are, explains color models and image resolution. It also covers common image file formats, data types, the scope of image processing including low, mid, and high-level operations. Additionally, it introduces basic terms in image topology and the mathematical concepts of image formation, properties of the point spread function, and linear shift-invariance and convolution.
This presentation describes briefly about the image enhancement in spatial domain, basic gray level transformation, histogram processing, enhancement using arithmetic/ logical operation, basics of spatial filtering and local enhancements.
A comparative analysis of retrieval techniques in content based image retrievalcsandit
Basic group of visual techniques such as color, shape, texture are used in Content Based Image
Retrievals (CBIR) to retrieve query image or sub region of image to find similar images in
image database. To improve query result, relevance feedback is used many times in CBIR to
help user to express their preference and improve query results. In this paper, a new approach
for image retrieval is proposed which is based on the features such as Color Histogram, Eigen
Values and Match Point. Images from various types of database are first identified by using
edge detection techniques .Once the image is identified, then the image is searched in the
particular database, then all related images are displayed. This will save the retrieval time.
Further to retrieve the precise query image, any of the three techniques are used and
comparison is done w.r.t. average retrieval time. Eigen value technique found to be the best as
compared with other two techniques.
Students will research and orally present a Colombian company using a visual tool, in order to develop their communication skills and intercultural understanding through the exploration of identity, innovation, and local culture, in connection with the IB global themes.
Odoo 18 Point of Sale PWA - Odoo SlidesCeline George
Progressive Web Apps (PWA) are web applications that deliver an app-like experience using modern web technologies, offering features like offline functionality, installability, and responsiveness across devices.
Prottutponnomotittwa: A Quiz That Echoed the Pulse of Bengal
On the 31st of May, 2025, PRAGYA – The Official Quiz Club of UEM Kolkata – did not merely organize another quiz. It hosted an ode to Bengal — its people, its quirks, its politics, its art, its rebellion, its heritage. Titled Prottutponnomotittwa, the quiz stood as a metaphor for what Bengal truly is: sharp, intuitive, spontaneous, reflective. A cultural cosmos that thrives on instinct, memory, and emotion.
From the very first slide, it became clear — this wasn’t a quiz made to showcase difficulty or elitism. It was crafted with love — love for Bangla, for its past, present, and its ever-persistent contradictions.
The diversity of the answer list tells the real story of the quiz. The curation was not random. Each answer was a string on a veena of cultural resonance.
In the “Cultural Pairings” round, Anusheh Anadil and Arnob were placed not just as musicians, but as voices of a modern, cross-border Bangla. Their works, which blend baul, jazz, and urban folk, show how Bengal exists simultaneously in Dhaka and Shantiniketan.
The inclusion of Ritwik Chakraborty and Srijit Mukherjee (as a songwriter) showed how the quiz masters understood evolution. Bangla cinema isn’t frozen in the Ray-Ghatak past. It lives, argues, breaks molds — just like these men do.
From Kalyani Black Label to Radhunipagol Chal, consumer culture too had its place. One is liquid courage, the other culinary madness — both deeply Bengali.
The heart truly swelled when the answers touched upon Baidyanath Bhattacharya and Chandril. Both satirists, both sharp, both essential. It was not just about naming them — it was about understanding what different types of literature means in a Bengali context.
Titumir — the play about a peasant rebel who built his own bamboo fort and dared to challenge the British.
Krishnananda Agamvagisha — the mystical Tantric who shaped how we understand esoteric Bengali spiritualism.
Subhas Chandra Bose — the eternal enigma, the braveheart whose shadow looms large over Bengal’s political psyche.
Probashe Ghorkonna — a story lived by many Bengalis. The medinipur daughter, who made a wholesome family, not only in bengal, but across the borders. This answer wasn’t just information. It was emotion.
By the end, what lingered was not the scoreboard. It was a feeling.
The feeling of sitting in a room where Chalchitro meets Chabiwala, where Jamai Shosthi shares the stage with Gayatri Spivak, where Bhupen Hazarika sings with Hemanga Biswas, and where Alimuddin Road and Webskitters occupy the same mental map.
You don’t just remember questions from this quiz.
You remember how it made you feel.
You remember smiling at Keet Keet, nodding at Prabuddha Dasgupta, getting goosebumps at the mention of Bose, and tearing up quietly when someone got Radhunipagol Chal right.
This wasn’t a quiz.
This was an emotional ride of Bangaliyana.
This was — and will remain — Prottutponnomotittwa.
Forestry Model Exit Exam_2025_Wollega University, Gimbi Campus.pdfChalaKelbessa
This is Forestry Exit Exam Model for 2025 from Department of Forestry at Wollega University, Gimbi Campus.
The exam contains forestry courses such as Dendrology, Forest Seed and Nursery Establishment, Plantation Establishment and Management, Silviculture, Forest Mensuration, Forest Biometry, Agroforestry, Biodiversity Conservation, Forest Business, Forest Fore, Forest Protection, Forest Management, Wood Processing and others that are related to Forestry.
How to Setup Lunch in Odoo 18 - Odoo guidesCeline George
In Odoo 18, the Lunch application allows users a convenient way to order food and pay for their meal directly from the database. Lunch in Odoo 18 is a handy application designed to streamline and manage employee lunch orders within a company.
How to Create Time Off Request in Odoo 18 Time OffCeline George
Odoo 18 provides an efficient way to manage employee leave through the Time Off module. Employees can easily submit requests, and managers can approve or reject them based on company policies.
TechSoup Microsoft Copilot Nonprofit Use Cases and Live Demo - 2025.05.28.pdfTechSoup
In this webinar we will dive into the essentials of generative AI, address key AI concerns, and demonstrate how nonprofits can benefit from using Microsoft’s AI assistant, Copilot, to achieve their goals.
This event series to help nonprofits obtain Copilot skills is made possible by generous support from Microsoft.
Based in Wauconda, Diana Enriquez teaches dual-language social studies at West Oak Middle School, guiding students in grades 6-8. With a degree from Illinois State University and an ESL/Bilingual certification, she champions diversity and equity in education. Diana’s early experience as a special education paraprofessional shaped her commitment to inclusive and engaging learning.
Introduction to Online CME for Nurse Practitioners.pdfCME4Life
Online CME for nurse practitioners provides a flexible, cost-effective way to stay current with evidence-based practices and earn required credits without interrupting clinical duties. Accredited platforms offer a wide range of self-paced courses—complete with interactive case studies, downloadable resources, and immediate digital certificates—that fit around demanding schedules. By choosing trusted providers, practitioners gain in-depth knowledge on emerging treatments, refine diagnostic and patient-management skills, and build professional credibility. Know more at https://cme4life.com/the-benefits-of-online-cme-for-nurse-practitioners/
How to Manage Orders in Odoo 18 Lunch - Odoo SlidesCeline George
The Lunch module in Odoo 18 helps users place their food orders, making meal management seamless and efficient. It allows employees to browse available options, place orders, and track their meals effortlessly.
IDSP is a disease surveillance program in India that aims to strengthen/maintain decentralized laboratory-based IT enabled disease surveillance systems for epidemic prone diseases to monitor disease trends, and to detect and respond to outbreaks in the early phases swiftly.....
♥☽✷♥
Make sure to catch our weekly updates. Updates are done Thursday to Fridays or its a holiday/event weekend.
Thanks again, Readers, Guest Students, and Loyalz/teams.
This profile is older. I started at the beginning of my HQ journey online. It was recommended by AI. AI was very selective but fits my ecourse style. I am media flexible depending on the course platform. More information below.
AI Overview:
“LDMMIA Reiki Yoga refers to a specific program of free online workshops focused on integrating Reiki energy healing techniques with yoga practices. These workshops are led by Leslie M. Moore, also known as LDMMIA, and are designed for all levels, from beginners to those seeking to review their practice. The sessions explore various themes like "Matrix," "Alice in Wonderland," and "Goddess," focusing on self-discovery, inner healing, and shifting personal realities.”
♥☽✷♥
“So Life Happens-Right? We travel on. Discovering, Exploring, and Learning...”
These Reiki Sessions are timeless and about Energy Healing / Energy Balancing.
A Shorter Summary below.
A 7th FREE WORKSHOP
REiki - Yoga
“Life Happens”
Intro Reflections
Thank you for attending our workshops. If you are new, do welcome. We have been building a base for advanced topics. Also, this info can be fused with any Japanese (JP) Healing, Wellness Plans / Other Reiki /and Yoga practices.
Power Awareness,
Our Defense.
Situations like Destiny Swapping even Evil Eyes are “stealing realities”. It’s causing your hard earned luck to switch out. Either way, it’s cancelling your reality all together. This maybe common recently over the last decade? I noticed it’s a sly easy move to make. Then, we are left wounded, suffering, accepting endless bad luck. It’s time to Power Up. This can be (very) private and quiet. However; building resources/EDU/self care for empowering is your business/your right. It’s a new found power we all can use for healing.
Stressin out-II
“Baby, Calm down, Calm Down.” - Song by Rema, Selena Gomez (Video Premiered Sep 7, 2022)
Within Virtual Work and VR Sims (Secondlife Metaverse) I love catching “Calm Down” On the radio streams. I love Selena first. Second, It’s such a catchy song with an island feel. This blends with both VR and working remotely.
Its also, a good affirmation or mantra to *Calm down* lol.
Something we reviewed in earlier Workshops.
I rarely mention love and relations but theres one caution.
When we date, almost marry an energy drainer/vampire partner; We enter doorways of no return. That person can psychic drain U during/after the relationship. They can also unleash their demons. Their dark energies (chi) can attach itself to you. It’s SYFI but common. Also, involving again, energy awareness. We are suppose to keep our love life sacred. But, Trust accidents do happen. The Energies can linger on. Also, Reiki can heal any breakup damage...
(See Pres for more info. Thx)
Updated About Me. Used for former college assignments.
Make sure to catch our weekly updates. Updates are done Thursday to Fridays or its a holiday/event weekend.
Thanks again, Readers, Guest Students, and Loyalz/teams.
This profile is older. I started at the beginning of my HQ journey online. It was recommended by AI. AI was very selective but fits my ecourse style. I am media flexible depending on the course platform. More information below.
AI Overview:
“LDMMIA Reiki Yoga refers to a specific program of free online workshops focused on integrating Reiki energy healing techniques with yoga practices. These workshops are led by Leslie M. Moore, also known as LDMMIA, and are designed for all levels, from beginners to those seeking to review their practice. The sessions explore various themes like "Matrix," "Alice in Wonderland," and "Goddess," focusing on self-discovery, inner healing, and shifting personal realities.”
BEHAVIOR STUDY OF ENTROPY IN A DIGITAL IMAGE THROUGH AN ITERATIVE ALGORITHM OF THE MEAN SHIFT FILTERING
1. International Journal of Soft Computing, Mathematics and Control (IJSCMC),Vol. 4, No. 3, August 2015
DOI : 10.14810/ijscmc.2015.4301 1
BEHAVIOR STUDY OF ENTROPY IN A DIGITAL IMAGE
THROUGH AN ITERATIVE ALGORITHM OF THE
MEAN SHIFT FILTERING
Esley Torres, Yasel Garces, Osvaldo Pereira and Roberto Rodriguez
Digital Signal Processing Group,
Institute of Cybernetics, Mathematics and Physics (ICIMAF), Havana, Cuba
ABSTRACT
Image segmentation is a critical step in computer vision tasks constituting an essential issue for pattern
recognition and visual interpretation. In this paper, we study the behavior of entropy in digital images
through an iterative algorithm of mean shift filtering. The order of a digital image in gray levels is defined.
The behavior of Shannon entropy is analyzed and then compared, taking into account the number of
iterations of our algorithm, with the maximum entropy that could be achieved under the same order. The
use of equivalence classes it induced, which allow us to interpret entropy as a hyper-surface in real m-
dimensional space. The difference of the maximum entropy of order n and the entropy of the image is used
to group the the iterations, in order to caractrizes the performance of the algorithm.
KEYWORDS
Maximum entropy of order n, equivalence classes, image segmentation, mean shift, relative entropy
1. INTRODUCTION
Image segmentation, that is, classification of the image gray-level values into homogeneous areas
is recognized to be one of the most important steps in any image analysis system. This allows one
to analyze and to interpret the relevant zones according to the aims of observer. Although, most
of the time, the final result of segmentation depends largely on the interest of the observer; it is
possible to develop unsupervised algorithms, which reach the expected results of the interpreter.
The creation of image segmentation algorithms with a fewer adjustment parameters is a task that
has been addressed in the last decade which makes the manipulation of these algorithms easier
and less complicated.
Mean shift (MSH) is a robust technique which has been applied in many computer vision tasks,
for example: image segmentation, visual tracking, etc. [13]. MSH technique was proposed by
Fukunaga and Hostetler [5] and largely forgotten until Cheng’s paper [1] rekindled interest in it.
MSH is a versatile nonparametric density analysis tool and can provide reliable solutions in many
applications [3], [2]. In essence, MSH is an iterative mode detection algorithm in the density
distribution space. The MSH procedure moves to a kernel-weighted average of the observations
within a smoothing window. This computation is repeated until convergence is obtained at a local
density mode. This way the density modes can be located without explicitly estimating the
density. An elegant relation between the MSH and other techniques can be found in [13].
The Mean Shift iterative algorithm (ℎ) that is used in this paper is based on the mean shift
and was previously introduced and applied in several works [4], [7], [9], [10], [11]. The proposed
2. International Journal of Soft Computing, Mathematics and Control (IJSCMC),Vol. 4, No. 3, August 2015
2
algorithm uses entropy as a stopping criterion. As result of applying this algorithm the segmented
image is obtained without loss of quality of segmentation.
The aim of this work is to study the function of entropy (E) in real digital images, with the
purpose of analyzing the behavior of this entropy regarding the probabilities of occurrence of the
gray levels, while the proposed algorithm of the mean shift is running. For more details about
entropy function see [14]. In order to achieve the results of this study it is necessary to define the
associated equivalent classes with the gray levels and the maximum entropy of n order.
The work continues as follows. In section 2, the related theoretical aspects with the largest value
reached by the entropy in images with the same quantity of gray levels will be discussed. Section
3 will present the obtained experimental results according to the comparison of entropy of the
images with respect to its maximum value. Also, an analysis of these experimental results is
carried out. In section 4, the most important conclusions are given.
This document describes, and is written to conform to, author guidelines for the journals of WSP
series. It is prepared in Microsoft Word as a .doc document. Although other means of
preparation are acceptable, final, camera-ready versions must conform to this layout. Microsoft
Word terminology is used where appropriate in this document. Although formatting instructions
may often appear daunting, the simplest approach is to use this template and insert headings and
text into it as appropriate.
2. THEORETICAL ASPECTS
In this section the important theoretical aspects corresponding to this study will be exposed, with
the aim that one can understand with more clarity the analysis that will be carried out in the
transformations of the images in the application of the iterative algorithm of the mean shift [9],
[11].
2.1. Mean Shift
We first review the basic concepts of the MSh algorithm [5]. One of the most popular
nonparametric density estimators is kernel density estimation. Given data points ,
= 1, 2, 3,··· , , in a neighborhood of radius ℎ, drawn from a population with density
function (), ∈ ℝ
the estimated general multivariate kernel density at is defined
by:
() =
1
ℎ
−
ℎ
, (1)
By the use of theory and profile notation given in [2], the Mean Shift vector is given by
ℎ,() =
∑ !
−
ℎ
!
∑ !
−
ℎ
!
− (2)
where g is the profile of G and K is a shadow kernel of G. The length of the Mean Shift vector
give a measure of how much it is close a local maximum from the point x. For more details about
this topic see [1], [2], [3].
3. International Journal of Soft Computing, Mathematics and Control (IJSCMC),Vol. 4, No. 3, August 2015
3
In [13] was proved that the segmentation algorithm, by recursively applying mean shift, guarantee
the convergence. By simplicity, in this paper, we only approach the case d = 1 corresponding to
gray level images. For more details about this algorithm see [4], [9], [10], [11].
Therefore, if the individual mean shift procedure is guaranteed to converge, a recursively
procedure of the mean shift also converges. For more details about this algorithm see [5], [19],
[20], [21], [22].
2.2. Entropy
The entropy of a digital image is a statistical measure that expresses the randomness of gray
levels (colors) and it is defined as:
Definition 1: Comparable images
= − #$% #
'(
)
,
where * is the total quantity of bits of the digitized image and by agreement $% 2(0) = 0, also
# =
,-
. ∙.
, is the probability of occurrence of color ,
0, is the frequency of occurrence of color in the image,
1, is number of rows of the image,
1, is number of columns of the image,
# ∈ [0; 1] and must satisfy that ∑ # = 1
, as a condition of probability #.
One can observe in the first expression 1 that the entropy of a digital image is a sum of terms that
depend on the probability of occurrence of gray levels of pixels, in this way its value will not only
depend on pi, but also on the quantity of gray levels present in the image. This characteristic of
entropy denotes that it is a non-trivial function to analyze its values, when several images are
compared that do not have the same quantity of gray levels. Basically, we are interested in
knowing the maximum of the function of entropy under the conditions in which the gray levels
have a fixed number.
2.3. Relative Entropy
The Relative Entropy or Kullback Leibler Distance is a nonsymetric mesure of the distance of
two distributions [14]. This function is defined as follows:
Definition 2 (Relative Entropy):
5(# ∥ 7) = #
8∈9
$%
#
7
, (2)
where # and 7 are two probability distributions of occurrence of variable at the set 9.
2.4. Classes of equivalence Abstract
Definition 3 (Relation of Equivalence)
Let K be a given non-empty set and : a defined binary relationship over . It is said that : is a
relation of equivalence if this satisfies the following properties [8]:
4. International Journal of Soft Computing, Mathematics and Control (IJSCMC),Vol. 4, No. 3, August 2015
4
1) Reflexivity: ∀ ∈ ⟹ :.
2) Symmetry: ∀, = ∈ , := ⟹ =:.
3) Transitivity: ∀, =, ∈ , :=, =: ⟹ :.
A relation of equivalence : over a set can be denoted as the ordered pair (, ~ ). The relation
of equivalence denoted by the symbol ~, defines disjoint sets in called classes of equivalence,
i.e., given an element ∈ , the given set by all the related elements with , i.e., @ =
A= ∈ | =:C, is called the class of equivalence associated to element . The element is called a
representative of the class.
Definition 4 (Order of Relation of Equivalence)
The order of relation of equivalence is defined as the number of classes that generates a relation,
it is denoted by the letter , and the number of elements of the classes @8 is denoted by the
symbol $8. The concept of a class of equivalence is very important for digital image processing.
Indeed, given a set of objects or abstract entities, relations of equivalence based on some criterion
can be created, where the resulting classes are the “types” in which one can classify the entire
range of objects. Later, we will build classes of equivalence by using ℎ and we will create a
link to the relation of equivalence defined in this section.
2.5. Class of equivalence of gray levels
Definition 5 (Relation of equivalence among pixels)
Let D be a digital image in gray levels. Let ,= be the pixels and let E%$(), E%$(=) be their
respective gray levels, the symbolized relation on D is such that ~ = if E%$() = E%$(=),
∀ = 0, 1, 2, ⋯ , 2G
− 1 (see section 2.4). By using the notation of classes of equivalence, this can
be written as @8 = A= ∈ D|E%$() = E%$(=)C, which represents all pixels in image whose gray
level coincides with x. Due to the fact that the pixels in the images are visually represented by
gray levels, it is not convenient to refer them by classes, but by the gray levels.
Suppose that col(x) = i, then it follows that @8 = A= ∈ D|E%$() = E%$(=)C, provided that
col(x) = i. Taking in consideration the above-mentioned, it is convenient to establish the classes
of equivalence as @ = AM ∈ D|E%$(M) = C ∀ = 0, 1, 2, ⋯ , 2G
− 1. This class represents the set
of pixels having gray level , so the order or the size of the class @ coincides with what is known
as 0, i.e., the frequency of gray level in the image.
In a digital image, it may occurs that a certain gray level has # = 0, this means that physically
this gray level is not visually present for the observer. For this reason, the agreement log2(0) = 0
is assumed, and therefore these terms do not affect the domain of the function of entropy. On the
other hand, the trivial case # = 1 may occurs, which means that all pixels in the image have the
same colour, i.e., the region is quite homogeneous, and its entropy is equal to zero. Therefore, we
are not interested in these cases because entropy reaches the minimum value. In this way, the
values # = 0 and # = 1 are ignored. This means that the image to analyze has a certain number
of gray levels (such as minimum 2).
Let N = A ∈ [0, 2G
− 1] | ≠ 0C be the set of gray levels whose classes of equivalence are non-
zero. It is not difficult to see that the order of the relation of equivalence coincides with the
quantity of gray levels that can be appreciated in D. In this way, one can say that the image has
5. International Journal of Soft Computing, Mathematics and Control (IJSCMC),Vol. 4, No. 3, August 2015
5
order . Therefore, it is possible to give a more precise definition of the order of an image in gray
levels.
Definition 6 (Order of an image in gray levels):
Let D be a digital image in gray levels, the order of D is defined as , as the quantity of elements
of the set A PQ= $RSR$ |# ≠ 0C.
Figure 1 represents a region of a digital image of size 5x10 (50 pixels), where one can see the
gray levels corresponding to the values 15 , 16 , 49 and 159 . Note that the order of the
equivalence relation is = 4, such that the equivalence classes presented on the region are
@X, @Y, @Z[, @X[ being respectively, $X = 42, $Y = 6, $Z[ = 1, $X[ = 1 and therefore, #X =
0.84, #Y = 0.32, #Z[ = 0.02, #X[ = 0.02. It is not casual that the value of the order of the
relation of equivalence coincides with the value of the quantity of gray levels in the image. In fact,
we are referring to the same physical entity under different names. Therefore, starting from now,
we will refer to the number of gray levels in the image with the letter (order of the relation of
equivalence), and we will indistinctly use the terms: “order of the relation of equivalence”, “order
of image” and “number of gray levels in the image”. Therefore, taking into consideration Figure 1,
the set of probabilities # for a given image in gray levels can be expressed in the following way:
N = A ∈ [0, 2G
− 1] |0 ≠ 0C. (3)
Figure 1. Classes of equivalence of gray levels with respect to classes of equivalence.
Observe that the difference in the expression 3 with regarding of Definition 1, it is that we now
only take into account those gray levels whose probabilities are not zero. In other words, here, we
do not consider the gray levels that are not present in the image.
2.6. Other considerations about notation of the entropy formula
It is known from information theory that the given data by a symbol of an object is supplied by
−$% 7 , where 7 is the relative frequency of symbol [12]. Taking the mathematical
expectation of the given information by n symbols, we obtain the entropy formula
= − 7$% 7
)
,
6. International Journal of Soft Computing, Mathematics and Control (IJSCMC),Vol. 4, No. 3, August 2015
6
where −7$% 7, it is the average contribution of each symbol . For such a reason, entropy is a
measure of the information average contained from each symbol of the object that is being
analyzed. Digital images in gray levels are a particular case of the information theory in which
images are objects and each gray levels represent the symbols.
Suppose one has a gray level image (assuming 1), and starting from now, we assume that the
gray levels in the image always will be present. This supposition permits that the entropy
formula can be written in the following way:
= − 7$% 7
∈_
, (4)
where N = A ∈ [0, 2G
− 1] |0 ≠ 0C, (see Section 2.4). Without loss of generality and to obtain a
better manipulation of the previous formula, the same can be expressed as,
= − 7$% 7
)
, (5)
Starting from now, the expression 5 will be widely used and we shall call entropy of order ,
which is interpreted as that entropy that is composed of the sum of n terms and the associated
image has gray levels, which are visually present to the observer.
2.7. Maximum entropy of an image of order `
It is known from information theory that entropy is seen as a measure of information [12], this
reaches its maximum value when all symbols are equally probable (equal probability of
occurrence). The classical formula for the entropy for a digital image in gray levels is given by
expression 1 and it is defined in (2G
− 1)-dimensional real space. However, in most of the cases
it is possible to reduce the quantity of variables of the space by using expression 5, especially in
images where a good level of segmentation is attained. In this section, we present a theorem about
the maximum value reached by entropy when expression 5 is applied.
Theorem 1 (Maximum entropy of an image of order )
Let D be an arbitrary digital image of order , then has maximal entropy of order n, if # =
,
∀ ∈ N, where N = A ∈ [0, 2G
− 1]|0 ≠ 0C.
The proof of this theorem appears on appendix.
Lemma 1 (Maximum entropy of an image of order )
Let D be an arbitrary digital image in gray levels of order , then if D has maximum entropy of
order n, the entropy value is given by $% .
Proof:
If D is a digital image in gray levels of order and this has maximum entropy order , then the
probability of occurrence of gray levels are # =
, ∀ ∈ N. Calculating the value of the entropy,
one has that:
7. International Journal of Soft Computing, Mathematics and Control (IJSCMC),Vol. 4, No. 3, August 2015
7
= − #$% #
'(
)
= −
1
$%
1
'(
)
= − a
1
$%
1
b = −$%
1
= $% . ∎
The result obtaining from the previous lemma is not new. In what we are interested, it is in the
expression of the formula and their later use in the following sections.
Given the previous lemma it follows that any gray level image of order , its entropy cannot be
greater than $% . Images that have the property of # =
, ∀ ∈ N will be called “ideal images
of order n” and its entropy by “maximum entropy order ”. The last term will be denoted by 1.
In Figure 2(a) is shown a digital image of order 8, ( = 8) and 88 dimension, in which the
equivalence classes can be appreciated; namely, @), @d, @YZ, @[Y, @e, @Y), @[, @Z and their
corresponding frequencies are $) = 7, $d = 4, $YZ = 8, $[Y = 9 , $e = 13, $Y) = 12, $[ = 3,
$Z = 8. In Figure 2(b), 2(c), 2(d) different regions are shown whose entropies are maxima of
order 8. These regions have the gray levels and relative frequencies in common. Observe that
Figure 2(b) and 2(c) have the same dimensions as the image shown in Figure 2(a), but differ in
the spatial distribution of gray levels, while in Figure 2(d) the region has a smaller dimension.
However, the entropy in Figure 2(b) and 2(c) is the same. In the same way that in Figure 2(d) it is
possible to find a region with a much bigger dimension than in Figure 2(a), for example of
dimension 64 64, and to have a maximum entropy of order 8. This fact shows that for any
image in gray levels with entropy of order n it is always possible to obtain an image with
maximum entropy of order n and that it presents the same gray levels.
(a) (b)
(a) (b)
8. International Journal of Soft Computing, Mathematics and Control (IJSCMC),Vol. 4, No. 3, August 2015
8
Figure. 2. Digital images of order 8. 2(a) = 2.8740. 2(b) Digital image of order 8, size 8x8, maximum
entropy of order 8, 1 = 3. 2(c) Image digital order 8, size 8x8, maximum entropy of order 8, 1 = 3.
2(d) digital image of order 8, size 4x2, maximum entropy of order 8, 1 = 3.
2.8. Applications
The previously obtained result becomes important when an image is compared with another after
running the iterativealgorithm of the mean shift. This will be seen in section 3.
2.8.1 Entropy and its relation with the classes of equivalence
One can observe in expression (5) that in the entropy of a digital image in gray levels, each term
of the same is associated to one and only a gray level. If this way, a one-one relation among the
terms of entropy is established; that is, gray levels and classes of equivalence. With the aim of
revealing other properties in the entropy of image, in the segmentation process this link will be
used.
2.8.2 Entropy as hypersurface
As was seen in the proof of the Theorem 1, when an image is of order , its entropy depends on ( − 1)-
variables related by the formula ∑ #
(
+ h1 − ∑ #
(
i = 1 , with 0 # 1 . The domain of
definition of the variables #, with = 1, − 1
kkkkkkkkkk, is 0 ∑ #
−1
=1 1, which is convex and open set of
ℝ(
, and its topological properties could be employed for obtaining information about the
evolution of the entropy during the segmentation process. Of this way, entropy can be seen as a
hypersurface in ( − 1)-dimensional space and it can be applied tools of the theory of differential
geometry.
Note that if 3 it is not possible to obtain the graph of the entropy function for all pi due to
the inability of representing in :d
sets with dimensions greater than 3. However, in spite of this, it
is possible to plot the entropy function upon the domain by pairs of pi which are of interest to
analyze. For example, those #, that have not been annulled during all the segmentation process.
Figure. 3. Graphs of entropy as a function of two variables, = 3 (rotated for better visualization)
In space R3 the entropy is seen as a surface (see Figure 3) and its graphical view gives an overview of
treatment for the extension to larger spaces. In Figure 3, the graphs of the entropy function for the case that
9. International Journal of Soft Computing, Mathematics and Control (IJSCMC),Vol. 4, No. 3, August 2015
9
presents three gray levels are shown, the domain of definition is 0 # + # 1, which is represented by
the shaded region by contour lines in the lm plane. One can observe that this set is open and convex. It is
also shown the maximum point in the coordinates h1
3
n , 1
3
n i and the maximum value of entropy function
is 1.5850.
2.9 Relative entropy in images
As it was point out in Definition 2 the Relative Entropy express by:
5(# ∥ 7) = #
8∈9
$%
#
7
= − #
8∈9
$% 7 − o− #
8∈9
$% #p =
− #
8∈9
$% 7 − (#), (6)
Supose that probability q is the uniform probability of occurrence of colors ∈ N, i.e., 7 =
1
∀ =
1,
kkkkk, then:
(q) = − #
8∈9
$% 7 = − #
8∈9
$%
1
= − a$%
1
b #
8∈9
= −$%
1
= $% ,
which it is an entropy of order. Combining Definition 2 and the concept of maximum entropy
of we obtain the following concept:
Definition 7 (Relative entropy in gray level images)
Let D a gray level image with gray levels, then the relative entropy in image D is defined by
:(D) = $% − h#
i, (7)
where # is the probability of occurrence of color .
Note that Definition 7 is the difference between the maximum entropy of order and the entropy
of the given image D, for that reason it will denoted by 1 − .
Expression 7 will let us characterize the r algorithm as it is treated in the following section
related to the experimental results.
3. EXPERIMENTS AND ANALYSIS OF RESULTS
With theoretical results it is possible to carry out a study of entropy while the ℎ algorithm is
running. The used images in this study are represented in Figure 4.
10. International Journal of Soft Computing, Mathematics and Control (IJSCMC),Vol. 4, No. 3, August 2015
10
(a) Barbara (b) Cameraman (c) Bird (d) Baboon (e) Montage
Figure. 4. Images used in the experimentation.
The images and graphics that are shown, have been obtained using the system MATLAB. The
images have 256x256 pixels, the used stopping threshold is 0.000001. The parameters chosen
were hs = 3 and hr = 5. For more details on our algorithm, one can refer to [11], [10]. In Figure
5(a) first result is presented.
When comparing the images shown in Figure 5, one can observe that some details were lost (see
arrows). In Figure 5(b) one can see some more homogeneous areas, in which a certain
segmentation level has been achieved.
(a) Original image (b) Segmented image
Figure. 5. Homogeneous regions
The graph in Figure 6 shows that the entropy gradually decreases (black points), while the
maximum entropy of order has 6 disjoint intervals remaining constant for the iterations
1 − 2, 6 − 7, 9 − 10, 13 − 15, 23 − 26, 29 − 95 (squares). Throughout this section, the sets of
points upon the graphs formed by these intervals will be called groups of iterations, and will be
identified as the first group of iterations, the second group of iterations, last group of iterations.
Figure 6. Graphs of entropy. Em vs. Number of iterations (Barbara)
11. International Journal of Soft Computing, Mathematics and Control (IJSCMC),Vol. 4, No. 3, August 2015
11
The variation of the order of the image is associated with the appearance or disappearance of gray
levels. However, due to the homogenization that produces the iterative algorithm, certain gray
levels are replaced by others that were not present, in this way it is achieved, that the order of the
image remains constant. The search and analysis of the pi that are annulled in the mentioned
iterations led us to the following conclusion: appearance and disappearance of the gray levels
only in the fourth and fifth groups of iterations, with iterations 13 − 15 and 23 − 26 respectively.
These results appear in Figure 7.
Figure 7 shows the values of # for iterations from 13 to 15. At iterations 13 and 14 the gray level
216 is absent (light gray bar, discontinuous edges) and this appears at iteration 15, while the gray
level 217 decreases until it disappears (dark gray bar, continuous edges). This justifies why gray
levels remains constant. Another way of seeing this issue is analyzing the quantity of “null #” per
iteration, which is always the same; i.e., by iteration only one of the # is annulled. In a simple
graphical way, it can be seen that the number of columns per iteration (corresponding to no “null
#”) is always the same. Similar analysis is carried out with the group of fifth iterations.
(a) 13 − 14 iterations (b) 23 − 26 iterations
Figure. 7. Graph of pi vs. iterations.
In Figure 7(b) we observed that most of the # takes the value 1.526 ∗ 10(X
, which is not a casual
number. As we pointed out in the beginning of this section all images are of dimension 256x256,
this makes that the total number of pixels is 65536. If one calculates the minimum probability
(no null) of occurrence of a gray level in the image gives a value of 0. 0000152587890625,
which one can express as 1.526 ∗ 10(X
. This indicates that when seeing this value in the graphics,
the gray level that corresponds can be only expressed in a pixel of the 65536. In other words, one
can consider this gray level as noise, and if its value did not vary in the last group of iterations can
be eliminated, which will contribute to improve the homogenization in the segmented image. On
the other hand, this gray level will not affect the value of the entropy since its contribution is
minimum. Similarly, one can check that the value 0.3052 ∗ 10(X
corresponds to the probability
that its gray level appears only in two pixels in the whole image.
With regard to the last group of iterations it is important to point out that it is quite high (69 %
bigger than the rest), which shows that the number of gray levels tends to be stabilized when
increasing the iterations.
The appearance or disappearance of gray levels in the image determines the variation of the value
of the maximum entropy of order n, since this depends only on the quantity of gray levels present
12. International Journal of Soft Computing, Mathematics and Control (IJSCMC),Vol. 4, No. 3, August 2015
12
in the image. Taking the difference between the maximum entropy of order n with the entropy of
the image, difference which will be denoted by 1 − , an idea of entropy away from its upper
bound can be given (see Figure 8).
The graph in Figure 8, shows that starting from the iteration 29 the entropy of the image tends to
move away from the maximum entropy of order n, without varying the order. The abrupt change
in the graph shows clearly that it varied the quantity of gray levels. Iterations which not belong to
groups of iterations are marked in black color triangles. Observe that several of these iterations
have the same order; for example, the iterations 12, 16, 18, 20 and 22. The difference 1 −
corresponding to the iteration 1 it is bigger than the final one (iteration 95).
Figure. 8. Graph of 1 − vs. number of iterations (Barbara)
Figure 9 was obtained from Figure 8 by removing black points. The connected symbols by dotted
lines belong to consecutive iterations (groups of iterations), and those with the same shape are
associated to iterations of the same order, a “type of separation by levels”, it is being well-defined.
Figure 9. Graph 1 − vs number of iterations.
13. International Journal of Soft Computing, Mathematics and Control (IJSCMC),Vol. 4, No. 3, August 2015
13
It is highlighted with different geometrical figures and the iterations in which the image has the
same order (Barbara).
The points in the first group of iterations have been differentiated with squares from the points of
the last groups of iterations with points. One can appreciate that as the number of iterations
increase the number of groups of iterations with same gray level diminishes until one. In
consecutive the iterations that have the same quantity of gray levels, the values of the difference
1 − tend to increase, and the slope of the curve tends to diminish its inclination. On the other
hand, the iterations of the first group have higher values in the difference 1 − than the last
group.
Figure 10 shows another example using the image of Cameraman. In Figure 10(b) the arrows
indicate two regions that have been homogenized.
(a) Original image (b) Segmented image
Figure. 10. Homogenous regions.
Figure 11 shows the plot of 1 (squares) and entropy of the image (points) versus the number of
iterations. Observe that after iteration 10, the number of gray levels did not change, it is constant.
The consecutive iterations that did not change were 1-2, 6-7, 8-13, 14-78, of which the second
group of iterations presented the appearance and disappearance of gray levels. The last group of
iterations (14-78) was 82 % higher than the rest of the iterations in the segmentation process.
14. International Journal of Soft Computing, Mathematics and Control (IJSCMC),Vol. 4, No. 3, August 2015
14
Figure. 11. Graphics Entropy and Em vs. number of iterations (Cameraman)
Figure 12 shows the values of pi for the iterations 6 and 7. One can note that there is only one
column per iteration, and these have the same height but different colors. One can interpret that
the 244 gray level in the iteration 6 was replaced completely by the 245 gray level, maintaining
the order of the image. The value 0.4578 ∗ 10(X
corresponds to the probability that its respective
gray level appears only in three pixels of the entire image.
Figure. 12. Graph of vs pi 6-7 iteration (Cameraman).
In Figure 13 it is possible to observe that the iterations previous to iteration 14 do not go through
as many changes of gray levels in comparison to the image of Barbara. This iteration has been
marked with number 14, which shows the instant in that the last group of iterations begins. The
difference 1 − for the iteration 1 is smaller than the final iteration (iteration 78), contrary to
the Barbara image.
15. International Journal of Soft Computing, Mathematics and Control (IJSCMC),Vol. 4, No. 3, August 2015
15
Figure. 13. Graphics 1 − vs number of iterations (Cameran).
Figure 14 was obtained from Figure 13 by removing only 3 points. In this way, four groups of
iterations are obtained. Abrupt changes are not observed in the groups in which in which the order
of the image remains constant as was in the Barbara image. It can be observed that the value of
1 − tends to increase inside the groups when the quantity of iterations increases. The last
group of iterations (black points) presents a bigger number of points in comparison with the rest.
Figure. 14. Graph of the difference in 1 − vs number of iterations.
The iterations in which the image has the same order (Cameran) are highlighted with different
geometrical figures.
16. International Journal of Soft Computing, Mathematics and Control (IJSCMC),Vol. 4, No. 3, August 2015
16
Figure 15 shows the results of the image of Bird. In Figure 15(b) the arrows indicate two regions
that have been homogenized.
(a) original image (b) segmented image
Figure. 15. (a) original image. (b) segmented image.
The graph in Figure 16 shows the entropy and maximum entropy of order versus the number of
iterations of the segmented Bird image. It can be appreciated that the iterations whose resulting
images present the same order are separated into disjoint intervals, which elevate their longitude
when increasing the quantity of iterations. Inside the groups of iterations there is no appearance or
disappearance of gray levels. The last group of iterations is 63 % bigger than the rest of the
iterations in the segmentation process.
Figure 16. Graphics of Entropy and Em vs number of iterations (Bird)
In Figure 17 the graph of the value of the difference 1 − versus the quantity of iterations is
shown, where a triangle marks the iteration that does not belong to the groups of iterations. The
behavior of this image does not suffer very marked oscillations as in the case of Barbara image.
17. International Journal of Soft Computing, Mathematics and Control (IJSCMC),Vol. 4, No. 3, August 2015
17
Starting from the iteration 29 the quantity of gray levels is stabilized. The value of 1 − initial
is bigger than the final.
Figure 17. Graph 1 − vs. number of iterations (Bird)
The graph of Figure 18 presents 6 groups of consecutive iterations that have the same order. The
slopes of the groups of iterations are highlighted with different geometrical figures and one can
see these tend to decrease when the number of iterations increases. This behavior is common for
the previously analyzed images. However, in this example more clarity is evident.
Figure. 18. Graph 1 − vs. number of iterations.
The iterations in which the image has the same order (Bird) are highlighted with different
geometrical figures.
The range in that the values of the difference 1 − oscillate in the last group of iterations is
very specific to each image. It is shown clearly in Figure 19. However, these present the common
characteristic such as a slow growth of the value of the difference of 1 − , where this slow
18. International Journal of Soft Computing, Mathematics and Control (IJSCMC),Vol. 4, No. 3, August 2015
18
growth is more accentuated with the increase of the number of iterations. The graph includes the
results of the images of Baboon and Montage.
Figure. 19. Graph 1 − vs number of iterations for the last group of iterations in different images.
4. CONCLUSIONS
In the graphs corresponding to the Entropy vs. the number of iterations can be appreciated that, as
the segmentation was reached, the entropy diminishes from one iteration to another. The order of
the image decreases as the number of iterations increases, this fact can be interpreted that when
the image is moving away from its ideal image of order , it becomes more homogeneous.
However, it was possible to verify that, starting from an instant, the order of the image remains
constant until the final segmentation is reached, according to the selected stopping threshold. The
differences of the values of 1 − between the maximum entropy of order n and the entropy of
the image are significant and these differences increase in the groups of iterations that present the
same quantity of gray levels. In the graphs of bars (see Figures 12 and 13), one can check that
there are gray levels that disappeared from the image as the algorithm runs, contributing to more
homogenization of the image. It is possible to see that in the last stages of segmentation most
images present gray levels with “no null” probability of occurrence. This issue will be the subject
of future research as well as other aspects that arose in this study.
APPENDIX
MAXIMUM VALUE REACH BY ENTROPY
Definition 7: (Negative Definite Function)
Let u ∈ (ℝ) be, such that u = uv
, it is said to be negative definite it satisfies that ∀= ≠ 0,
= ∈ ℝ
⟹ =v
u= 0, where (ℝ), is the set of square matrices of order with coefficients in
ℝ [6].
Definition 8: (Maximum Strict)
19. International Journal of Soft Computing, Mathematics and Control (IJSCMC),Vol. 4, No. 3, August 2015
19
Suppose that the function () is defined over the set l ⊂ ℝ
. The point ())
∈ l is called strict
maximum point if a neighborhood x (())
) of the point ())
that is, ∀ ∈ Vh())
i⋂l, ≠ ())
,
such that the inequality () h())
i is checked [6].
Theorem 3 (Condition of Maximum Entropy of Order `):
Let D be an arbitrary digital image of order n, then has maximal entropy of order , if # =
,
where N = A ∈ [0, 2G
− 1] |0 ≠ 0C.
Proof:
By hypothesis, since ∑ #
= 1, we construct the vector # = (#, ⋯ , #). Without loss of
generality, we will assume that # = 1 − ∑ #
, substituting the expression (3) in the entropy
formula, obtain
= − ∑ #$% #
(
− h1 − ∑ #
=1 i$% h1 − ∑ #
=1 i ( depends on − 1 variables).
The partial derivatives of first order are,
{
{#
= − a$% # +
1
ln 2
b + o$% o1 − #
(
p +
1
ln 2
p.
Making
}~
}-
= 0 with = 1,
kkkkk, one arrives to the expressions
$% # = $% (1 − ∑ #
(
) and $% # = $% #, ∀ ≠ , = 1,
kkkkk.
Because the logarithm function is strictly monotonous, this implies that # = #∀ ≠ .
Therefore, we have arrived to that a candidate to strict extreme is obtained when # = #∀ ≠ ,
i.e., when all the probabilities of occurrence of gray levels are equals, so
∑ #
= 1 ⟹ #
= 1 ⟹ #
=
1
.
Since all # have the same value, then # =
∀ i
∀ , the obtained point # =
, ⋯ ,
∈ ℝ
.
We shall now determine the type of local extreme (maximum or minimum).
Analyzing the second partial derivatives of the matrix of the entropy function , one has that
a
}€~
}-}
b ∈ ((ℝ), i.e., the entropy being a function of ( − 1) variables, then the second
differential of the entropy function will depend only on ( − 1) variables and it will be a square
matrix of size ( − 1)x( − 1). The elements of this matrix are:
}€~
}-}
= ‚
−
ƒ„
a
+
h1−∑ #
−1
=1 i
b ∀ = …
−
ƒ„
a
h1−∑ #
−1
=1 i
b ∀ ≠ …
†.
Therefore, the matrix of second partial derivatives has the form
20. International Journal of Soft Computing, Mathematics and Control (IJSCMC),Vol. 4, No. 3, August 2015
20
+
+
+
=
b
a
b
b
b
b
a
b
b
b
b
a
A
m
L
M
O
L
M
L
L
2
1
,
where Q =
-
i
∀ and M =
1
h(∑ -
‡ˆ‰
-Љ i
.
Now, we shall prove that the matrix a
}€~
}-}
b is negative definite by Definition 7. Let u =
a
}€~
}-}
b and = ∈ ℝ be, =v
−
ƒ„
u = = −
ƒ„
(=vu=). Working with the expression =vu=, one
has that:
( ) ( )
2
1
1
2
1
2
1
1
+
=
+
+
+
= ∑
∑ =
=
m
j
j
m
j
j
j
m
m
m
t
y
b
a
y
y
y
b
a
b
b
b
b
a
b
b
b
b
a
y
y
Ay
y M
L
M
O
L
M
L
L
L .
Since 0
,
b
ai , n
i ,
1
= , then 0
Ay
yt m
y ℜ
∈
∀ , n
i ,
1
= and therefore
=v
a−
1
ln 2
ub = = −
1
ln 2
(=v
u=) 0
This last expression says that matrix u is negative definite and of this way the entropy of order
has at least a strict maximum ∀; that is, # =
∀. Now, we shall prove that this point is the
global maximum. Suppose that a value of entropy of order that is, which is bigger or similar to
the maximum than was previously found, but since the point # =
, ⋯ ,
, it is a strict
maximum in a small neighborhood x , the entropy values decreases from this point over
neighborhood x ; therefore, there exists a value greater or equal to the entropy in another point,
then a saddle point or an absolute minimum, at least, must exist. However, this is not possible
because the previous analysis gives a negative definite matrix a
}€~
}-}
b(#) for all # =
(#, ⋯ , #() that belongs to the domain of the entropy function. Therefore, the non-existence
of saddle or strict minimum point implies non-existence of other strict maximums, which leads to
only a global maximum.
REFERENCES
[1] Cheng~Y., (1995) “Mean Shift, Mode Seeking, and Clustering”, IEEE Trans, Pattern Analysis and
Machine Intelligence Neurocomputing, Vol. 17, No. 8, pp790–799.
[2] Comaniciu, D. I., (2000) “Nonparametric Robust Method for Computer Vision”, Ph.D. Thesis, New
Brunswick, Rutgers, The State University of New Jersey.
[3] Comaniciu, D. Meer, P., (2002) “Mean Shift: A Robust Approach toward Feature Space Analysis”,
IEEE Transaction on Pattern Analysis and Machine Intelligence, Vol. 24, No. 5.
[4] Domínguez, D. Rodríguez, R.: Use of the L (infinity) norm for image segmentation through Mean
Shift filtering, International Journal of Imaging, Vol. 2, No. S09, pp81–93, 2009.
[5] Fukunaga, K. Hosteler, D. (1975) “The Estimation of the Gradient of a Density Function”, IEEE
Trans., Information Theory, No. 21, pp32–40.
[6] Kudriavset, L. D., (1984) “Curso de Anlisis Matemtico”, Mir Editorial, Vol II.
21. International Journal of Soft Computing, Mathematics and Control (IJSCMC),Vol. 4, No. 3, August 2015
21
[7] Rodriguez R. Suarez, A. G., (2006) “An Image Segmentation Algorithm Using Iteratively the
Mean Shift”, Image Analysis and Applications, Book Progress in Pattern Recognition, Book Series
Lecture Notes in Computer Science Publisher Springer Berlin/Heidelberg, Vol. 4225/2006 pp326-
335.
[8] Noriega, T. D. Piero, L. R., (2007) “Algebra”, Flix Varela Editorial, Vol II.
[9] Rodriguez R., (2008) “Binarization of medical images based on the recursive application of mean
shift filtering: Another algorithm”, Journal of Advanced and Applications in Bioinformatics and
Chemistry, , Dove Medical Press Ltd, Vol. I, No. 1:12.
[10] Rodriguez, R., Suarez, A. G., Sossa J. H., (2011) “A Segmentation Algorithm based on an Iterative
Computation of Mean Shift Filtering”, Journal Intelligent and Robotics System, Vol 63, No. 3-4,
pp447–463.
[11] Rodriguez, R., Torres E. Sossa J. H., (2012) “Image Segmentation via an Iterative Algorithm of the
Mean Shift Filtering for Different Values of the Stopping Threshold”, International Journal of
Imaging and Robotics, Vol. 7, No. 6, pp1–19..
[12] Shannon C., A, (1948) “Mathematical Theory of Communication”, Bell System Technology Journal,
No. 27, pp370–423.
[13] Shen, C. Brooks, M. J., (2007) “Fast Global Kernel Density Mode Seeking: Applications to
Localization and Tracking”, IEEE Transactions on Image Processing, Vol. 16, No.5, pp1457-1469.
[14] Thomas, M. C., Thomas, J. A. Elements of Information Theory, John Wiley Sons, Inc., 1991.