/dports/science/py-dlib/dlib-19.22/examples/ |
H A D | pascal_voc_2012.h | 20 Voc2012class(uint16_t index, const dlib::rgb_pixel& rgb_label, const std::string& classlabel) in Voc2012class() 21 : index(index), rgb_label(rgb_label), classlabel(classlabel) in Voc2012class() 28 const dlib::rgb_pixel rgb_label; member 141 const Voc2012class& find_voc2012_class(const dlib::rgb_pixel& rgb_label) in find_voc2012_class() argument 144 [&rgb_label](const Voc2012class& voc2012class) in find_voc2012_class() 146 return rgb_label == voc2012class.rgb_label; in find_voc2012_class() 154 inline uint16_t rgb_label_to_index_label(const dlib::rgb_pixel& rgb_label) in rgb_label_to_index_label() argument 156 return find_voc2012_class(rgb_label).index; in rgb_label_to_index_label()
|
H A D | dnn_instance_segmentation_ex.cpp | 150 auto rgb_label = random_color; in main() local 155 rgb_label.red *= new_confidence / baseline_confidence; in main() 156 rgb_label.green *= new_confidence / baseline_confidence; in main() 157 rgb_label.blue *= new_confidence / baseline_confidence; in main() 159 rgb_label_image(y, x) = rgb_label; in main() 173 dlib::draw_rectangle(rgb_label_image, instance.rect, voc2012_class.rgb_label, 1); in main()
|
H A D | dnn_instance_segmentation_train_ex.cpp | 57 bool is_instance_pixel(const dlib::rgb_pixel& rgb_label) in is_instance_pixel() argument 59 if (rgb_label == dlib::rgb_pixel(0, 0, 0)) in is_instance_pixel() 61 if (rgb_label == dlib::rgb_pixel(224, 224, 192)) in is_instance_pixel() 83 dlib::rgb_pixel rgb_label; member 324 …at> keep_only_current_instance(const matrix<rgb_pixel>& rgb_label_image, const rgb_pixel rgb_label) in keep_only_current_instance() argument 336 if (index == rgb_label) in keep_only_current_instance() 441 … temp.label_image = keep_only_current_instance(rgb_label_chip, truth_instance.rgb_label); in train_segmentation_network()
|
H A D | dnn_semantic_segmentation_ex.cpp | 58 return find_voc2012_class(index_label).rgb_label; in index_label_to_rgb_label()
|
/dports/science/dlib-cpp/dlib-19.22/examples/ |
H A D | pascal_voc_2012.h | 20 Voc2012class(uint16_t index, const dlib::rgb_pixel& rgb_label, const std::string& classlabel) in Voc2012class() 21 : index(index), rgb_label(rgb_label), classlabel(classlabel) in Voc2012class() 28 const dlib::rgb_pixel rgb_label; member 141 const Voc2012class& find_voc2012_class(const dlib::rgb_pixel& rgb_label) in find_voc2012_class() argument 144 [&rgb_label](const Voc2012class& voc2012class) in find_voc2012_class() 146 return rgb_label == voc2012class.rgb_label; in find_voc2012_class() 154 inline uint16_t rgb_label_to_index_label(const dlib::rgb_pixel& rgb_label) in rgb_label_to_index_label() argument 156 return find_voc2012_class(rgb_label).index; in rgb_label_to_index_label()
|
H A D | dnn_instance_segmentation_ex.cpp | 150 auto rgb_label = random_color; in main() local 155 rgb_label.red *= new_confidence / baseline_confidence; in main() 156 rgb_label.green *= new_confidence / baseline_confidence; in main() 157 rgb_label.blue *= new_confidence / baseline_confidence; in main() 159 rgb_label_image(y, x) = rgb_label; in main() 173 dlib::draw_rectangle(rgb_label_image, instance.rect, voc2012_class.rgb_label, 1); in main()
|
H A D | dnn_instance_segmentation_train_ex.cpp | 57 bool is_instance_pixel(const dlib::rgb_pixel& rgb_label) in is_instance_pixel() argument 59 if (rgb_label == dlib::rgb_pixel(0, 0, 0)) in is_instance_pixel() 61 if (rgb_label == dlib::rgb_pixel(224, 224, 192)) in is_instance_pixel() 83 dlib::rgb_pixel rgb_label; member 324 …at> keep_only_current_instance(const matrix<rgb_pixel>& rgb_label_image, const rgb_pixel rgb_label) in keep_only_current_instance() argument 336 if (index == rgb_label) in keep_only_current_instance() 441 … temp.label_image = keep_only_current_instance(rgb_label_chip, truth_instance.rgb_label); in train_segmentation_network()
|
H A D | dnn_semantic_segmentation_ex.cpp | 58 return find_voc2012_class(index_label).rgb_label; in index_label_to_rgb_label()
|
/dports/devel/gnome-builder/gnome-builder-41.3/src/gstyle/ |
H A D | gstyle-color-panel-private.h | 108 GtkLabel *rgb_label; member
|
H A D | gstyle-color-panel.c | 1237 gtk_widget_set_visible (GTK_WIDGET (self->rgb_label), rgb_visible); in gstyle_color_panel_set_strings_visible() 1424 gtk_widget_class_bind_template_child (widget_class, GstyleColorPanel, rgb_label); in gstyle_color_panel_class_init()
|
/dports/x11-toolkits/gtk40/gtk-4.4.1/demos/gtk-demo/ |
H A D | listview_colors.c | 582 GtkWidget *box, *picture, *name_label, *rgb_label, *hsv_label; in setup_listitem_cb() local 611 rgb_label = gtk_label_new (NULL); in setup_listitem_cb() 612 gtk_label_set_use_markup (GTK_LABEL (rgb_label), TRUE); in setup_listitem_cb() 613 gtk_expression_bind (expression, rgb_label, "label", NULL); in setup_listitem_cb() 614 gtk_box_append (GTK_BOX (box), rgb_label); in setup_listitem_cb()
|
/dports/graphics/xsane/xsane-d01b4089ce6778e76fa86a0410d4e80cf6eb819e/src/ |
H A D | xsane-preview.h | 198 GtkWidget *rgb_label; /* label to show RGB values */ member
|
H A D | xsane-preview.c | 2977 gtk_label_set_text(GTK_LABEL(p->rgb_label), buffer); in preview_display_color_components() 4594 p->rgb_label = gtk_label_new(0); in preview_new() 4595 gtk_container_add(GTK_CONTAINER(frame), p->rgb_label); in preview_new() 4596 gtk_widget_show(p->rgb_label); in preview_new()
|