tI wants to use image processing to analyse my colour oil saturation map to determine depending on the intensity of colour. what are the methods, steps, and example
1 回表示 (過去 30 日間)
古いコメントを表示
回答 (1 件)
Jaynik
2023 年 10 月 9 日
Hi Saad,
I understand that you want to perform image processing to analyze an oil saturation map. You can use various functions from “Image Processing Toolbox” to perform any type of image related analysis.
To obtain the intensity of each pixels, you can apply the “rgb2gray” function on the image. You can also find the saturation of each pixel by converting the image into the “hsv” format. Following is a sample code to obtain the saturation of each pixel:
hsvImage = rgb2hsv(image);
saturation = hsvImage(:,:,2);
Using these variables, you can directly create masks, filters, histograms, etc. and use the values for further analysis.
You can refer the following link to get started with image processing in MATLAB:
Hope this helps!
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!