필터 지우기
필터 지우기

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