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

조회 수: 2 (최근 30일)
Hemangi RajendraKumar Dixit
Hemangi RajendraKumar Dixit 2020년 2월 27일
답변: Rajani Mishra 2020년 3월 9일
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.

답변 (1개)

Rajani Mishra
Rajani Mishra 2020년 3월 9일
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:

카테고리

Help CenterFile Exchange에서 Biomedical Imaging에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by