Seam Carving: Live Coding Session | Week 2 | MIT 18.S191 Fall 2020 | James Schloss

Поделиться
HTML-код
  • Опубликовано: 9 окт 2024

Комментарии • 33

  • @jimmygervaisnet
    @jimmygervaisnet 4 года назад +6

    Those energy maps look surprisingly artistic.

  • @evanrushton1
    @evanrushton1 4 года назад +3

    I am thoroughly enjoying this class. Thank you. I think I speak for Dali when I say that the importance of a single element of an image cannot be known. Without the vast expanse of eerie other-worldly landscape, the painting clearly loses something ;)

  • @mailsiraj
    @mailsiraj Год назад

    wow - what a wonderful lecture. I felt that James' explanation was even better than Grant's - I loved this session. May be, they should allow great teachers like these to take their own time, rather than putting them on a 30-minute constraint.

  • @j.adrianriosa.4163
    @j.adrianriosa.4163 4 года назад +4

    This was awesome. Thank you James!
    When you direct your attention to the MIT students what happens? Do they ask questions? Would be awesome to learn from their doubts...doubts we might have but not know yet.

  • @gz6616
    @gz6616 3 года назад

    Those energy maps remind me of the "spatio-temporal graph" (I'm not sure about the proper term for this) when solving the majority classification problem using cellular automata machine. They are similar in that both go only from top to bottom (for the automata machine, this represents the direction of time evolution), and that neighborhood of impacts in each row is a 3-cell window.

  • @TolgaYilmaz1
    @TolgaYilmaz1 4 года назад +5

    24:24 Is there an off-by-one error here?
    seam[i] = seam[i-1] + next_element[i, seam[i-1]
    Shouldn't it be instead:
    seam[i] = seam[i-1] + next_element[i-1, seam[i-1]

  • @Dhanush-zj7mf
    @Dhanush-zj7mf 4 года назад

    If we add a small scaling to this algortihm this will be soo nice because only removing the unwanted parts makes the other important parts dominate.

  • @etymology_
    @etymology_ 4 года назад +2

    cool lecture

  • @Idontlikethisname-zy3zn
    @Idontlikethisname-zy3zn 2 года назад +2

    @15:43, should it be j==1 instead of left==1?

  • @mebamme
    @mebamme 4 года назад +9

    4:53

  • @YoshiTakahashi
    @YoshiTakahashi 4 года назад

    Cones of Dunshire. Hilarious! :)

  • @kangtoodull
    @kangtoodull 4 года назад

    AMAZING

  • @compphysgeek
    @compphysgeek 4 года назад +1

    22:33 I'm with James on the style choice. I don't really find "for i=xx, j=yy " easier to read

  • @usama57926
    @usama57926 2 года назад

    Where can I find the code for this video????

  • @usama57926
    @usama57926 2 года назад

    24:50 What is a cache error?

  • @CesarDainezi
    @CesarDainezi 3 года назад

    Did anyone count how many times he said "essentially"?

  • @samm9840
    @samm9840 4 года назад

    Wish James had used Pluto! Could you please in future?

    • @LeiosLabs
      @LeiosLabs 4 года назад +2

      I will not, sorry. I do not like notebooks and feel like they inhibit learning.

    • @samm9840
      @samm9840 4 года назад

      @@LeiosLabs I am glad that you replied. I understand that you have a different view. Just a suggestion: kindly consider increasing the font of the code. It was too small and illegible for me, until I increased the quality to 480p; but still it was too small to look at - at least that came in the way for my learning.
      Also, it seemed to me, watching your right wrist, that probably you're having RSI problems. I switched to a Goldtouch keyboard and an ergonomic mouse (right handed) some years ago, and I got rid of the pain (in my wrist as well as shoulders) in time - the key was to switch in time; too late would be sorry! Stay safe and healthy, and thank you all for the great course!

    • @LeiosLabs
      @LeiosLabs 4 года назад +1

      @@samm9840 I cannot increase the size of the font without removing the REPL on the side. I could switch back and forth between the REPL and text editor, but that got confusing to people before.
      Also, no RSI issues yet. I wear the glove because I use a drawing tablet as my mouse.

    • @rito_ghosh
      @rito_ghosh 4 года назад +1

      @@LeiosLabs hey, which text editor are you using?

    • @LeiosLabs
      @LeiosLabs 4 года назад +2

      @@rito_ghosh Vim + julia plugin

  • @Dhanush-zj7mf
    @Dhanush-zj7mf 4 года назад

    Doubt 1: 20:20 shouldn't it be -1 since we should move 1 element forward. If I am wrong please tell me why I am wrong.
    Doubt 2: 25:16 If the function is generating a seam( a path from 100th pixcel to bottom) then why is it returning some pixcel values twice or thrice(like 271 etc...)

    • @TheJuliaLanguage
      @TheJuliaLanguage  4 года назад +1

      1. This was specifically getting the view from 1:3 into a view from -1:1, so we needed to subtract 2
      2. The consecutive 271's simply mean the seam goes downward at that point. I suppose it would have been more clear if we had used CartesianIndices instead of a vector of integers.

    • @Dhanush-zj7mf
      @Dhanush-zj7mf 4 года назад

      @@TheJuliaLanguage
      #2 That means the pixels are increasing or decreasing index of rows in the same column or it may also be increasing or decreasing index of columns in a same row. Means moving straight down upto some instant or also moving straight right/left upto some instant.😀
      Thank You for explaining.❤️❤️

  • @ushabomble3244
    @ushabomble3244 3 года назад

    R u doing it in MATLAB?

    • @argh44z
      @argh44z 2 года назад

      It's in Julia

  • @RutvikPatel2611
    @RutvikPatel2611 3 года назад +1

    For the love of god,please remove this time constraint i am not from mit but i'd like to learn to at little bit slower pace