Created
June 12, 2022 10:13
-
-
Save jason9075/cf38f069a5f37395597600175c499ff0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.jason9075.myopencv; | |
public class ImageInfo { | |
private final int width; | |
private final int height; | |
public ImageInfo(int width, int height) { | |
this.width = width; | |
this.height = height; | |
} | |
public int getWidth() { | |
return width; | |
} | |
public int getHeight() { | |
return height; | |
} | |
@Override | |
public String toString() { | |
return "ImageInfo{" + | |
"width=" + width + | |
", height=" + height + | |
'}'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment