Laplacian of Gaussian (LoG) of the ultrasound image in CSV format

3 visualizaciones (últimos 30 días)
Hello,
I want to use Laplacian of Gaussian for the shadowing characteristics in the ultrasound image in CSV format to enhance bone surface contrast. Each number in the CSV file represents an image pixel value of the ultrasound image. I am trying to devlop a code that implements a shadow-based bone enhancement algorithm and apply the algorithm to the sample data (such as the data provided) and create images of the pre- and post- filtered image. I would be grateful if anyone could help.
Thank You.

Respuestas (1)

Rajani Mishra
Rajani Mishra el 9 de Mzo. de 2020
There are two steps required :
1) Converting data from CSV file to matrix format
2) Reading that matrix and applying Laplacian of Gaussian filter
1. Converting data from CSV file to matrix format
A = readmatrix(filename);
This will load data from CSV file to a matrix. For more information refer to below link: https://www.mathworks.com/help/matlab/ref/readmatrix.html
2.Reading that matrix and applying Laplacian of Gaussian filter
  • Use "fspecial" function to create Laplacian of Gaussian filter. Pass value of input argument “type” as “log” for creating Laplacian of Gaussian filter. For example:
Log_filter = fspecial('log', [5,5], 4.0);
For more information please refer to the below link:
There is a similar code for performing Laplacian of Gaussian filtering in below link:

Categorías

Más información sobre Ultrasound en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by