ColorChecker function does not work?
Mostrar comentarios más antiguos
I am trying to follow the example here:
I use this code:
cfa = rawread("DSC_0136.NEF");
J = demosaic(cfa,"rggb");
A_sRGB = lin2rgb(J);
montage({J,A_sRGB})
title("Original Image Before and After Gamma Correction")
chart_sRGB = colorChecker(A_sRGB);
% chart_sRGB = colorChecker(rgb, sensitivity=0);
DisplayChart(chart_sRGB)
But I keep running into this error:
Error using colorChecker
Color patches were not detected. Try adjusting the Sensitivity parameter or turning off the Downsample parameter.
This is my test NEF:

Why is the functioon failing?
I tried varying the sensitivity from 0 to 1 and turning downsampling off to no avail.
Is the function not designed to operate on a picture of the chart that's full-frame?
10 comentarios
Roger Breton
el 30 de En. de 2024
Walter Roberson
el 30 de En. de 2024
Please zip the .NEF file and attach the .NEF.zip
Roger Breton
el 30 de En. de 2024
Roger Breton
el 30 de En. de 2024
Roger Breton
el 30 de En. de 2024
Editada: Walter Roberson
el 30 de En. de 2024
Roger Breton
el 30 de En. de 2024
Roger Breton
el 30 de En. de 2024
Roger Breton
el 30 de En. de 2024
Roger Breton
el 30 de En. de 2024
Roger Breton
el 30 de En. de 2024
Respuestas (0)
Categorías
Más información sobre Image Arithmetic en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

