Insert selected gridlines into an image

I have an image which is being processed for recovering a data. I will be dividing the image into number of horizontal slices(or horizontal slabs). I need an image in my report which shows this method i.e I will need the Image with vertical dotted line showing the axis of the slices and multiple horizontal(parallel) dotted lines showing the slices.

Answers (1)

to give an idea:
c = imread('pout.tif')
imshow(c)
hold
line([0 291],[20 20],'linestyle',':')

This question is closed.

Products

Asked:

on 2 Sep 2011

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!