{"id":734,"date":"2017-11-15T10:04:59","date_gmt":"2017-11-15T15:04:59","guid":{"rendered":"http:\/\/courses.digitaldavidson.net\/dig101-2017\/?page_id=734"},"modified":"2017-11-16T12:59:17","modified_gmt":"2017-11-16T17:59:17","slug":"lab-7-image-analysis","status":"publish","type":"page","link":"https:\/\/courses.digitaldavidson.net\/dig101-2017\/lab-7-image-analysis\/","title":{"rendered":"Lab 7 (Image Analysis)"},"content":{"rendered":"<h1>Overview<\/h1>\n<p>The phrase cultural analytics generally refers to analyzing vast amounts of image, text, or other media through computational methods. Think of it as data science aimed towards arts and culture. But unlike data science, cultural analytics isn&#8217;t necessarily asking political-social-economic questions. Rather, cultural analytics seeks to help us see the world in a new way, generating more questions than answers.<\/p>\n<p>In this lab we&#8217;ll attempt a special kind of cultural analytics. Instead of looking at a vast number of texts (say, the way Ben Schmidt analyzes <a href=\"http:\/\/benschmidt.org\/poli\/2015-SOTU\">State of the Union addresses<\/a>, or how Lev Manovich analyzes <a href=\"http:\/\/selfiecity.net\/\">Instagram selfies<\/a>), we&#8217;ll break apart a single text\u2014a film\u2014into a vast number of discrete parts, and analyze those parts in the aggregate. Some researchers call this technique &#8220;image summation.&#8221;<\/p>\n<h1>Procedure<\/h1>\n<p>Elements of this procedure have been adapted from Dr. Brian Croxall&#8217;s <a href=\"http:\/\/briancroxall.net\/f17dh\/many-eyes-make-light-work\/\">similar exercise<\/a> at Brigham Young University. Thanks, Brian! We&#8217;ll also be using an <a href=\"http:\/\/www.zachwhalen.net\/posts\/imj-a-web-based-tool-for-visual-culture-macroanalytics\/\">online image analysis tool<\/a> developed by Dr. Zach Whalen at the University of Mary Washington. Thanks, Zach!<\/p>\n<h2>Extracting Stills<\/h2>\n<p>First, you&#8217;ll need to extract still images from the film that you&#8217;ve ripped or otherwise acquired.<\/p>\n<p>You can do this with the open source media player <a href=\"https:\/\/www.videolan.org\/vlc\/index.html\">VLC<\/a>. After you&#8217;ve installed VLC, you need to change its settings in order to extract frames. Make these changes <strong>before<\/strong> you open your video file in VLC.<\/p>\n<ol>\n<li>Go to preferences.<\/li>\n<li>Click \u201cshow all\u201d<\/li>\n<li>Click on \u201cvideo\u201d<\/li>\n<li>Click on \u201cfilters\u201d<\/li>\n<li>Find \u201cscene video filter\u201d and check that box<\/li>\n<li>Scroll under \u201cfilters\u201d to find \u201cscene video filter.\u201d Select it to edit its preferences.<\/li>\n<li>Paste in a directory path for where you want the screenshots to be collected.<\/li>\n<li>Set the \u201crecording ratio\u201d to be how often you want a still to be grabbed. For our purposes, you can set this to \u201c60.\u201d This grabs one frame every two seconds. (Because the video runs at a 30fps rate.)<\/li>\n<li>Click save.<\/li>\n<li>Open the video file in VLC and let it play.<\/li>\n<li>Your still images should start appearing in the directory you named in #7. If no extracted frames appear in that directory, make sure you have the correct directory name, and load up the video again through File &gt; Open.<\/li>\n<\/ol>\n<p>This method extracts frames in real time, which means it will take several hours (as long as the film) to extract all the images. Obviously, we don&#8217;t have enough time in class to complete this process. You&#8217;ll work on your own film outside of class. For the purposes of class, I&#8217;ve extracted frames from three different works: <a href=\"https:\/\/www.dropbox.com\/sh\/qw452h2xibhyg3s\/AADxK0N8gNth0pS9hVxfD8e1a?dl=0\">&#8220;The Entire History of You&#8221;<\/a> from\u00a0<em>Black Mirror, <\/em><a href=\"https:\/\/www.dropbox.com\/sh\/9nimpvrs0fufsa1\/AAC-omo7TF9ej9Kl4iT6o7tya?dl=0\"><em>The Fast and the Furious<\/em><\/a>, and the <a href=\"https:\/\/www.dropbox.com\/sh\/wewmvre5i1909az\/AAD3UIni_Ei3-b7Lzdv0QlIPa?dl=0\">first episode<\/a> of\u00a0<em>Game of Thrones<\/em>. You can select one of these three videos to use during class.<\/p>\n<h2>Analysis<\/h2>\n<p>For analysis of our images, we&#8217;re going to use Imj, a web-based image analysis tool. As the tool&#8217;s creator, <a href=\"http:\/\/www.zachwhalen.net\/posts\/imj-a-web-based-tool-for-visual-culture-macroanalytics\/\">Zach Whalen says<\/a>, this technique isn&#8217;t all that powerful compared to other desktop-based tools, but it does &#8220;enable some low-level visualizations that might help researchers or students determine whether an investigation with more robust tools is warranted.&#8221;<\/p>\n<p>In particular, Imj supports three types of visualizations:\u00a0 barcodes, montages, and scatterplots. Basically, you upload your folder of extracted frames (up to 9999 frames), and let Imj do the work.<\/p>\n<p>Use <a href=\"http:\/\/www.zachwhalen.net\/pg\/imj\/\">Imj<\/a>! Subject your movie to all three visualization types. For details on how each visualization works, read Zach Whalen&#8217;s <a href=\"http:\/\/www.zachwhalen.net\/posts\/imj-a-web-based-tool-for-visual-culture-macroanalytics\/\">guide to Imj<\/a>.<\/p>\n<h1>Lab Report<\/h1>\n<p>For the purposes of writing your lab report, you&#8217;ll use Imj on a film of your own. Follow the instructions above for using VLC to extract frames. Then subject your video to all three visualization types. Download the results (the barcode, montage, and plot) in order to include these images in your lab report.<\/p>\n<p>In a 300-500 word lab report, reflect on some of the following questions:<\/p>\n<ul>\n<li>What does each resulting image type tell us about the film?<\/li>\n<li>What elements of the video stand out through these visualizations? What elements disappear?<\/li>\n<li>If you compare the resulting image summations with each other, which one is most useful? Define what you mean by useful.<\/li>\n<li>What did you learn from these visualizations that you couldn\u2019t have learned by watching the film alone?<\/li>\n<li>Many times the power of these image summations comes not from the analysis of an individual film, but from a more longitudinal of multiple videos. For instance, Dr. Kevin Ferguson has <a href=\"http:\/\/digitalhumanities.org\/dhq\/vol\/11\/1\/000276\/000276.html\">analyzed every Disney animated film<\/a> with these techniques. Or imagine comparing every episode of a television series to see if the series&#8217; visual signature changes over time. Or comparing barcodes of 30 years of horror movies. What kind of comparative analysis would you like to do if you had the time and resources? What would you hope to learn through such a comparative analysis?<\/li>\n<\/ul>\n<p>Share the report with masample@davidson.edu as a Google Doc by end of the day, Monday, November 20. (Remember there is no class on Monday, November 20).<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview The phrase cultural analytics generally refers to analyzing vast amounts of image, text, or other media through computational methods. Think of it as data science aimed towards arts and culture. But unlike data science, cultural analytics isn&#8217;t necessarily asking political-social-economic questions. Rather, cultural analytics seeks to help us see the world in a new &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/courses.digitaldavidson.net\/dig101-2017\/lab-7-image-analysis\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Lab 7 (Image Analysis)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-734","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/P95kZR-bQ","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/courses.digitaldavidson.net\/dig101-2017\/wp-json\/wp\/v2\/pages\/734","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.digitaldavidson.net\/dig101-2017\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/courses.digitaldavidson.net\/dig101-2017\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/courses.digitaldavidson.net\/dig101-2017\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/courses.digitaldavidson.net\/dig101-2017\/wp-json\/wp\/v2\/comments?post=734"}],"version-history":[{"count":5,"href":"https:\/\/courses.digitaldavidson.net\/dig101-2017\/wp-json\/wp\/v2\/pages\/734\/revisions"}],"predecessor-version":[{"id":744,"href":"https:\/\/courses.digitaldavidson.net\/dig101-2017\/wp-json\/wp\/v2\/pages\/734\/revisions\/744"}],"wp:attachment":[{"href":"https:\/\/courses.digitaldavidson.net\/dig101-2017\/wp-json\/wp\/v2\/media?parent=734"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}