imfilter at single point
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
socter
am 24 Sep. 2016
Beantwortet: Image Analyst
am 24 Sep. 2016
Lets suppose you have an image and a filter of the same size. I want to know how to find the filtered value of the midpoint of the image without filtering the rest of the image.
I am currently using imfilter and then using the midpoint of the output. This is obviously computationally expensive, so if there is a way to circumvent this, please let me know!
Thanks
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 24 Sep. 2016
Just multiply and add. Something like (untested)
productImage = double(grayImage) .* filterImage;
centerValue = sum(productImage(:));
0 Kommentare
Weitere Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!