How to transfer region props coordinates (saved in .mat file format) from one image to a similar image
2 ビュー (過去 30 日間)
Mahesh Taparia 2021 年 3 月 30 日
You can use regionprops function on the 1st image to find the pixel location of the components using 'PixelList' property of the function. Use those pixel location in the 2nd image or create a matrix of zeros and assign the label value (as you have mentioned 2) at those location in the 2nd image/ in zeros matrix.