Skip to content

Clean Code for Blurring and Upscaling Process  #17

@takeny1998

Description

@takeny1998

I'd like to discuss about changing name of functions and variables related to the upscaling process.

  1. expand_image method in Painting class.
  • I think expand_image is a good to describe the behavior,
  • but the upscale_image looks better to express Upscaling Process.

  1. target_size parameter in expand_image method.
  • it can be mislead users think that they are changing image size as fixed size.
  • since we're scaling the image, upscaling_ratio seems right. and its type should be float.

  1. blurring method in Painting Class.
  • A function's name should clearly descible its behavior and its target.
  • I think blurring should include the target, so **blur_image is more correct.**

what do you think about those? I'd like to hear.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions