��������������������������������������������������������Modern computers methods for image processing using mathematical algorithms�doc. Mgr. Mária Ždímalová, PhD.
�Slovak University of Technology, Bratislava, Slovakia
https://www.math.sk/wiki/zdimalova
https://www.facebook.com/ARCHMATHEMATICS
�
Slovakia
Mathematics, Data Science
Image processing, Image Segmentation
“
”
Image Processing and Image Segmentation
Introduction
between mathematics, informatics, medicine, biology, telemedicine, bio physics, SAR techniques,
geodesy applications, urban applications, cracks in the buildings, civil engineering applications,
face recognitions, pattern recognitions, fingers print recognitions,
and many others…..
Introduction: What is an �image segmentation?
2D Segmentation of Images
Aim: deviding of digital image on parts, segments
The 2 most common types of search segments:Segments with similar properties (e.g. color, intensity, "texture")
Object and background
Use: medicine, biology, satellite image processing, machine-learning (e.g. object recognition), digital art, computed guided operations
Traditional methods
Threshold methos
Cluster methods
''Fuzzy'' cluster methods
Histogram methods
''Region-growing'' methods ("Magic Wand")
Edge detectors
Methods based on finding the shortest path
(Intelligent Scissors)
(GraphCut) Methods based on finding the maximum flow and the minimum cut
Mixed methods (GrabCut)
Al techniques
a) Magic Wand, b) Intelligent Scissors, c) GraphCut, d) GrabCut
Methods
partitioning the image into pixels of an object and pixels of a
background.
AIM: Mathematical algorithm, application in medical and SAR data:
image processing of biological and medical data focused
Results:
- Software using of graph cuts and grapb cuts methods in GrabCut v C++ and Qt, Graph Cut, Grab cut, Intelligent Scisors
1. Graph Cut Method�
Max - Min theorem:
The maximal flow in a graph (network)
corresponds to a minimal cut in a graph
(network)
Motivation
A=(A1, A2, ........, AM)
with values from the set
{“object”, ”background”}.
To find a vector A with a minimal cost.
a background.
Construction of the oriented graph, network
S-T - graph
Grid of pixels
Segmented pixels
S - T minimal cut
Introduction
object regions and background regions
Experiment 1��
Expment 2
Experiment 2
SAR DATA
Analyses of the biological data Iron
Data: real images of brain cells examining a production of iron in cells of living organism after irradiation with GSM signal. The theory says that in a certain part of a brain with Purkyne cells appears more iron cells than in other part
AIM:
The original image
The selected part of original image after application of enhancement
Results in form of binary image
Histogram counted according to direction vector (57, -16)
The selected part of original image after application of enhancement
Results in form of binary image
Grab cut and
Cluster analyses
-with Kristína Boratková
Cluster analysis deals with the issue of dividing data into a finite number of clusters. Clusters are subsets of the entire data set, where elements of the set belong to one cluster that are close to each other in some way, and by uniting all the clusters we get the entire original set of elements again.
It is divided into:
Hierarchical
Non-hierarchical
Center-oriented clustering (k-means)Distribution-oriented clustering, Density-based clustering
MIXED MODELS
2. GRABCUT
Estimation of Gaussian mixture models using k-means
Initial clustering using k-means
Weighting constant of the component π(k):
the ratio of the size of the cluster to the whole set
Mean Value of µ(k):
Covariance matrix Σ(k):
GRABCUT
GMM
IMPLEMENTATION
Glioblastoma multiforme
THE AIM AND PROBLEM: DETECTION OF GLIOBLASTOMA MULTIFORM
Our aim:
Software, which would be able to detect and classify the tumor. This way could be more easy to help and detect the edges of the tumor on the image. As well as the doctors sould have better imagination about its area, not just about íts width measures.
Medical data: brain tumors
Brain tumors and tumors segmentation��Skull MRI (t2 flair) of a brain metastasis with accompanying edema. ��Source:https://commons.wikimedia.org/wiki/File:HirnmetastaseMR001.jpg��(a)original data (b)selected part of the image; (c)segmented edem in red color; (d)segmented edem.� �
Roentgen image a) original data with noise and wrong bacround, ��b)segmented images wihout noise and clear bacround, ��c)original image of bones joint with noise and noisy backround ��d)segmented image of the bone joint without nosie and with clear backround.��
RESULTS TUMORS IN BRAIN
Cancer cells, brain of humans, original data example of segmentation
Cancer cells, brain of humans, original data filtering data, example of segmentation
Intelligent scissors:�
��
Simple example:
MRI scan of lumbosacral spine with para-median disc (L4/L5) herniation on the left side.
a) original image, b) image after applying our segmentaion, which is based on Intelligent Scissors, on the dural sac, c) unssucceful applying of thresholding method on the dural sac
Medical data
Maschine learning approach into biological image analyses
Unet architecture
Example of Data biological cells and process of dying of cells
Proposed U-Net based architecture for segmentation of brain cells
.
We used component labeling to extract statistical information about a region of interest and conduct structural analysis. Here, we represent three different statistical information of segmented cells such as area, diameter, and solidity.
Random walker for cracks in buildings and materials��Random walk steps: �discrete, random movements in a sequence.The probability of the next step depends only on the current position. �Example: one-dimensional walk where a "walker" moves left or right with equal probability at each step. ��
3D SEGMENTATION �
Motivation
2D vs 3D segmentation
Axial aspect ratio = ps[1] / ps[0]
Sagital aspect ratio = ps[1] / st
Coronal aspect ratio = st / ps[0]
DICOM – Medical Image Standard
3D visualization of the results
Sources
QIN Breast DCE-MRI
Huang, W., Tudorica, A., Chui, S., Kemmer, K., Naik, A., Troxell, M., Oh, K., Roy, N., Afzal, A., & Holtorf, M. (2014). Variations of dynamic contrast-enhanced magnetic resonance imaging in evaluation of breast cancer therapy response: a multicenter data analysis challenge (QIN Breast DCE-MRI) (Version 2) [Data set]. The Cancer Imaging Archive. https://doi.org/10.7937/k9/tcia.2014.a2n1ixox
RIDER Breast MRI
Meyer, C. R., Chenevert, T. L., Galbán, C. J., Johnson, T. D., Hamstra, D. A., Rehemtulla, A., & Ross, B. D. (2015). RIDER Breast MRI [Data set]. The Cancer Imaging Archive. https://doi.org/10.7937/K9/TCIA.2015.H1SXNUXL
ReMIND
Juvekar, P., Dorent, R., Kögl, F., Torio, E., Barr, C., Rigolo, L., Galvin, C., Jowkar, N., Kazi, A., Haouchine, N., Cheema, H., Navab, N., Pieper, S., Wells, W. M., Bi, W. L., Golby, A., Frisken, S., & Kapur, T. (2023). The Brain Resection Multimodal Imaging Database (ReMIND) (Version 1) [dataset]. The Cancer Imaging Archive. https://doi.org/10.7937/3RAG-D070
Bounding box
Discussion and Conclusion
a)CT, MRI data b) Biological microscopic data
From Commutative Algebra to Topological Structures and Graph Cuts�
The Core Challenge of Image Segmentation
Commutative Algebra & Pixel Neighborhoods
Algebraic Topology & Persistent Homology
The Intersection: Graph Cut Segmentation
Vertices V: Every pixel becomes a node, connected to two special terminal nodes: Source S (Object) and Sink T (Background).
Edges E: Links between neighboring pixels, weighted by how similar their color or intensity is.
Why Combine Algebra with Graph Cuts?
E(A)=E_{data}(A)+E_{smooth}(A)
Penalizes sharp changes between neighbors unless they are true mathematical edges.
Summary & Future Outlook