(dim, channel_first)
| 88 | |
| 89 | |
| 90 | def layout_str(dim, channel_first): |
| 91 | s = "DHW" if dim == 3 else "HW" |
| 92 | s = "C" + s if channel_first else s + "C" |
| 93 | return s |
| 94 | |
| 95 | |
| 96 | def resize2D_PIL(input, size, roi_start, roi_end, dtype, channel_first, resample): |
no outgoing calls
no test coverage detected