Skip to content

Instantly share code, notes, and snippets.

@zzeleznick
Last active October 8, 2015 14:42
Show Gist options
  • Save zzeleznick/bfb5a0c9c3a53d0bfdd6 to your computer and use it in GitHub Desktop.
Save zzeleznick/bfb5a0c9c3a53d0bfdd6 to your computer and use it in GitHub Desktop.
Log File for Horizontal Seam Removal

Running Seam removal check for a HORIZONTAL_CROP of 100 for 14 files.

id Name 2-D Size 1-D Size
0 binaryText.jpg (483, 604) 291732
1 couch.jpg (500, 375) 187500
2 homework.jpg (800, 600) 480000
3 house.jpg (384, 512) 196608
4 jae.jpg (429, 374) 160446
5 jae2.jpg (390, 390) 152100
6 lilies.jpg (177, 284) 50268
7 magic-bolt.png (300, 400) 120000
8 moon.jpg (580, 573) 332340
9 painting-small.jpg (609, 500) 304500
10 portrait.jpg (333, 500) 166500
11 road.jpg (1200, 1600) 1920000
12 roadTest.jpg (1600, 1200) 1920000
13 water-people.jpg (262, 466) 122092

Removal of 100 horizontal seams would remove

id Name Pixel Removal
0 binaryText.jpg 60400
1 couch.jpg 37500
2 homework.jpg 60000
3 house.jpg 51200
4 jae.jpg 37400
5 jae2.jpg 39000
6 lilies.jpg 28400
7 magic-bolt.png 40000
8 moon.jpg 57300
9 painting-small.jpg 50000
10 portrait.jpg 50000
11 road.jpg 160000
12 roadTest.jpg 120000
13 water-people.jpg 46600

Total Number of Seams to remove: 1400

Total Number of Pixels to remove: 837800

Removal rate of 1 seams per second yields completion time of 1400 seconds.

Removal rate of 4 seams per second yields completion time of 350.0 seconds.

Removal rate of 16 seams per second yields completion time of 87.5 seconds.

Took total time of 1.91710186005 which performed 1400 seam removals at a rate of 730.268969624 seams per second.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment