File size: 1,728 Bytes
8166792 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
---
description: Explore and learn about functions in Ultralytics MaskData library such as mask_to_rle_pytorch, area_from_rle, generate_crop_boxes, and more.
keywords: Ultralytics, SAM, MaskData, mask_to_rle_pytorch, area_from_rle, generate_crop_boxes, batched_mask_to_box, documentation
---
## MaskData
---
### ::: ultralytics.vit.sam.amg.MaskData
<br><br>
## is_box_near_crop_edge
---
### ::: ultralytics.vit.sam.amg.is_box_near_crop_edge
<br><br>
## box_xyxy_to_xywh
---
### ::: ultralytics.vit.sam.amg.box_xyxy_to_xywh
<br><br>
## batch_iterator
---
### ::: ultralytics.vit.sam.amg.batch_iterator
<br><br>
## mask_to_rle_pytorch
---
### ::: ultralytics.vit.sam.amg.mask_to_rle_pytorch
<br><br>
## rle_to_mask
---
### ::: ultralytics.vit.sam.amg.rle_to_mask
<br><br>
## area_from_rle
---
### ::: ultralytics.vit.sam.amg.area_from_rle
<br><br>
## calculate_stability_score
---
### ::: ultralytics.vit.sam.amg.calculate_stability_score
<br><br>
## build_point_grid
---
### ::: ultralytics.vit.sam.amg.build_point_grid
<br><br>
## build_all_layer_point_grids
---
### ::: ultralytics.vit.sam.amg.build_all_layer_point_grids
<br><br>
## generate_crop_boxes
---
### ::: ultralytics.vit.sam.amg.generate_crop_boxes
<br><br>
## uncrop_boxes_xyxy
---
### ::: ultralytics.vit.sam.amg.uncrop_boxes_xyxy
<br><br>
## uncrop_points
---
### ::: ultralytics.vit.sam.amg.uncrop_points
<br><br>
## uncrop_masks
---
### ::: ultralytics.vit.sam.amg.uncrop_masks
<br><br>
## remove_small_regions
---
### ::: ultralytics.vit.sam.amg.remove_small_regions
<br><br>
## coco_encode_rle
---
### ::: ultralytics.vit.sam.amg.coco_encode_rle
<br><br>
## batched_mask_to_box
---
### ::: ultralytics.vit.sam.amg.batched_mask_to_box
<br><br> |