Pastebin
Retrouvez, créez et partagez vos snippets en temps réel.
Rechercher un Pastebin
Aucun paste trouvé.
Créer un paste
Pastebin
Blog
nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
% 1. Nettoyage total clear all; close all; clc; clear functions; % 2. Chargement L = imread('colored Chips.png'); % 3. Affichage en PLEIN ECRAN (Règle le bug de souris) f = figure('Units', 'normalized', 'OuterPosition', [0 0 1 1]); imshow(L); title('CLIQUE SUR LA PIÈCE BLEUE AU CENTRE + ENTRÉE'); % 4. On force l'affichage drawnow; % 5. BlocMouse t_b = 51; X = BlocMouse(L, t_b); % 6. Suite... figure(2); subplot(2,2,1); imshow(X); subplot(2,2,2); imhist(X(:,:,1)); title('R'); subplot(2,2,3); imhist(X(:,:,2)); title('G'); subplot(2,2,4); imhist(X(:,:,3)); title('B');
Créé il y a 1 semaine.