{"id":1016551,"date":"2024-12-27T12:17:30","date_gmt":"2024-12-27T04:17:30","guid":{"rendered":""},"modified":"2024-12-27T12:17:33","modified_gmt":"2024-12-27T04:17:33","slug":"python%e5%a6%82%e4%bd%95%e7%94%9f%e6%88%90nii%e6%a0%bc%e5%bc%8f","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1016551.html","title":{"rendered":"python\u5982\u4f55\u751f\u6210nii\u683c\u5f0f"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25100041\/ab9af083-930a-4c10-ba64-2d4b84e0ac35.webp\" alt=\"python\u5982\u4f55\u751f\u6210nii\u683c\u5f0f\" \/><\/p>\n<p><p> \u751f\u6210NIfTI\u683c\u5f0f\u6587\u4ef6\uff08.nii\u6216.nii.gz\uff09\u901a\u5e38\u7528\u4e8e\u5b58\u50a8\u533b\u5b66\u6210\u50cf\u6570\u636e\uff0c\u5982MRI\u6216CT\u626b\u63cf\u3002Python\u4e2d\uff0c\u6700\u5e38\u7528\u7684\u5e93\u4e4b\u4e00\u662fNibabel\uff0c\u5b83\u4e13\u95e8\u7528\u4e8e\u8bfb\u53d6\u548c\u5199\u5165NIfTI\u6587\u4ef6\u3002<strong>\u751f\u6210NIfTI\u683c\u5f0f\u6587\u4ef6\u901a\u5e38\u6d89\u53ca\u521b\u5efa\u4e00\u4e2aNumPy\u6570\u7ec4\u4ee5\u5b58\u50a8\u56fe\u50cf\u6570\u636e\u3001\u8bbe\u7f6e\u56fe\u50cf\u5934\u4fe1\u606f\uff08\u5982\u50cf\u7d20\u5c3a\u5bf8\u548c\u6570\u636e\u7c7b\u578b\uff09\u3001\u5229\u7528Nibabel\u5e93\u5c06\u6570\u636e\u548c\u5934\u4fe1\u606f\u7ec4\u5408\u6210NIfTI\u5bf9\u8c61\uff0c\u7136\u540e\u5c06\u5176\u4fdd\u5b58\u4e3a\u6587\u4ef6\u3002<\/strong>\u4e0b\u9762\u5c06\u8be6\u7ec6\u63cf\u8ff0\u5982\u4f55\u4f7f\u7528Python\u548cNibabel\u751f\u6210NIfTI\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u5b89\u88c5\u548c\u5bfc\u5165\u5fc5\u8981\u7684\u5e93<\/p>\n<\/p>\n<p><p>\u5728\u5f00\u59cb\u7f16\u5199\u4ee3\u7801\u4e4b\u524d\uff0c\u4f60\u9700\u8981\u786e\u4fdd\u5df2\u7ecf\u5b89\u88c5\u4e86Nibabel\u5e93\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install nibabel<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f60\u53ef\u4ee5\u5728Python\u811a\u672c\u4e2d\u5bfc\u5165\u6240\u9700\u7684\u5e93\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<p>import nibabel as nib<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e8c\u3001\u521b\u5efaNumPy\u6570\u7ec4<\/p>\n<\/p>\n<p><p>\u4e3a\u4e86\u751f\u6210NIfTI\u6587\u4ef6\uff0c\u9996\u5148\u9700\u8981\u521b\u5efa\u4e00\u4e2a\u5305\u542b\u56fe\u50cf\u6570\u636e\u7684NumPy\u6570\u7ec4\u3002\u8fd9\u4e2a\u6570\u7ec4\u53ef\u4ee5\u662f\u4e09\u7ef4\u7684\uff08\u4f8b\u5982\uff0c\u5355\u4e2a\u65f6\u95f4\u70b9\u76843D\u56fe\u50cf\uff09\u6216\u56db\u7ef4\u7684\uff08\u4f8b\u5982\uff0c\u5305\u542b\u65f6\u95f4\u5e8f\u5217\u76843D+\u65f6\u95f4\u6570\u636e\uff09\u3002\u4ee5\u4e0b\u662f\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u76843D NumPy\u6570\u7ec4\u7684\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u76843D NumPy\u6570\u7ec4<\/p>\n<p>data = np.random.rand(64, 64, 30)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u6b64\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528<code>numpy.random.rand<\/code>\u51fd\u6570\u751f\u6210\u4e00\u4e2a64x64x30\u7684\u968f\u673a\u6570\u7ec4\u3002\u8be5\u6570\u7ec4\u53ef\u4ee5\u7528\u4f5c\u56fe\u50cf\u6570\u636e\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u8bbe\u7f6e\u56fe\u50cf\u5934\u4fe1\u606f<\/p>\n<\/p>\n<p><p>NIfTI\u6587\u4ef6\u5305\u542b\u5934\u4fe1\u606f\uff0c\u7528\u4e8e\u63cf\u8ff0\u56fe\u50cf\u7684\u5404\u4e2a\u5c5e\u6027\uff0c\u5982\u50cf\u7d20\u95f4\u8ddd\u3001\u6570\u636e\u7c7b\u578b\u3001\u626b\u63cf\u65b9\u5411\u7b49\u3002Nibabel\u5e93\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7b80\u5355\u7684\u65b9\u6cd5\u6765\u8bbe\u7f6e\u8fd9\u4e9b\u4fe1\u606f\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u521b\u5efa\u4e00\u4e2a\u4eff\u5c04\u77e9\u9635\uff084x4\uff09<\/p>\n<p>affine = np.eye(4)<\/p>\n<h2><strong>\u8bbe\u7f6e\u5934\u4fe1\u606f<\/strong><\/h2>\n<p>header = nib.Nifti1Header()<\/p>\n<p>header.set_data_dtype(np.float32)  # \u6570\u636e\u7c7b\u578b<\/p>\n<p>header.set_zooms((1.0, 1.0, 1.0))  # \u50cf\u7d20\u5c3a\u5bf8<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u521b\u5efa\u4e86\u4e00\u4e2a\u5355\u4f4d\u77e9\u9635\u4f5c\u4e3a\u4eff\u5c04\u77e9\u9635\uff0c\u8fd9\u610f\u5473\u7740\u56fe\u50cf\u5750\u6807\u7cfb\u4e0e\u771f\u5b9e\u5750\u6807\u7cfb\u5bf9\u9f50\u3002<code>set_data_dtype<\/code>\u8bbe\u7f6e\u6570\u636e\u7c7b\u578b\u4e3a32\u4f4d\u6d6e\u70b9\u6570\uff0c\u800c<code>set_zooms<\/code>\u5b9a\u4e49\u50cf\u7d20\u7684\u7269\u7406\u5c3a\u5bf8\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u521b\u5efaNIfTI\u5bf9\u8c61<\/p>\n<\/p>\n<p><p>\u6709\u4e86\u6570\u636e\u548c\u5934\u4fe1\u606f\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528Nibabel\u7684<code>Nifti1Image<\/code>\u7c7b\u6765\u521b\u5efaNIfTI\u5bf9\u8c61\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u521b\u5efaNIfTI\u56fe\u50cf\u5bf9\u8c61<\/p>\n<p>nifti_img = nib.Nifti1Image(data, affine, header)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><code>Nifti1Image<\/code>\u7c7b\u5c06\u56fe\u50cf\u6570\u636e\u3001\u4eff\u5c04\u77e9\u9635\u548c\u5934\u4fe1\u606f\u7ec4\u5408\u6210\u4e00\u4e2a\u5b8c\u6574\u7684NIfTI\u5bf9\u8c61\u3002<\/p>\n<\/p>\n<p><p>\u4e94\u3001\u4fdd\u5b58\u4e3aNIfTI\u6587\u4ef6<\/p>\n<\/p>\n<p><p>\u6700\u540e\uff0c\u5c06\u521b\u5efa\u7684NIfTI\u5bf9\u8c61\u4fdd\u5b58\u4e3a.nii\u6216.nii.gz\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u4fdd\u5b58\u5230\u6587\u4ef6<\/p>\n<p>nib.save(nifti_img, &#39;output_image.nii&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4f7f\u7528<code>nib.save<\/code>\u51fd\u6570\u53ef\u4ee5\u5c06NIfTI\u5bf9\u8c61\u4fdd\u5b58\u5230\u78c1\u76d8\u4e0a\u6307\u5b9a\u7684\u6587\u4ef6\u540d\u3002\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u5c06\u5176\u4fdd\u5b58\u4e3a<code>output_image.nii<\/code>\u3002<\/p>\n<\/p>\n<p><p>\u516d\u3001\u5176\u4ed6\u91cd\u8981\u6ce8\u610f\u4e8b\u9879<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u6570\u636e\u7684\u7ef4\u5ea6\u548c\u5f62\u72b6<\/strong>\uff1a\u786e\u4fdd\u4f60\u7684\u6570\u636e\u5f62\u72b6\u7b26\u5408\u6240\u9700\u7684\u56fe\u50cf\u7ef4\u5ea6\u3002\u4f8b\u5982\uff0c\u8111\u6210\u50cf\u901a\u5e38\u4e3a3D\u62164D\u6570\u636e\uff0c\u786e\u4fdd\u4f60\u5728\u521b\u5efaNumPy\u6570\u7ec4\u65f6\u8003\u8651\u5230\u8fd9\u4e00\u70b9\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4eff\u5c04\u77e9\u9635\u7684\u91cd\u8981\u6027<\/strong>\uff1a\u4eff\u5c04\u77e9\u9635\u5b9a\u4e49\u4e86\u56fe\u50cf\u6570\u636e\u5728\u7a7a\u95f4\u4e2d\u7684\u4f4d\u7f6e\u548c\u65b9\u5411\u3002\u5982\u679c\u4f60\u6709\u7279\u5b9a\u7684\u7a7a\u95f4\u8981\u6c42\u6216\u9700\u8981\u4e0e\u5176\u4ed6\u56fe\u50cf\u5bf9\u9f50\uff0c\u52a1\u5fc5\u6b63\u786e\u8bbe\u7f6e\u4eff\u5c04\u77e9\u9635\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5934\u4fe1\u606f\u7684\u914d\u7f6e<\/strong>\uff1a\u867d\u7136\u5728\u8bb8\u591a\u7b80\u5355\u60c5\u51b5\u4e0b\u9ed8\u8ba4\u7684\u5934\u4fe1\u606f\u914d\u7f6e\u662f\u8db3\u591f\u7684\uff0c\u4f46\u5728\u5904\u7406\u66f4\u590d\u6742\u7684\u6570\u636e\u96c6\u65f6\uff0c\u53ef\u80fd\u9700\u8981\u8bbe\u7f6e\u66f4\u591a\u8be6\u7ec6\u7684\u5934\u4fe1\u606f\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6570\u636e\u7c7b\u578b\u548c\u50cf\u7d20\u95f4\u8ddd<\/strong>\uff1a\u786e\u4fdd\u8bbe\u7f6e\u6b63\u786e\u7684\u6570\u636e\u7c7b\u578b\u548c\u50cf\u7d20\u95f4\u8ddd\uff0c\u4ee5\u907f\u514d\u5728\u4f7f\u7528\u5176\u4ed6\u5de5\u5177\u6216\u8f6f\u4ef6\u5904\u7406NIfTI\u6587\u4ef6\u65f6\u51fa\u73b0\u95ee\u9898\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u4f60\u53ef\u4ee5\u6210\u529f\u5730\u4f7f\u7528Python\u751f\u6210NIfTI\u683c\u5f0f\u6587\u4ef6\u3002\u8fd9\u4e9b\u6b65\u9aa4\u4e3a\u4f60\u63d0\u4f9b\u4e86\u57fa\u7840\u6846\u67b6\uff0c\u53ef\u4ee5\u6839\u636e\u9700\u8981\u8fdb\u884c\u6269\u5c55\u6216\u4fee\u6539\uff0c\u4ee5\u9002\u5e94\u5177\u4f53\u7684\u5e94\u7528\u573a\u666f\u548c\u6570\u636e\u8981\u6c42\u3002\u751f\u6210NIfTI\u6587\u4ef6\u7684\u8fc7\u7a0b\u4e0d\u4ec5\u4ec5\u662f\u7f16\u5199\u4ee3\u7801\uff0c\u8fd8\u6d89\u53ca\u5bf9\u6570\u636e\u548c\u56fe\u50cf\u5c5e\u6027\u7684\u6df1\u523b\u7406\u89e3\uff0c\u4ee5\u786e\u4fdd\u751f\u6210\u7684\u6587\u4ef6\u53ef\u4ee5\u6b63\u786e\u5730\u7528\u4e8e\u540e\u7eed\u5206\u6790\u6216\u5904\u7406\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u4f7f\u7528Python\u751f\u6210NIfTI\u683c\u5f0f\u7684\u533b\u5b66\u56fe\u50cf\uff1f<\/strong><br \/>\u8981\u751f\u6210NIfTI\uff08.nii\uff09\u683c\u5f0f\u7684\u533b\u5b66\u56fe\u50cf\uff0c\u53ef\u4ee5\u4f7f\u7528Python\u7684Nibabel\u5e93\u3002\u8fd9\u662f\u4e00\u4e2a\u4e13\u95e8\u7528\u4e8e\u5904\u7406NIfTI\u6587\u4ef6\u7684\u5f3a\u5927\u5de5\u5177\u3002\u9996\u5148\uff0c\u5b89\u88c5Nibabel\u5e93\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5728\u7ec8\u7aef\u4e2d\u5b8c\u6210\uff1a  <\/p>\n<pre><code class=\"language-bash\">pip install nibabel\n<\/code><\/pre>\n<p>\u63a5\u4e0b\u6765\uff0c\u4f60\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2aNumPy\u6570\u7ec4\u6765\u5b58\u50a8\u4f60\u7684\u533b\u5b66\u56fe\u50cf\u6570\u636e\uff0c\u7136\u540e\u4f7f\u7528Nibabel\u5c06\u5176\u4fdd\u5b58\u4e3aNIfTI\u6587\u4ef6\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\u4ee3\u7801\uff1a  <\/p>\n<pre><code class=\"language-python\">import numpy as np\nimport nibabel as nib\n\n# \u521b\u5efa\u4e00\u4e2a\u968f\u673a\u76843D\u6570\u7ec4\u4f5c\u4e3a\u533b\u5b66\u56fe\u50cf\u6570\u636e\ndata = np.random.rand(64, 64, 64)\n\n# \u521b\u5efaNIfTI\u56fe\u50cf\nnifti_image = nib.Nifti1Image(data, np.eye(4))\n\n# \u4fdd\u5b58\u4e3a.nii\u6587\u4ef6\nnib.save(nifti_image, &#39;output_image.nii&#39;)\n<\/code><\/pre>\n<p>\u8fd9\u6837\u5c31\u53ef\u4ee5\u751f\u6210\u4e00\u4e2aNIfTI\u683c\u5f0f\u7684\u56fe\u50cf\u6587\u4ef6\u3002<\/p>\n<p><strong>\u751f\u6210NIfTI\u6587\u4ef6\u65f6\u9700\u8981\u6ce8\u610f\u54ea\u4e9b\u6570\u636e\u683c\u5f0f\u548c\u7ef4\u5ea6\uff1f<\/strong><br \/>\u5728\u751f\u6210NIfTI\u6587\u4ef6\u65f6\uff0c\u786e\u4fdd\u4f60\u7684\u6570\u636e\u662f\u4e00\u4e2aNumPy\u6570\u7ec4\uff0c\u901a\u5e38\u662f\u4e00\u4e2a3D\u62164D\u6570\u7ec4\u30023D\u6570\u7ec4\u9002\u7528\u4e8e\u5355\u4e2a\u65f6\u95f4\u70b9\u7684\u56fe\u50cf\uff0c\u800c4D\u6570\u7ec4\u5219\u9002\u7528\u4e8e\u52a8\u6001\u6210\u50cf\uff08\u5982\u65f6\u95f4\u5e8f\u5217\u6570\u636e\uff09\u3002\u6570\u636e\u7c7b\u578b\u901a\u5e38\u5e94\u4e3a\u6d6e\u70b9\u6570\uff08\u5982float32\u6216float64\uff09\uff0c\u4ee5\u4fdd\u8bc1\u56fe\u50cf\u8d28\u91cf\u3002\u540c\u65f6\uff0c\u786e\u4fdd\u63d0\u4f9b\u9002\u5f53\u7684\u7a7a\u95f4\u53d8\u6362\u77e9\u9635\uff0c\u901a\u5e38\u53ef\u4ee5\u4f7f\u7528\u5355\u4f4d\u77e9\u9635\uff08np.eye(4)\uff09\u4f5c\u4e3a\u9ed8\u8ba4\u503c\u3002<\/p>\n<p><strong>\u662f\u5426\u53ef\u4ee5\u4f7f\u7528\u5176\u4ed6\u5e93\u751f\u6210NIfTI\u683c\u5f0f\u7684\u6587\u4ef6\uff1f<\/strong><br \/>\u9664\u4e86Nibabel\uff0c\u5176\u4ed6\u5e93\u5982SimpleITK\u548cPyDicom\u4e5f\u53ef\u4ee5\u7528\u4e8e\u751f\u6210NIfTI\u683c\u5f0f\u7684\u6587\u4ef6\u3002SimpleITK\u63d0\u4f9b\u4e86\u4e00\u79cd\u7b80\u5355\u7684\u63a5\u53e3\u6765\u5904\u7406\u533b\u5b66\u56fe\u50cf\uff0c\u9002\u5408\u9700\u8981\u56fe\u50cf\u5904\u7406\u529f\u80fd\u7684\u7528\u6237\u3002\u800cPyDicom\u5219\u4e3b\u8981\u7528\u4e8e\u5904\u7406DICOM\u683c\u5f0f\u56fe\u50cf\uff0c\u4f46\u53ef\u4ee5\u7ed3\u5408Nibabel\u5c06DICOM\u8f6c\u6362\u4e3aNIfTI\u683c\u5f0f\u3002\u5982\u679c\u4f60\u5df2\u7ecf\u719f\u6089\u8fd9\u4e9b\u5e93\uff0c\u4e5f\u53ef\u4ee5\u5c1d\u8bd5\u4f7f\u7528\u5b83\u4eec\u6765\u751f\u6210NIfTI\u6587\u4ef6\u3002<\/p>\n<p><strong>\u5982\u4f55\u9a8c\u8bc1\u751f\u6210\u7684NIfTI\u6587\u4ef6\u662f\u5426\u6709\u6548\uff1f<\/strong><br \/>\u751f\u6210NIfTI\u6587\u4ef6\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528Nibabel\u7684\u52a0\u8f7d\u529f\u80fd\u6765\u9a8c\u8bc1\u6587\u4ef6\u662f\u5426\u6709\u6548\u3002\u901a\u8fc7\u52a0\u8f7d\u521a\u751f\u6210\u7684NIfTI\u6587\u4ef6\u5e76\u68c0\u67e5\u5176\u6570\u636e\u548c\u7ef4\u5ea6\uff0c\u53ef\u4ee5\u786e\u8ba4\u6587\u4ef6\u7684\u6709\u6548\u6027\u3002\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a  <\/p>\n<pre><code class=\"language-python\">loaded_image = nib.load(&#39;output_image.nii&#39;)\nprint(loaded_image.shape)  # \u8f93\u51fa\u6570\u636e\u7684\u5f62\u72b6\nprint(loaded_image.header)  # \u8f93\u51fa\u6587\u4ef6\u5934\u4fe1\u606f\n<\/code><\/pre>\n<p>\u8fd9\u6837\u5c31\u53ef\u4ee5\u786e\u4fdd\u751f\u6210\u7684NIfTI\u6587\u4ef6\u7b26\u5408\u9884\u671f\u5e76\u80fd\u591f\u88ab\u5176\u4ed6\u8f6f\u4ef6\u6b63\u5e38\u8bfb\u53d6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u751f\u6210NIfTI\u683c\u5f0f\u6587\u4ef6\uff08.nii\u6216.nii.gz\uff09\u901a\u5e38\u7528\u4e8e\u5b58\u50a8\u533b\u5b66\u6210\u50cf\u6570\u636e\uff0c\u5982MRI\u6216CT\u626b\u63cf\u3002Python\u4e2d [&hellip;]","protected":false},"author":3,"featured_media":1016563,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1016551"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=1016551"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1016551\/revisions"}],"predecessor-version":[{"id":1016564,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1016551\/revisions\/1016564"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1016563"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1016551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1016551"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1016551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}