Class ImageDimension

java.lang.Object
boofcv.struct.image.ImageDimension

public class ImageDimension extends Object
Specifies the width and height of an image
  • Field Details

    • width

      public int width
    • height

      public int height
  • Constructor Details

    • ImageDimension

      public ImageDimension(int width, int height)
    • ImageDimension

      public ImageDimension()
  • Method Details

    • setTo

      public void setTo(ImageDimension src)
    • setTo

      public void setTo(int width, int height)
    • isIdentical

      public boolean isIdentical(ImageDimension a)
    • isIdentical

      public boolean isIdentical(int width, int height)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getMaxLength

      public int getMaxLength()
      Returns the value of largest side. I.e. max(width,height)