How to export color thresholder tool values?

4 ビュー (過去 30 日間)
Alexey Khotimsky
Alexey Khotimsky 2022 年 8 月 8 日
回答済み: Image Analyst 2022 年 8 月 8 日
I am trying to use the color thresholder tool in an application where several images are inputted. , however it is only possible to export either the singular masked image or a function that will mask any image that is then put into the function.
Is it possible to export just the threshold values of the mask? They appear in the exported function as the following, but I would like to be able to use them without an external function. Thanks!
% Define thresholds for channel 1 based on histogram settings
channel1Min = 0.98;
channel1Max = 0.033;

回答 (1 件)

Image Analyst
Image Analyst 2022 年 8 月 8 日
Just export the function and then copy the threshold values from the exported function to your own custom code.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by