How to save the images from the camera calibration app after the app plot the circles on the edges?
    6 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    muhammad choudhry
      
 am 12 Nov. 2020
  
    
    
    
    
    Beantwortet: Nitin Kapgate
    
 am 18 Dez. 2020
            Hi,
      I am using camera calibration app for calibration and I want to save all the images from the app after app detect the edges. Does anyone know how to do it?
I am attaching one of the image. Quick reply will be appreciated!
0 Kommentare
Akzeptierte Antwort
  Nitin Kapgate
    
 am 18 Dez. 2020
        Currently you cannot save the images with detected edges in the Camera Calibrator App.
As a workaround, you can use detectCheckerboardPoints function to detect checkerboard pattern in image and use the saveas function to save the image with marked edges.
You can refer to the following demo code:
%% Read inbuilt checkerboard image
imageFileName = "image3.tif";
imageFilePath = fullfile(matlabroot,'toolbox','vision',...
       'visiondata','calibration','webcam',imageFileName);
I = imread(imageFilePath);
%% Detect calibration pattern in the images.
[imagePoints,boardSize,imagesUsed] = detectCheckerboardPoints(I);
%% Display the image
fig = figure;
imshow(I);
hold on;
%% Display (superimpose) the detected points
plot(imagePoints(:,1),imagePoints(:,2),'go','MarkerSize',12);
%% Save the edge marked image to a file 
saveas(fig,'detectedCheckerboardPoints.tif');
You can process all of the calibration images in a similar manner. 
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
				Mehr zu Camera Calibration finden Sie in Help Center und File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

