检查MRI k空间中的共轭对称性

时间:2016-02-18 05:07:14

标签: matlab symmetry

我有#include <iostream> #include <windows.h> using namespace std; int main() { system("tasklist"); SYSTEM_INFO SysInfo; GetSystemInfo(&SysInfo); DWORD proc_Id = 0; cin >> proc_Id; HANDLE hProc = INVALID_HANDLE_VALUE; char value[500]; SIZE_T dwRead; hProc = OpenProcess(PROCESS_ALL_ACCESS, TRUE, proc_Id); if(hProc == NULL) { cout << "Error when trying to retrieve process handle" << endl; } void *baseAddr = (void*)hProc; if(VirtualAllocEx(hProc, NULL, SysInfo.dwPageSize, MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READ) == NULL) { cout << "VirtualAllocEx error" << endl; } if(ReadProcessMemory(hProc, baseAddr, &value, sizeof(value), &dwRead) == 0) { cout << "ReadProcessMemory failed: " << GetLastError() << endl; } cout << "Value is: " << value << endl; cout << "Amount read successfully: " << dwRead << endl; } 大小为2-D k-space的数据。我了解到K空间数据满足结合对称属性256X256。如何使用matlab从k空间数据中查看这种对称性。虽然由于相位误差,共轭对称性并不完美,但我觉得复数的幅度部分应该相等。

在matlab中,我看到矩阵索引从1到256.如果我以128行作为中心轴,则在中心轴下方的中心轴127上方有128个。然后我如何对角关联矩阵元素以检查共轭对称性?

感谢。

1 个答案:

答案 0 :(得分:0)