BRIA RMBG vs BiRefNet General

37 examples, 37 with ground truth. Lower is better. Use the view controls on each row to switch between transparency, chroma key, and alpha matte on all outputs.

MetricBRIA RMBGBiRefNet General
MGE (Edge Quality)0.061240.06476
MAE (Overall Accuracy)0.046690.05694
Connectivity0.045950.05636
Original photo: autumn bouquet vase
Ground Truth alpha matte: autumn bouquet vase
Alpha matte
BRIA RMBG alpha matte: autumn bouquet vase
Alpha matte
BiRefNet General alpha matte: autumn bouquet vase
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.05965
MAE
0.01411
Conn.
0.01214
BiRefNet General
MGE
0.05164
MAE
0.01051
Conn.
0.00860
Original photo: balcony flower planter bokeh
Ground Truth alpha matte: balcony flower planter bokeh
Alpha matte
BRIA RMBG alpha matte: balcony flower planter bokeh
Alpha matte
BiRefNet General alpha matte: balcony flower planter bokeh
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.05241
MAE
0.02103
Conn.
0.02029
BiRefNet General
MGE
0.06089
MAE
0.03207
Conn.
0.03135
Original photo: balcony plant bokeh
Ground Truth alpha matte: balcony plant bokeh
Alpha matte
BRIA RMBG alpha matte: balcony plant bokeh
Alpha matte
BiRefNet General alpha matte: balcony plant bokeh
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.05665
MAE
0.01132
Conn.
0.01094
BiRefNet General
MGE
0.06130
MAE
0.01128
Conn.
0.01096
Original photo: bearded man portrait
Ground Truth alpha matte: bearded man portrait
Alpha matte
BRIA RMBG alpha matte: bearded man portrait
Alpha matte
BiRefNet General alpha matte: bearded man portrait
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.01510
MAE
0.00660
Conn.
0.00469
BiRefNet General
MGE
0.01673
MAE
0.00895
Conn.
0.00713
Original photo: bike handlebar near beach
Ground Truth alpha matte: bike handlebar near beach
Alpha matte
BRIA RMBG alpha matte: bike handlebar near beach
Alpha matte
BiRefNet General alpha matte: bike handlebar near beach
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.03261
MAE
0.00697
Conn.
0.00660
BiRefNet General
MGE
0.02841
MAE
0.00747
Conn.
0.00708
Original photo: blowing dandelion seeds
Ground Truth alpha matte: blowing dandelion seeds
Alpha matte
BRIA RMBG alpha matte: blowing dandelion seeds
Alpha matte
BiRefNet General alpha matte: blowing dandelion seeds
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.05037
MAE
0.01459
Conn.
0.01285
BiRefNet General
MGE
0.04911
MAE
0.01525
Conn.
0.01362
Original photo: campfire flames night
Ground Truth alpha matte: campfire flames night
Alpha matte
BRIA RMBG alpha matte: campfire flames night
Alpha matte
BiRefNet General alpha matte: campfire flames night
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.03855
MAE
0.01098
Conn.
0.01085
BiRefNet General
MGE
0.03878
MAE
0.01145
Conn.
0.01170
Original photo: cargo ebike park tracks
Ground Truth alpha matte: cargo ebike park tracks
Alpha matte
BRIA RMBG alpha matte: cargo ebike park tracks
Alpha matte
BiRefNet General alpha matte: cargo ebike park tracks
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.08535
MAE
0.01467
Conn.
0.01374
BiRefNet General
MGE
0.08066
MAE
0.01395
Conn.
0.01311
Original photo: compound leaf raindrops
Ground Truth alpha matte: compound leaf raindrops
Alpha matte
BRIA RMBG alpha matte: compound leaf raindrops
Alpha matte
BiRefNet General alpha matte: compound leaf raindrops
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.02484
MAE
0.00507
Conn.
0.00359
BiRefNet General
MGE
0.02619
MAE
0.00475
Conn.
0.00359
Original photo: confetti sunset portrait
Ground Truth alpha matte: confetti sunset portrait
Alpha matte
BRIA RMBG alpha matte: confetti sunset portrait
Alpha matte
BiRefNet General alpha matte: confetti sunset portrait
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.03527
MAE
0.01145
Conn.
0.01039
BiRefNet General
MGE
0.03370
MAE
0.01148
Conn.
0.01015
Original photo: cyclist motion blur field
Ground Truth alpha matte: cyclist motion blur field
Alpha matte
BRIA RMBG alpha matte: cyclist motion blur field
Alpha matte
BiRefNet General alpha matte: cyclist motion blur field
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.05925
MAE
0.01248
Conn.
0.01189
BiRefNet General
MGE
0.07350
MAE
0.01472
Conn.
0.01452
Original photo: dried flowers clay vase
Ground Truth alpha matte: dried flowers clay vase
Alpha matte
BRIA RMBG alpha matte: dried flowers clay vase
Alpha matte
BiRefNet General alpha matte: dried flowers clay vase
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.04499
MAE
0.00897
Conn.
0.00783
BiRefNet General
MGE
0.04902
MAE
0.00965
Conn.
0.00845
Original photo: elderly man running blur
Ground Truth alpha matte: elderly man running blur
Alpha matte
BRIA RMBG alpha matte: elderly man running blur
Alpha matte
BiRefNet General alpha matte: elderly man running blur
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.01596
MAE
0.00448
Conn.
0.00366
BiRefNet General
MGE
0.01263
MAE
0.00370
Conn.
0.00266
Original photo: grass seed stem bokeh
Ground Truth alpha matte: grass seed stem bokeh
Alpha matte
BRIA RMBG alpha matte: grass seed stem bokeh
Alpha matte
BiRefNet General alpha matte: grass seed stem bokeh
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.04262
MAE
0.00947
Conn.
0.00933
BiRefNet General
MGE
0.04433
MAE
0.00942
Conn.
0.00934
Original photo: hanging plant window
Ground Truth alpha matte: hanging plant window
Alpha matte
BRIA RMBG alpha matte: hanging plant window
Alpha matte
BiRefNet General alpha matte: hanging plant window
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.08021
MAE
0.01758
Conn.
0.01680
BiRefNet General
MGE
0.07464
MAE
0.01590
Conn.
0.01520
Original photo: messy bun cityscape
Ground Truth alpha matte: messy bun cityscape
Alpha matte
BRIA RMBG alpha matte: messy bun cityscape
Alpha matte
BiRefNet General alpha matte: messy bun cityscape
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.01995
MAE
0.00915
Conn.
0.00867
BiRefNet General
MGE
0.01940
MAE
0.00869
Conn.
0.00767
Original photo: messy hair bearded portrait
Ground Truth alpha matte: messy hair bearded portrait
Alpha matte
BRIA RMBG alpha matte: messy hair bearded portrait
Alpha matte
BiRefNet General alpha matte: messy hair bearded portrait
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.01569
MAE
0.00931
Conn.
0.00761
BiRefNet General
MGE
0.01867
MAE
0.01305
Conn.
0.01152
Original photo: orange berries branch
Ground Truth alpha matte: orange berries branch
Alpha matte
BRIA RMBG alpha matte: orange berries branch
Alpha matte
BiRefNet General alpha matte: orange berries branch
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.05683
MAE
0.01115
Conn.
0.00906
BiRefNet General
MGE
0.08035
MAE
0.02283
Conn.
0.02099
Original photo: red flower balcony bokeh
Ground Truth alpha matte: red flower balcony bokeh
Alpha matte
BRIA RMBG alpha matte: red flower balcony bokeh
Alpha matte
BiRefNet General alpha matte: red flower balcony bokeh
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.03150
MAE
0.00535
Conn.
0.00470
BiRefNet General
MGE
0.02727
MAE
0.00459
Conn.
0.00401
Original photo: rocky coast bush foreground
Ground Truth alpha matte: rocky coast bush foreground
Alpha matte
BRIA RMBG alpha matte: rocky coast bush foreground
Alpha matte
BiRefNet General alpha matte: rocky coast bush foreground
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.31724
MAE
0.28385
Conn.
0.28757
BiRefNet General
MGE
0.34795
MAE
0.46062
Conn.
0.47012
Original photo: small fishing boat bw
Ground Truth alpha matte: small fishing boat bw
Alpha matte
BRIA RMBG alpha matte: small fishing boat bw
Alpha matte
BiRefNet General alpha matte: small fishing boat bw
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.02866
MAE
0.00615
Conn.
0.00474
BiRefNet General
MGE
0.03023
MAE
0.00675
Conn.
0.00548
Original photo: smiling man seaside sunset
Ground Truth alpha matte: smiling man seaside sunset
Alpha matte
BRIA RMBG alpha matte: smiling man seaside sunset
Alpha matte
BiRefNet General alpha matte: smiling man seaside sunset
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.00923
MAE
0.00274
Conn.
0.00143
BiRefNet General
MGE
0.01159
MAE
0.00830
Conn.
0.00688
Original photo: smiling woman seaside
Ground Truth alpha matte: smiling woman seaside
Alpha matte
BRIA RMBG alpha matte: smiling woman seaside
Alpha matte
BiRefNet General alpha matte: smiling woman seaside
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.01942
MAE
0.00753
Conn.
0.00536
BiRefNet General
MGE
0.01939
MAE
0.00754
Conn.
0.00501
Original photo: spoked bike wheel
Ground Truth alpha matte: spoked bike wheel
Alpha matte
BRIA RMBG alpha matte: spoked bike wheel
Alpha matte
BiRefNet General alpha matte: spoked bike wheel
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.05859
MAE
0.00997
Conn.
0.00911
BiRefNet General
MGE
0.05645
MAE
0.00930
Conn.
0.00850
Original photo: sprinter motion blur
Ground Truth alpha matte: sprinter motion blur
Alpha matte
BRIA RMBG alpha matte: sprinter motion blur
Alpha matte
BiRefNet General alpha matte: sprinter motion blur
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.03481
MAE
0.02009
Conn.
0.01960
BiRefNet General
MGE
0.03070
MAE
0.01848
Conn.
0.01790
Original photo: street dancer studio pose
Ground Truth alpha matte: street dancer studio pose
Alpha matte
BRIA RMBG alpha matte: street dancer studio pose
Alpha matte
BiRefNet General alpha matte: street dancer studio pose
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.01605
MAE
0.00343
Conn.
0.00229
BiRefNet General
MGE
0.01599
MAE
0.00337
Conn.
0.00219
Original photo: street portrait man
Ground Truth alpha matte: street portrait man
Alpha matte
BRIA RMBG alpha matte: street portrait man
Alpha matte
BiRefNet General alpha matte: street portrait man
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.01019
MAE
0.00325
Conn.
0.00190
BiRefNet General
MGE
0.01045
MAE
0.00402
Conn.
0.00262
Original photo: sunset field portrait
Ground Truth alpha matte: sunset field portrait
Alpha matte
BRIA RMBG alpha matte: sunset field portrait
Alpha matte
BiRefNet General alpha matte: sunset field portrait
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.02151
MAE
0.00860
Conn.
0.00740
BiRefNet General
MGE
0.02125
MAE
0.00843
Conn.
0.00666
Original photo: tabby cat portrait
Ground Truth alpha matte: tabby cat portrait
Alpha matte
BRIA RMBG alpha matte: tabby cat portrait
Alpha matte
BiRefNet General alpha matte: tabby cat portrait
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.03805
MAE
0.01183
Conn.
0.01043
BiRefNet General
MGE
0.05709
MAE
0.02184
Conn.
0.02052
Original photo: terrier dog mugshot
Ground Truth alpha matte: terrier dog mugshot
Alpha matte
BRIA RMBG alpha matte: terrier dog mugshot
Alpha matte
BiRefNet General alpha matte: terrier dog mugshot
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.05077
MAE
0.03474
Conn.
0.03567
BiRefNet General
MGE
0.08856
MAE
0.06629
Conn.
0.06887
Original photo: trigonometry notes whiteboard
Ground Truth alpha matte: trigonometry notes whiteboard
Alpha matte
BRIA RMBG alpha matte: trigonometry notes whiteboard
Alpha matte
BiRefNet General alpha matte: trigonometry notes whiteboard
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.40325
MAE
0.91719
Conn.
0.92302
BiRefNet General
MGE
0.45101
MAE
0.90677
Conn.
0.91173
Original photo: two bikes field
Ground Truth alpha matte: two bikes field
Alpha matte
BRIA RMBG alpha matte: two bikes field
Alpha matte
BiRefNet General alpha matte: two bikes field
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.14172
MAE
0.10020
Conn.
0.09928
BiRefNet General
MGE
0.12912
MAE
0.08314
Conn.
0.08233
Original photo: two gravel bikes park
Ground Truth alpha matte: two gravel bikes park
Alpha matte
BRIA RMBG alpha matte: two gravel bikes park
Alpha matte
BiRefNet General alpha matte: two gravel bikes park
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.13010
MAE
0.02335
Conn.
0.02242
BiRefNet General
MGE
0.12194
MAE
0.02224
Conn.
0.02147
Original photo: white chess pieces tournament
Ground Truth alpha matte: white chess pieces tournament
Alpha matte
BRIA RMBG alpha matte: white chess pieces tournament
Alpha matte
BiRefNet General alpha matte: white chess pieces tournament
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.06450
MAE
0.05163
Conn.
0.05022
BiRefNet General
MGE
0.06271
MAE
0.21489
Conn.
0.21447
Original photo: windblown curly hair backpack
Ground Truth alpha matte: windblown curly hair backpack
Alpha matte
BRIA RMBG alpha matte: windblown curly hair backpack
Alpha matte
BiRefNet General alpha matte: windblown curly hair backpack
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.03602
MAE
0.01193
Conn.
0.01118
BiRefNet General
MGE
0.03058
MAE
0.00983
Conn.
0.00802
Original photo: windblown curly portrait
Ground Truth alpha matte: windblown curly portrait
Alpha matte
BRIA RMBG alpha matte: windblown curly portrait
Alpha matte
BiRefNet General alpha matte: windblown curly portrait
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.05163
MAE
0.01897
Conn.
0.01740
BiRefNet General
MGE
0.04706
MAE
0.01840
Conn.
0.01632
Original photo: woman street portrait glasses
Ground Truth alpha matte: woman street portrait glasses
Alpha matte
BRIA RMBG alpha matte: woman street portrait glasses
Alpha matte
BiRefNet General alpha matte: woman street portrait glasses
Alpha matte
Original
Ground Truth
BRIA RMBG
MGE
0.01632
MAE
0.00735
Conn.
0.00545
BiRefNet General
MGE
0.01689
MAE
0.00690
Conn.
0.00444

Methodology

  • Alpha mattes are grayscale masks encoding per-pixel foreground probability. They capture fine edge detail (hair, fur, semi-transparent regions) that binary masks discard.
  • Metrics are computed by comparing predicted mattes against a ground-truth reference: MGE measures edge sharpness, MAE measures pixel-level accuracy, and Connectivity penalises fragmented foreground regions. All three are lower-is-better.
  • Scores are shown as ? when no ground-truth matte is available for that image. See the alpha matting evaluation benchmark for details on the evaluation methodology.