フィルターのクリア

How to partition the image into blocks of different sizes and In each block, take the angles of all black points with respect to the bottom left corner and calculate the summation and normalize it?

2 ビュー (過去 30 日間)
Please help me. I have pre-processed the image but i am not able to do this. If not possible then at least tell me how to partition the image and take the angles. Thanks in advance.

回答 (2 件)

Image Analyst
Image Analyst 2014 年 1 月 5 日
For the angle, get the delta X and delta Y from the rows and columns of all the black pixels
[rows, columns] = find(~binaryImage);
Then get angles
angles = atand2d(deltaY/deltaX);
Of course you figure out what delta x and y are from the particular pixel to the lower right corner of the current blobk you're at. Not hard. Give it a try.

VINSHI K K
VINSHI K K 2018 年 3 月 22 日
How can I divide an image of size [827 592] into overlaping blocks with block size=[252 252] and overlapping width=[64 64]

Community Treasure Hunt

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

Start Hunting!

Translated by