toshas commited on
Commit
96fc7d1
·
1 Parent(s): 4735dce

wider component

Browse files

reset slider upon image reload
more text

css/comparison-widget.css CHANGED
@@ -376,7 +376,7 @@
376
  #ws-comparison-slider {
377
  width: fit-content;
378
  height: auto;
379
- max-height: 590px;
380
  margin: 0;
381
  padding: 0;
382
  line-height: 0; /* Remove inline spacing */
@@ -386,7 +386,7 @@
386
  #ws-comparison-slider img {
387
  width: auto;
388
  height: auto;
389
- max-height: 590px;
390
  object-fit: contain;
391
  border-radius: 12px;
392
  display: block;
 
376
  #ws-comparison-slider {
377
  width: fit-content;
378
  height: auto;
379
+ max-height: 768px;
380
  margin: 0;
381
  padding: 0;
382
  line-height: 0; /* Remove inline spacing */
 
386
  #ws-comparison-slider img {
387
  width: auto;
388
  height: auto;
389
+ max-height: 768px;
390
  object-fit: contain;
391
  border-radius: 12px;
392
  display: block;
index.html CHANGED
@@ -273,6 +273,34 @@
273
  <h2 class="title is-3">Our Approach</h2>
274
  <div class="content has-text-justified">
275
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
276
  <h3 class="title has-text-centered mt-4">
277
  Model Architecture for End-to-End View Synthesis
278
  </h3>
@@ -304,17 +332,7 @@
304
  into generation in an end-to-end fashion is most effective.
305
  </p>
306
 
307
- </div></div></div></div>
308
- <div class="is-max-desktop">
309
- <div class="columns is-centered has-text-centered">
310
- <div class="column is-four-fifths">
311
- <div class="content has-text-justified">
312
- <img id="comparison" width="100%" src="./images/tables.png" alt="Quantitative Comparison with Other Recent Methods"/>
313
- </div></div></div></div>
314
- <div class="container is-max-desktop">
315
- <div class="columns is-centered has-text-centered">
316
- <div class="column is-four-fifths">
317
- <div class="content has-text-justified">
318
 
319
  <p class="mt-4 mb-0 pb-0">
320
  Refer to the pdf paper linked above for more details on qualitative, quantitative, and ablation studies.
@@ -353,7 +371,7 @@
353
  $("#ws-comparison-slider").twentytwenty({
354
  before_label: 'StereoSpace (ours)',
355
  after_label: 'Ground Truth',
356
- default_offset_pct: 0.5,
357
  });
358
 
359
  $('.results-carousel').css({
 
273
  <h2 class="title is-3">Our Approach</h2>
274
  <div class="content has-text-justified">
275
 
276
+ <h3 class="title has-text-centered mt-4">
277
+ Idea
278
+ </h3>
279
+
280
+ <p>
281
+ Unlike recent methods grouped under "warp-and-inpaint", "latent warping", or "warped conditioning", each relying
282
+ on explicit monocular geometry estimates that are difficult and error-prone, we instead let the foundation
283
+ diffusion model infer 3D structure implicitly and train stereo generation end-to-end.
284
+ The resulting model outperforms all these categories and even surpasses Lyra, a strong generative 3DGS-based competitor.
285
+ Qualitative examples are shown in the slider above.
286
+ </p>
287
+
288
+ <h3 class="title has-text-centered mt-4">
289
+ Contributions
290
+ </h3>
291
+
292
+ <ul>
293
+ <li>
294
+ Single-image conditional generation of counterpart views, free from explicit geometric shortcuts;
295
+ </li>
296
+ <li>
297
+ End-to-end training procedure for efficient transfer of the rich task-agnostic foundation prior to the task at hand;
298
+ </li>
299
+ <li>
300
+ A novel perceptual and geometry-aware evaluation.
301
+ </li>
302
+ </ul>
303
+
304
  <h3 class="title has-text-centered mt-4">
305
  Model Architecture for End-to-End View Synthesis
306
  </h3>
 
332
  into generation in an end-to-end fashion is most effective.
333
  </p>
334
 
335
+ <img id="comparison" src="./images/tables.png" alt="Quantitative Comparison with Other Recent Methods"/>
 
 
 
 
 
 
 
 
 
 
336
 
337
  <p class="mt-4 mb-0 pb-0">
338
  Refer to the pdf paper linked above for more details on qualitative, quantitative, and ablation studies.
 
371
  $("#ws-comparison-slider").twentytwenty({
372
  before_label: 'StereoSpace (ours)',
373
  after_label: 'Ground Truth',
374
+ default_offset_pct: 0.33,
375
  });
376
 
377
  $('.results-carousel').css({
js/comparison-widget.js CHANGED
@@ -105,6 +105,11 @@ $(document).ready(function() {
105
  function wsSetSliderLabels(beforeLabel, afterLabel) {
106
  $('#ws-comparison-slider .twentytwenty-before-label').attr('data-content', beforeLabel);
107
  $('#ws-comparison-slider .twentytwenty-after-label').attr('data-content', afterLabel);
 
 
 
 
 
108
  }
109
 
110
  // Function to update images
 
105
  function wsSetSliderLabels(beforeLabel, afterLabel) {
106
  $('#ws-comparison-slider .twentytwenty-before-label').attr('data-content', beforeLabel);
107
  $('#ws-comparison-slider .twentytwenty-after-label').attr('data-content', afterLabel);
108
+ const $slider = $('#ws-comparison-slider');
109
+ const $api = $slider.data('twentytwenty');
110
+ if ($api) {
111
+ $api.adjustSlider(0.5);
112
+ }
113
  }
114
 
115
  // Function to update images
js/jquery.twentytwenty.js CHANGED
@@ -144,6 +144,14 @@
144
  });
145
  }
146
 
 
 
 
 
 
 
 
 
147
  $(window).trigger("resize.twentytwenty");
148
  });
149
  };
 
144
  });
145
  }
146
 
147
+ container.data('twentytwenty', {
148
+ adjustSlider: adjustSlider,
149
+ updateLabels: function(beforeLabel, afterLabel) {
150
+ overlay.find('.twentytwenty-before-label').attr('data-content', beforeLabel);
151
+ overlay.find('.twentytwenty-after-label').attr('data-content', afterLabel);
152
+ }
153
+ });
154
+
155
  $(window).trigger("resize.twentytwenty");
156
  });
157
  };