

.. _examples_gallery:

General examples
-------------------

General-purpose and introductory examples for the scikit.




.. toctree::
   :hidden:

   



Manipulating exposure and color channels
----------------------------------------



.. toctree::
   :hidden:

   color_exposure/plot_adapt_rgb
   color_exposure/plot_equalize
   color_exposure/plot_ihc_color_separation
   color_exposure/plot_local_equalize
   color_exposure/plot_log_gamma
   color_exposure/plot_regional_maxima
   color_exposure/plot_tinting_grayscale_images


.. figure:: color_exposure/images/thumb/plot_adapt_rgb.png
   :figclass: gallery
   :target: ./color_exposure/plot_adapt_rgb.html

   :ref:`example_color_exposure_plot_adapt_rgb.py`


.. figure:: color_exposure/images/thumb/plot_equalize.png
   :figclass: gallery
   :target: ./color_exposure/plot_equalize.html

   :ref:`example_color_exposure_plot_equalize.py`


.. figure:: color_exposure/images/thumb/plot_ihc_color_separation.png
   :figclass: gallery
   :target: ./color_exposure/plot_ihc_color_separation.html

   :ref:`example_color_exposure_plot_ihc_color_separation.py`


.. figure:: color_exposure/images/thumb/plot_local_equalize.png
   :figclass: gallery
   :target: ./color_exposure/plot_local_equalize.html

   :ref:`example_color_exposure_plot_local_equalize.py`


.. figure:: color_exposure/images/thumb/plot_log_gamma.png
   :figclass: gallery
   :target: ./color_exposure/plot_log_gamma.html

   :ref:`example_color_exposure_plot_log_gamma.py`


.. figure:: color_exposure/images/thumb/plot_regional_maxima.png
   :figclass: gallery
   :target: ./color_exposure/plot_regional_maxima.html

   :ref:`example_color_exposure_plot_regional_maxima.py`


.. figure:: color_exposure/images/thumb/plot_tinting_grayscale_images.png
   :figclass: gallery
   :target: ./color_exposure/plot_tinting_grayscale_images.html

   :ref:`example_color_exposure_plot_tinting_grayscale_images.py`



Edges and lines
---------------



.. toctree::
   :hidden:

   edges/plot_active_contours
   edges/plot_canny
   edges/plot_circular_elliptical_hough_transform
   edges/plot_contours
   edges/plot_convex_hull
   edges/plot_edge_filter
   edges/plot_line_hough_transform
   edges/plot_marching_cubes
   edges/plot_medial_transform
   edges/plot_polygon
   edges/plot_shapes
   edges/plot_skeleton


.. figure:: edges/images/thumb/plot_active_contours.png
   :figclass: gallery
   :target: ./edges/plot_active_contours.html

   :ref:`example_edges_plot_active_contours.py`


.. figure:: edges/images/thumb/plot_canny.png
   :figclass: gallery
   :target: ./edges/plot_canny.html

   :ref:`example_edges_plot_canny.py`


.. figure:: edges/images/thumb/plot_circular_elliptical_hough_transform.png
   :figclass: gallery
   :target: ./edges/plot_circular_elliptical_hough_transform.html

   :ref:`example_edges_plot_circular_elliptical_hough_transform.py`


.. figure:: edges/images/thumb/plot_contours.png
   :figclass: gallery
   :target: ./edges/plot_contours.html

   :ref:`example_edges_plot_contours.py`


.. figure:: edges/images/thumb/plot_convex_hull.png
   :figclass: gallery
   :target: ./edges/plot_convex_hull.html

   :ref:`example_edges_plot_convex_hull.py`


.. figure:: edges/images/thumb/plot_edge_filter.png
   :figclass: gallery
   :target: ./edges/plot_edge_filter.html

   :ref:`example_edges_plot_edge_filter.py`


.. figure:: edges/images/thumb/plot_line_hough_transform.png
   :figclass: gallery
   :target: ./edges/plot_line_hough_transform.html

   :ref:`example_edges_plot_line_hough_transform.py`


.. figure:: edges/images/thumb/plot_marching_cubes.png
   :figclass: gallery
   :target: ./edges/plot_marching_cubes.html

   :ref:`example_edges_plot_marching_cubes.py`


.. figure:: edges/images/thumb/plot_medial_transform.png
   :figclass: gallery
   :target: ./edges/plot_medial_transform.html

   :ref:`example_edges_plot_medial_transform.py`


.. figure:: edges/images/thumb/plot_polygon.png
   :figclass: gallery
   :target: ./edges/plot_polygon.html

   :ref:`example_edges_plot_polygon.py`


.. figure:: edges/images/thumb/plot_shapes.png
   :figclass: gallery
   :target: ./edges/plot_shapes.html

   :ref:`example_edges_plot_shapes.py`


.. figure:: edges/images/thumb/plot_skeleton.png
   :figclass: gallery
   :target: ./edges/plot_skeleton.html

   :ref:`example_edges_plot_skeleton.py`



Detection of features and objects
---------------------------------



.. toctree::
   :hidden:

   features_detection/plot_blob
   features_detection/plot_brief
   features_detection/plot_censure
   features_detection/plot_corner
   features_detection/plot_daisy
   features_detection/plot_gabor
   features_detection/plot_gabors_from_astronaut
   features_detection/plot_glcm
   features_detection/plot_hog
   features_detection/plot_holes_and_peaks
   features_detection/plot_local_binary_pattern
   features_detection/plot_multiblock_local_binary_pattern
   features_detection/plot_orb
   features_detection/plot_template
   features_detection/plot_windowed_histogram


.. figure:: features_detection/images/thumb/plot_blob.png
   :figclass: gallery
   :target: ./features_detection/plot_blob.html

   :ref:`example_features_detection_plot_blob.py`


.. figure:: features_detection/images/thumb/plot_brief.png
   :figclass: gallery
   :target: ./features_detection/plot_brief.html

   :ref:`example_features_detection_plot_brief.py`


.. figure:: features_detection/images/thumb/plot_censure.png
   :figclass: gallery
   :target: ./features_detection/plot_censure.html

   :ref:`example_features_detection_plot_censure.py`


.. figure:: features_detection/images/thumb/plot_corner.png
   :figclass: gallery
   :target: ./features_detection/plot_corner.html

   :ref:`example_features_detection_plot_corner.py`


.. figure:: features_detection/images/thumb/plot_daisy.png
   :figclass: gallery
   :target: ./features_detection/plot_daisy.html

   :ref:`example_features_detection_plot_daisy.py`


.. figure:: features_detection/images/thumb/plot_gabor.png
   :figclass: gallery
   :target: ./features_detection/plot_gabor.html

   :ref:`example_features_detection_plot_gabor.py`


.. figure:: features_detection/images/thumb/plot_gabors_from_astronaut.png
   :figclass: gallery
   :target: ./features_detection/plot_gabors_from_astronaut.html

   :ref:`example_features_detection_plot_gabors_from_astronaut.py`


.. figure:: features_detection/images/thumb/plot_glcm.png
   :figclass: gallery
   :target: ./features_detection/plot_glcm.html

   :ref:`example_features_detection_plot_glcm.py`


.. figure:: features_detection/images/thumb/plot_hog.png
   :figclass: gallery
   :target: ./features_detection/plot_hog.html

   :ref:`example_features_detection_plot_hog.py`


.. figure:: features_detection/images/thumb/plot_holes_and_peaks.png
   :figclass: gallery
   :target: ./features_detection/plot_holes_and_peaks.html

   :ref:`example_features_detection_plot_holes_and_peaks.py`


.. figure:: features_detection/images/thumb/plot_local_binary_pattern.png
   :figclass: gallery
   :target: ./features_detection/plot_local_binary_pattern.html

   :ref:`example_features_detection_plot_local_binary_pattern.py`


.. figure:: features_detection/images/thumb/plot_multiblock_local_binary_pattern.png
   :figclass: gallery
   :target: ./features_detection/plot_multiblock_local_binary_pattern.html

   :ref:`example_features_detection_plot_multiblock_local_binary_pattern.py`


.. figure:: features_detection/images/thumb/plot_orb.png
   :figclass: gallery
   :target: ./features_detection/plot_orb.html

   :ref:`example_features_detection_plot_orb.py`


.. figure:: features_detection/images/thumb/plot_template.png
   :figclass: gallery
   :target: ./features_detection/plot_template.html

   :ref:`example_features_detection_plot_template.py`


.. figure:: features_detection/images/thumb/plot_windowed_histogram.png
   :figclass: gallery
   :target: ./features_detection/plot_windowed_histogram.html

   :ref:`example_features_detection_plot_windowed_histogram.py`



Filtering and restoration
-------------------------



.. toctree::
   :hidden:

   filters/plot_denoise
   filters/plot_entropy
   filters/plot_inpaint
   filters/plot_nonlocal_means
   filters/plot_phase_unwrap
   filters/plot_rank_mean
   filters/plot_restoration


.. figure:: filters/images/thumb/plot_denoise.png
   :figclass: gallery
   :target: ./filters/plot_denoise.html

   :ref:`example_filters_plot_denoise.py`


.. figure:: filters/images/thumb/plot_entropy.png
   :figclass: gallery
   :target: ./filters/plot_entropy.html

   :ref:`example_filters_plot_entropy.py`


.. figure:: filters/images/thumb/plot_inpaint.png
   :figclass: gallery
   :target: ./filters/plot_inpaint.html

   :ref:`example_filters_plot_inpaint.py`


.. figure:: filters/images/thumb/plot_nonlocal_means.png
   :figclass: gallery
   :target: ./filters/plot_nonlocal_means.html

   :ref:`example_filters_plot_nonlocal_means.py`


.. figure:: filters/images/thumb/plot_phase_unwrap.png
   :figclass: gallery
   :target: ./filters/plot_phase_unwrap.html

   :ref:`example_filters_plot_phase_unwrap.py`


.. figure:: filters/images/thumb/plot_rank_mean.png
   :figclass: gallery
   :target: ./filters/plot_rank_mean.html

   :ref:`example_filters_plot_rank_mean.py`


.. figure:: filters/images/thumb/plot_restoration.png
   :figclass: gallery
   :target: ./filters/plot_restoration.html

   :ref:`example_filters_plot_restoration.py`



Operations on NumPy arrays
--------------------------



.. toctree::
   :hidden:

   numpy_operations/plot_camera_numpy
   numpy_operations/plot_view_as_blocks


.. figure:: numpy_operations/images/thumb/plot_camera_numpy.png
   :figclass: gallery
   :target: ./numpy_operations/plot_camera_numpy.html

   :ref:`example_numpy_operations_plot_camera_numpy.py`


.. figure:: numpy_operations/images/thumb/plot_view_as_blocks.png
   :figclass: gallery
   :target: ./numpy_operations/plot_view_as_blocks.html

   :ref:`example_numpy_operations_plot_view_as_blocks.py`



Segmentation of objects
-----------------------



.. toctree::
   :hidden:

   segmentation/plot_join_segmentations
   segmentation/plot_label
   segmentation/plot_local_otsu
   segmentation/plot_marked_watershed
   segmentation/plot_ncut
   segmentation/plot_otsu
   segmentation/plot_peak_local_max
   segmentation/plot_rag
   segmentation/plot_rag_boundary
   segmentation/plot_rag_draw
   segmentation/plot_rag_mean_color
   segmentation/plot_rag_merge
   segmentation/plot_random_walker_segmentation
   segmentation/plot_regionprops
   segmentation/plot_segmentations
   segmentation/plot_threshold_adaptive
   segmentation/plot_watershed


.. figure:: segmentation/images/thumb/plot_join_segmentations.png
   :figclass: gallery
   :target: ./segmentation/plot_join_segmentations.html

   :ref:`example_segmentation_plot_join_segmentations.py`


.. figure:: segmentation/images/thumb/plot_label.png
   :figclass: gallery
   :target: ./segmentation/plot_label.html

   :ref:`example_segmentation_plot_label.py`


.. figure:: segmentation/images/thumb/plot_local_otsu.png
   :figclass: gallery
   :target: ./segmentation/plot_local_otsu.html

   :ref:`example_segmentation_plot_local_otsu.py`


.. figure:: segmentation/images/thumb/plot_marked_watershed.png
   :figclass: gallery
   :target: ./segmentation/plot_marked_watershed.html

   :ref:`example_segmentation_plot_marked_watershed.py`


.. figure:: segmentation/images/thumb/plot_ncut.png
   :figclass: gallery
   :target: ./segmentation/plot_ncut.html

   :ref:`example_segmentation_plot_ncut.py`


.. figure:: segmentation/images/thumb/plot_otsu.png
   :figclass: gallery
   :target: ./segmentation/plot_otsu.html

   :ref:`example_segmentation_plot_otsu.py`


.. figure:: segmentation/images/thumb/plot_peak_local_max.png
   :figclass: gallery
   :target: ./segmentation/plot_peak_local_max.html

   :ref:`example_segmentation_plot_peak_local_max.py`


.. figure:: segmentation/images/thumb/plot_rag.png
   :figclass: gallery
   :target: ./segmentation/plot_rag.html

   :ref:`example_segmentation_plot_rag.py`


.. figure:: segmentation/images/thumb/plot_rag_boundary.png
   :figclass: gallery
   :target: ./segmentation/plot_rag_boundary.html

   :ref:`example_segmentation_plot_rag_boundary.py`


.. figure:: segmentation/images/thumb/plot_rag_draw.png
   :figclass: gallery
   :target: ./segmentation/plot_rag_draw.html

   :ref:`example_segmentation_plot_rag_draw.py`


.. figure:: segmentation/images/thumb/plot_rag_mean_color.png
   :figclass: gallery
   :target: ./segmentation/plot_rag_mean_color.html

   :ref:`example_segmentation_plot_rag_mean_color.py`


.. figure:: segmentation/images/thumb/plot_rag_merge.png
   :figclass: gallery
   :target: ./segmentation/plot_rag_merge.html

   :ref:`example_segmentation_plot_rag_merge.py`


.. figure:: segmentation/images/thumb/plot_random_walker_segmentation.png
   :figclass: gallery
   :target: ./segmentation/plot_random_walker_segmentation.html

   :ref:`example_segmentation_plot_random_walker_segmentation.py`


.. figure:: segmentation/images/thumb/plot_regionprops.png
   :figclass: gallery
   :target: ./segmentation/plot_regionprops.html

   :ref:`example_segmentation_plot_regionprops.py`


.. figure:: segmentation/images/thumb/plot_segmentations.png
   :figclass: gallery
   :target: ./segmentation/plot_segmentations.html

   :ref:`example_segmentation_plot_segmentations.py`


.. figure:: segmentation/images/thumb/plot_threshold_adaptive.png
   :figclass: gallery
   :target: ./segmentation/plot_threshold_adaptive.html

   :ref:`example_segmentation_plot_threshold_adaptive.py`


.. figure:: segmentation/images/thumb/plot_watershed.png
   :figclass: gallery
   :target: ./segmentation/plot_watershed.html

   :ref:`example_segmentation_plot_watershed.py`



Geometrical transformations and registration
--------------------------------------------



.. toctree::
   :hidden:

   transform/plot_edge_modes
   transform/plot_matching
   transform/plot_piecewise_affine
   transform/plot_pyramid
   transform/plot_radon_transform
   transform/plot_ransac
   transform/plot_ransac3D
   transform/plot_register_translation
   transform/plot_seam_carving
   transform/plot_ssim
   transform/plot_swirl


.. figure:: transform/images/thumb/plot_edge_modes.png
   :figclass: gallery
   :target: ./transform/plot_edge_modes.html

   :ref:`example_transform_plot_edge_modes.py`


.. figure:: transform/images/thumb/plot_matching.png
   :figclass: gallery
   :target: ./transform/plot_matching.html

   :ref:`example_transform_plot_matching.py`


.. figure:: transform/images/thumb/plot_piecewise_affine.png
   :figclass: gallery
   :target: ./transform/plot_piecewise_affine.html

   :ref:`example_transform_plot_piecewise_affine.py`


.. figure:: transform/images/thumb/plot_pyramid.png
   :figclass: gallery
   :target: ./transform/plot_pyramid.html

   :ref:`example_transform_plot_pyramid.py`


.. figure:: transform/images/thumb/plot_radon_transform.png
   :figclass: gallery
   :target: ./transform/plot_radon_transform.html

   :ref:`example_transform_plot_radon_transform.py`


.. figure:: transform/images/thumb/plot_ransac.png
   :figclass: gallery
   :target: ./transform/plot_ransac.html

   :ref:`example_transform_plot_ransac.py`


.. figure:: transform/images/thumb/plot_ransac3D.png
   :figclass: gallery
   :target: ./transform/plot_ransac3D.html

   :ref:`example_transform_plot_ransac3D.py`


.. figure:: transform/images/thumb/plot_register_translation.png
   :figclass: gallery
   :target: ./transform/plot_register_translation.html

   :ref:`example_transform_plot_register_translation.py`


.. figure:: transform/images/thumb/plot_seam_carving.png
   :figclass: gallery
   :target: ./transform/plot_seam_carving.html

   :ref:`example_transform_plot_seam_carving.py`


.. figure:: transform/images/thumb/plot_ssim.png
   :figclass: gallery
   :target: ./transform/plot_ssim.html

   :ref:`example_transform_plot_ssim.py`


.. figure:: transform/images/thumb/plot_swirl.png
   :figclass: gallery
   :target: ./transform/plot_swirl.html

   :ref:`example_transform_plot_swirl.py`



Longer examples and demonstrations
----------------------------------



.. toctree::
   :hidden:

   xx_applications/plot_coins_segmentation
   xx_applications/plot_geometric
   xx_applications/plot_morphology
   xx_applications/plot_rank_filters


.. figure:: xx_applications/images/thumb/plot_coins_segmentation.png
   :figclass: gallery
   :target: ./xx_applications/plot_coins_segmentation.html

   :ref:`example_xx_applications_plot_coins_segmentation.py`


.. figure:: xx_applications/images/thumb/plot_geometric.png
   :figclass: gallery
   :target: ./xx_applications/plot_geometric.html

   :ref:`example_xx_applications_plot_geometric.py`


.. figure:: xx_applications/images/thumb/plot_morphology.png
   :figclass: gallery
   :target: ./xx_applications/plot_morphology.html

   :ref:`example_xx_applications_plot_morphology.py`


.. figure:: xx_applications/images/thumb/plot_rank_filters.png
   :figclass: gallery
   :target: ./xx_applications/plot_rank_filters.html

   :ref:`example_xx_applications_plot_rank_filters.py`

