{"id":7511,"date":"2016-06-17T09:00:28","date_gmt":"2016-06-17T13:00:28","guid":{"rendered":"https:\/\/blogs.mathworks.com\/pick\/?p=7511"},"modified":"2016-06-17T09:18:51","modified_gmt":"2016-06-17T13:18:51","slug":"data-explorer-for-your-3-d-scalar-data","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/pick\/2016\/06\/17\/data-explorer-for-your-3-d-scalar-data\/","title":{"rendered":"Data Explorer for your 3-D scalar data"},"content":{"rendered":"<div class=\"content\"><p><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/15007\">Jiro<\/a>'s pick this week is <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/41405-volumetric-data-explorer\">Volumetric Data Explorer<\/a> by my fellow MathWorker, <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/profile\/authors\/2429191\">Adam Filion<\/a>.<\/p><p><a href=\"https:\/\/www.mathworks.com\/help\/matlab\/visualize\/overview-of-volume-visualization.html\">Volume visualization<\/a> refers to a graphical representation of data sets defined on three dimensional grids. There are two types of volume data sets that MATLAB typically deals with - scalar and vector data. Scalar data contain scalar information at every three dimensional grid points, much like temperature.<\/p><p>$T = f(x,y,z)$<\/p><p>Vector data contain three values at each grid point, much like wind flow.<\/p><p>$[u,v,w] = f(x,y,z)$<\/p><p>There are <a href=\"https:\/\/www.mathworks.com\/help\/matlab\/volume-visualization.html\">many functions<\/a> for visualizing volume data. Adam's Volumetric Data Explorer is an app that lets you interactively visualize scalar data, using some of these builtin functions under the hood. Here are some of the cool things about this app.<\/p><div><ul><li>The app lets you visualize orthogonal slices and isosurfaces of scalar data. Slices let you cut into your scalar data, and isosurfaces show you the surfaces with equal values, sort of like contour lines but for volume data.<\/li><\/ul><\/div><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/jiro\/potw_volumetricexplorer\/slice_isosurface.png\" alt=\"\"> <\/p><div><ul><li>If you provide an additional dimension (time), the app will animate the data along the time.<\/li><\/ul><\/div><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/jiro\/potw_volumetricexplorer\/slice_isosurface_anim.gif\" alt=\"\"> <\/p><div><ul><li>You can create recordings (AVI and MP4) of the animations. The app comes with a wealth of options for specifying animation frames, frame rates, recording regions, etc.<\/li><\/ul><\/div><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/jiro\/potw_volumetricexplorer\/data_explorer_controls.png\" alt=\"\"> <\/p><div><ul><li>The app comes with a detailed documentation, which you can access from the help menu.<\/li><\/ul><\/div><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/jiro\/potw_volumetricexplorer\/data_explorer_doc.png\" alt=\"\"> <\/p><p>I remember seeing one of the first versions of this app several years ago, and Adam has been adding feature after feature since then. Thanks for a great app, Adam!<\/p><p><b>Comments<\/b><\/p><p>Give this a try and let us know what you think <a href=\"https:\/\/blogs.mathworks.com\/pick\/?p=7511#respond\">here<\/a> or leave a <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/41405-volumetric-data-explorer#comments\">comment<\/a> for Adam.<\/p><script language=\"JavaScript\"> <!-- \r\n    function grabCode_fc8b7c64327147fdb551fc52187e5248() {\r\n        \/\/ Remember the title so we can use it in the new page\r\n        title = document.title;\r\n\r\n        \/\/ Break up these strings so that their presence\r\n        \/\/ in the Javascript doesn't mess up the search for\r\n        \/\/ the MATLAB code.\r\n        t1='fc8b7c64327147fdb551fc52187e5248 ' + '##### ' + 'SOURCE BEGIN' + ' #####';\r\n        t2='##### ' + 'SOURCE END' + ' #####' + ' fc8b7c64327147fdb551fc52187e5248';\r\n    \r\n        b=document.getElementsByTagName('body')[0];\r\n        i1=b.innerHTML.indexOf(t1)+t1.length;\r\n        i2=b.innerHTML.indexOf(t2);\r\n \r\n        code_string = b.innerHTML.substring(i1, i2);\r\n        code_string = code_string.replace(\/REPLACE_WITH_DASH_DASH\/g,'--');\r\n\r\n        \/\/ Use \/x3C\/g instead of the less-than character to avoid errors \r\n        \/\/ in the XML parser.\r\n        \/\/ Use '\\x26#60;' instead of '<' so that the XML parser\r\n        \/\/ doesn't go ahead and substitute the less-than character. \r\n        code_string = code_string.replace(\/\\x3C\/g, '\\x26#60;');\r\n\r\n        copyright = 'Copyright 2016 The MathWorks, Inc.';\r\n\r\n        w = window.open();\r\n        d = w.document;\r\n        d.write('<pre>\\n');\r\n        d.write(code_string);\r\n\r\n        \/\/ Add copyright line at the bottom if specified.\r\n        if (copyright.length > 0) {\r\n            d.writeln('');\r\n            d.writeln('%%');\r\n            if (copyright.length > 0) {\r\n                d.writeln('% _' + copyright + '_');\r\n            }\r\n        }\r\n\r\n        d.write('<\/pre>\\n');\r\n\r\n        d.title = title + ' (MATLAB code)';\r\n        d.close();\r\n    }   \r\n     --> <\/script><p style=\"text-align: right; font-size: xx-small; font-weight:lighter;   font-style: italic; color: gray\"><br><a href=\"javascript:grabCode_fc8b7c64327147fdb551fc52187e5248()\"><span style=\"font-size: x-small;        font-style: italic;\">Get \r\n      the MATLAB code <noscript>(requires JavaScript)<\/noscript><\/span><\/a><br><br>\r\n      Published with MATLAB&reg; R2016a<br><\/p><p class=\"footer\"><br>\r\n      Published with MATLAB&reg; R2016a<br><\/p><\/div><!--\r\nfc8b7c64327147fdb551fc52187e5248 ##### SOURCE BEGIN #####\r\n%%\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/15007\r\n% Jiro>'s pick this week is\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/41405-volumetric-data-explorer Volumetric\r\n% Data Explorer> by my fellow MathWorker,\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/profile\/authors\/2429191 Adam\r\n% Filion>.\r\n%\r\n% <https:\/\/www.mathworks.com\/help\/matlab\/visualize\/overview-of-volume-visualization.html\r\n% Volume visualization> refers to a graphical representation of data sets\r\n% defined on three dimensional grids. There are two types of volume data\r\n% sets that MATLAB typically deals with - scalar and vector data. Scalar\r\n% data contain scalar information at every three dimensional grid points,\r\n% much like temperature.\r\n%\r\n% $T = f(x,y,z)$\r\n%\r\n% Vector data contain three values at each grid point, much like wind flow.\r\n%\r\n% $[u,v,w] = f(x,y,z)$\r\n%\r\n% There are <https:\/\/www.mathworks.com\/help\/matlab\/volume-visualization.html\r\n% many functions> for visualizing volume data. Adam's Volumetric Data\r\n% Explorer is an app that lets you interactively visualize scalar data,\r\n% using some of these builtin functions under the hood. Here are some of\r\n% the cool things about this app.\r\n%\r\n% * The app lets you visualize orthogonal slices and isosurfaces of scalar\r\n% data. Slices let you cut into your scalar data, and isosurfaces show you\r\n% the surfaces with equal values, sort of like contour lines but for volume\r\n% data.\r\n%\r\n% <<slice_isosurface.png>>\r\n%\r\n% * If you provide an additional dimension (time), the app will animate the\r\n% data along the time.\r\n%\r\n% <<slice_isosurface_anim.gif>>\r\n%\r\n% * You can create recordings (AVI and MP4) of the animations. The app\r\n% comes with a wealth of options for specifying animation frames, frame\r\n% rates, recording regions, etc.\r\n%\r\n% <<data_explorer_controls.png>>\r\n%\r\n% * The app comes with a detailed documentation, which you can access from\r\n% the help menu.\r\n%\r\n% <<data_explorer_doc.png>>\r\n%\r\n% I remember seeing one of the first versions of this app several years\r\n% ago, and Adam has been adding features after features since then. Thanks\r\n% for a great app, Adam!\r\n%\r\n% *Comments*\r\n%\r\n% Give this a try and let us know what you think\r\n% <https:\/\/blogs.mathworks.com\/pick\/?p=7511#respond here> or leave a\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/41405-volumetric-data-explorer#comments\r\n% comment> for Adam.\r\n\r\n##### SOURCE END ##### fc8b7c64327147fdb551fc52187e5248\r\n-->","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img decoding=\"async\"  class=\"img-responsive\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/jiro\/potw_volumetricexplorer\/slice_isosurface.png\" onError=\"this.style.display ='none';\" \/><\/div><p>Jiro's pick this week is Volumetric Data Explorer by my fellow MathWorker, Adam Filion.Volume visualization refers to a graphical representation of data sets defined on three dimensional grids. There... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/pick\/2016\/06\/17\/data-explorer-for-your-3-d-scalar-data\/\">read more >><\/a><\/p>","protected":false},"author":35,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[16],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/7511"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/users\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/comments?post=7511"}],"version-history":[{"count":4,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/7511\/revisions"}],"predecessor-version":[{"id":7515,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/7511\/revisions\/7515"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media?parent=7511"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/categories?post=7511"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/tags?post=7511"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}