{
  "id": 75016,
  "title": "Image Normalization",
  "url": "/competitions/humpback-whale-identification/discussion/75016",
  "author_name": "",
  "post_date": "2018-12-18T00:54:52.869939900Z",
  "votes": null,
  "comment_count": 1,
  "views": 0,
  "content": "<p>Has anybody dealt with normalizing images while maintaining the same aspect ratio? I am keeping each images aspect ratio, and padding the \"missing\" space. Should I normalize these images before or after padding the image?</p>",
  "messages": [
    {
      "id": "440762",
      "postDate": "12/18/2018 00:54:52",
      "content": "<p>Has anybody dealt with normalizing images while maintaining the same aspect ratio? I am keeping each images aspect ratio, and padding the \"missing\" space. Should I normalize these images before or after padding the image?</p>",
      "rawMarkdown": "Has anybody dealt with normalizing images while maintaining the same aspect ratio? I am keeping each images aspect ratio, and padding the \"missing\" space. Should I normalize these images before or after padding the image?",
      "votes": null
    },
    {
      "id": "440806",
      "postDate": "12/18/2018 01:36:24",
      "content": "<p>I suppose it depends on how you normalize, but in general, I'd think you would want to normalize before you pad the image, so the padded region isn't affected by your normalization function, or vice versa. The padded region should just be zero padded.</p>",
      "rawMarkdown": "I suppose it depends on how you normalize, but in general, I'd think you would want to normalize before you pad the image, so the padded region isn't affected by your normalization function, or vice versa. The padded region should just be zero padded.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 440806,
      "author_name": "badtyprr",
      "author_url": "",
      "post_date": "12/18/2018 01:36:24",
      "content": "<p>I suppose it depends on how you normalize, but in general, I'd think you would want to normalize before you pad the image, so the padded region isn't affected by your normalization function, or vice versa. The padded region should just be zero padded.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "440762": "Has anybody dealt with normalizing images while maintaining the same aspect ratio? I am keeping each images aspect ratio, and padding the \"missing\" space. Should I normalize these images before or after padding the image?",
    "440806": "I suppose it depends on how you normalize, but in general, I'd think you would want to normalize before you pad the image, so the padded region isn't affected by your normalization function, or vice versa. The padded region should just be zero padded."
  },
  "source": "meta"
}