can any one help me plaese

i am doing a project on image forgery detection in that i want to divide an image into overlapping blocks. Pls help me with the matlab code. i need it badly.

2 Commenti

Farzan Farzin
Farzan Farzin il 29 Ott 2018
Hello every one is there any one to help me in MATLAB I have some questions
Go ahead and post new Questions asking about your interests.

Risposte (2)

KSSV
KSSV il 22 Ago 2017

0 voti

7 Commenti

charu shree
charu shree il 22 Ago 2017
@kssv, I know blockproc will solve it. But don't know how to use blockproc. Pls give answer only if u are able to provide me code. Becoz I had tried a lot
KSSV
KSSV il 22 Ago 2017
We are not here to provide you code or write code for you.....if you get stuck we will help...you have to read the documentation and do it on your self....
John D'Errico
John D'Errico il 22 Ago 2017
Modificato: Jan il 22 Ago 2017
@charu - don't complain that you got any answer at all. Answers is not a code providing service, where we do your homework.
Jan
Jan il 22 Ago 2017
@charu: If you have "tried a lot", it is useful if you post the most successful of these trials and explain, what is not working as expected. It is much easier to suggest an improvement, than to guess what you need and invent the complete code. Remember that we do not know any details about your project and therefore asking for code is not reasonable.
charu shree
charu shree il 22 Ago 2017
@ Jan Simon .... i already shared my exprience in writing this code. My doubt is very simple " how does image looks after dividing in overlapping blocks".
charu shree
charu shree il 22 Ago 2017
@ kssv..... i had already dig entire internet from last 15 days but have not found my solution. I am not asking for ready made code. I just ask whether somebody can help me in this question. If u can help then its ok.
Jan
Jan il 23 Ago 2017
@charu: Something goes wrong. You state, that you have shared your experiences, but I still do not find enough details in your question to allow to understand exactly, what you need. Then asking for code is not reasonable. I cannot imagine what "how does image looks after dividing in overlapping blocks" should mean and you cannot expect, that anybody is able to translate this into working code. Of course, this sentence is perfectly meaningful for you, because you know what you want. But the forum cannot read your mind.
Image Analyst
Image Analyst il 22 Ago 2017

0 voti

blockproc() can do both overlapping and non-overlapping (adjacent/tiled) blocks. See the FAQ for non-overlapping blocks: http://matlab.wikia.com/wiki/FAQ#How_do_I_split_an_image_into_non-overlapping_blocks.3F
Also see my two attached demos.

4 Commenti

charu shree
charu shree il 22 Ago 2017
@ image analyst.....why every time you give those repeated codes which are not useful to me. My question is very simple. I just want to divide an image into overlapping blocks. Pls its a request that if u know matlab then only give the answer i.e. code else dont give.
Image Analyst
Image Analyst il 22 Ago 2017
charu, I did give you code that is a good start - feel free to adapt as needed. Use the example where I made a custom function that gets called on each block. You replace that function with your specific forgery detection code. And you change the block sizes and overlaps to what you need. Not hard.
If you want to hire someone to give you exactly what you want, feel free to do that too. Being one of the most experienced MATLAB image processing people in the world, I probably do know how to help you, given enough information. Unfortunately however, none of us here can help you yet because
  1. you did not provide your image
  2. you did not specify the block size (vertical and horizontal)
  3. you did not specify the number of pixels that the blocks should overlap each other.
  4. you have not read this link yet.
Happy to help if you give us something that we can help with. Though no one here is willing to spend a huge amount of time to help you. Typically we'll spend a few minutes to help you. If people ask for something that would take hours, well, that's just too much to ask a volunteer (not that yours would take that long, but we need something to work with, and we have nothing yet).
charu shree
charu shree il 23 Ago 2017
@ image analyst ..... i am sorry that i demanded for code. But really i am trying so hard and still unable to divide the image into overlapping blocks. 1. can yo tell me out of two demo files which one is for overlapping and which is for non overlapping blocks.
Image Analyst
Image Analyst il 24 Ago 2017
Have you tried the 'border' option to adjust the number of pixels to overlap the tiles by?

Questa domanda è chiusa.

Richiesto:

il 22 Ago 2017

Chiuso:

il 20 Ago 2021

Community Treasure Hunt

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

Start Hunting!

Translated by