Skip to content

Could we develop more image operations as TorchVision #312

@mullerhai

Description

@mullerhai

HI,
now we use scrimage as image operate base library in Scala3 Storch deep learning framework. Now I find scrimage have many operations ,but I think we need more operations to build our deep learning vision framework named Storch-vision . so could you develop more image operations similar as python torchvision ? let us view the operations, if scrimage do more ,we could make more perfect things,thanks

https://sksamuel.github.io/scrimage/autocrop/

Autocrop
Brightness
Blur and stretch
Bound
Contrast
Cover
Fill
Fit
Flip
Max
Pad
Overlay
Resize 
Rotate
Scale
Take
Translate
Trim 
Zoom

torchVision
functional.py
def resize()
def pad()
def crop ()
def center_crop()
def resize_crop()
def  hflip()
def _get_perspective_coeffs()
def perspective()
def vflip
def five_crop()
def ten_crop()
def adjust_brightness()
def adjust_contrast()
def adjust_saturation()
def adjust_hue()
def adjust_gamma()
def _get_inverse_Affine_matrix
def rotate()
def affine()
def to_grayscale()
def rgb_to_grayscale()
def erase()
def gaussian_blur()
def invert()
def posterize()
def solarize()
def adjust_sharpness()
def autocontrast()
def equalize()
def elastic_transform()



torchVision 
transforms.py

//  def Compose()=???
//
//  def Resize()=???
//
//  def CenterCrop() =???
//
//  def RandomCrop() = ???
//
//  def RandomResizedCrop() =???
//
//  def FiveCrop() =???
//
//  def TenCrop() =???
//
//  def Lambda()= ???
//
//  def Normalize() =???
//
//  def RandomHorizontalFlip() = ???
//
//  def RandomVerticalFlip() =???
//
//  def RandomRotation() =???
//
//  def Pad() =???
//
//  def ColorJitter() =???
//
//  def Grayscale() =???
//
//  def RandomGrayscale() =???
//
//  def RandomAffine()= ???
//
//  def RandomErasing() =???
//
//  def RandomChoice() =???
//
//  def RandomApply()= ???
//
//  def RandomOrder() =???
//
//  def RandomPerspective() =???
//
//  def GaussianBlur() =???
//
//  def InterpolationMode()=???
//
//  def RandomInvert() =???
//
//  def RandomPosterize() =???
//
//  def RandomSolarize() =???
//
//  def RandomAdjustSharpness() =???
//
//  def RandomAutocontrast() =???
//
//  def RandomEqualize() =???
//
//  def ElasticTransform() =???
//
//  def LinearTransformation() =???

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions