# Transcranial volumetric imaging using a conformal ultrasound patch
## Code availability
TCD_spectrum_tracking: This script processes a set of data, Sdat, representing a Doppler spectrum. It first visualizes the spectrum, and then applies histogram equalization to the data to improve its contrast. This processed data is then thresholded to create a binary image, which the script treats as a sequence of step functions. For each column of the binary image, the script fits a step function using the 'stepfit' function, storing the resulting "envelope" of the data. Afterward, this envelope is further smoothed and the peaks are detected within a sliding window, separating them into different categories, such as peak systolic velocity and end diastolic velocity.
stepfit: This function fits a step function to a given spectrum. The step function is parameterized by the height of the step up (YU), the height of the step down (YD), and the position where the step occurs (Xmin). The function finds the best fit by minimizing the sum of absolute differences between the spectrum and the step function for different step positions. The position with the smallest sum of absolute differences is returned as the best fit.
## Hardware Requirements
These two codes require only a standard computer with enough RAM to support the in-memory operations. There is no requirement for non-standard hardware.
## Software Requirements
This package is supported for macOS and Windows. The package has been tested on the following systems by using Matlab 2021a:
macOS: Ventura (13.4)
Windows: Win 10
## Demo availability
One example spectrum collected from the middle cerebral artery. You can load the demo directly through 'TCD_spectrum_tracking'.
The entire process takes less than 5s on a standard computer.
## Instructions for use
If you intend to utilize this tracking function with your own dataset, it is crucial to adjust the defined parameters within the 'TCD_spectrum_tracking' code to match the specifics of your collected spectrum.
没有合适的资源?快使用搜索试试~ 我知道了~
使用共形超声贴片的经颅容积成像matlab代码.zip
共4个文件
m:2个
mat:1个
md:1个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 59 浏览量
2024-03-18
16:19:41
上传
评论
收藏 1.1MB ZIP 举报
温馨提示
1.版本:matlab2014/2019a/2021a 2.附赠案例数据可直接运行matlab程序。 3.代码特点:参数化编程、参数可方便更改、代码编程思路清晰、注释明细。 4.适用对象:计算机,电子信息工程、数学等专业的大学生课程设计、期末大作业和毕业设计。
资源推荐
资源详情
资源评论
收起资源包目录
使用共形超声贴片的经颅容积成像matlab代码.zip (4个子文件)
使用共形超声贴片的经颅容积成像matlab代码
TCD-main
TCD_spectrum_tracking.m 2KB
spectrum_1.mat 1.09MB
stepfit.m 214B
README.md 2KB
共 4 条
- 1
资源评论
Matlab科研辅导帮
- 粉丝: 2w+
- 资源: 7553
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功