File tree 2 files changed +20
-0
lines changed
src/Aardvark.Base.Tensors.CSharp/PixImage
2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -372,6 +372,14 @@ public PixImage(Col.Format format)
372
372
373
373
public V2l SizeL => VolumeInfo . Size . XY ;
374
374
375
+ public int Width => Size . X ;
376
+
377
+ public long WidthL => SizeL . X ;
378
+
379
+ public int Height => Size . Y ;
380
+
381
+ public long HeightL => SizeL . Y ;
382
+
375
383
public int ChannelCount => ( int ) VolumeInfo . Size . Z ;
376
384
377
385
public long ChannelCountL => VolumeInfo . Size . Z ;
Original file line number Diff line number Diff line change @@ -44,6 +44,18 @@ public PixVolume(Col.Format format)
44
44
45
45
public V3l SizeL => Tensor4Info . Size . XYZ ;
46
46
47
+ public int Width => Size . X ;
48
+
49
+ public long WidthL => SizeL . X ;
50
+
51
+ public int Height => Size . Y ;
52
+
53
+ public long HeightL => SizeL . Y ;
54
+
55
+ public int Depth => Size . Z ;
56
+
57
+ public long DepthL => SizeL . Z ;
58
+
47
59
public int ChannelCount => ( int ) Tensor4Info . Size . W ;
48
60
49
61
public long ChannelCountL => Tensor4Info . Size . W ;
You can’t perform that action at this time.
0 commit comments