what is the coding to get a feature extraction gmlog for a image?

1 次查看(过去 30 天)
hi matlab community, i try to get the feature extraction of gmlog for all the image in LIVE database but i do not know the right coding. This is for my final year project. Can see the file attach. I really2 appreciate your help.

回答(1 个)

Udit06
Udit06 2023-11-24
Hi Rachel,
I understand that you want to perform Gradient Magnitude of Laplacian of Gaussian(gmlog) on each image present in the Laboratory for Image & Video Engineering (LIVE) image dataset. You can follow the following steps to achieve the same.
1) Compute the Laplacian of Gaussian of the image. You can refer the following MATLAB answer to understand how to perform the same.
2) Compute the gradient magnitude of the resultant image obtained after step 1. You can refer to the following MathWorks documentation to understand how to compute gradient magnitude of an image.
3) Repeat the steps 1 and 2 for each image present in the dataset. You can either use a loop to process each image or you can use "imageDatastore" object for the same. You can refer to the following MathWorks documentation to understand more about "imageDatastore" object.
I hope this helps.

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by