Help Required in Auto Pattern Repeation code writting
2 ビュー (過去 30 日間)
古いコメントを表示
Hi Folks, I want to check the pattern(horizontal or vertical or dional or in any direction) in an image fabric.png (given in matlab)and its pattern repeatation in that image. Could you help me out how to develop logic or write code for same.
0 件のコメント
回答 (3 件)
Sean de Wolski
2011 年 4 月 8 日
What pattern? All of the same values? Similar values? Similar gradients? Post a sample image (look at markup help). Otherwise, the best answer we can provide will rely on the infinite monkey.
0 件のコメント
Walter Roberson
2011 年 4 月 8 日
If your image is finite and contains quantized values (e.g., is not an array of irrational symbolic coefficients), and the image contains more than one pixel, then it is guaranteed that some pattern exists in the image in some direction.
0 件のコメント
Walter Roberson
2011 年 4 月 11 日
If you were restricting to horizontal and vertical then perhaps fft2() would help you determine the frequency of the pattern.
When you say "or along any direction", are you trying to discuss a pattern that has fundamentally rectangular shape but that the image of it might have been rotated ?
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!