image processing segmentation ?

Hi, I am beginner in Matlab. in this code https://in.mathworks.com/help/images/hough-transform.html there is an error which asks me to define rescale and I don't know how I should define it?

Answers (1)

KSSV
KSSV on 27 Jun 2019
rescale is a function introduced in 2017b. It seems you are using a lower version than this. Instead of rescale you can use mapminmax. Read about this function.

2 Comments

Oh I am so grateful for your answer, but if I want to be honest I am not so familiar with Matlab codes or image processing because my profession field is architecture.I want to have a hierarchy segmentation in building facade just like the picture that I have sent .I mean I want to segment my facade based on detecting window and someone in researchgate suggested this code and I thought that just changing the file name will be enough but as you can see I shoud define other things .Is there any chance that you know what I should do?
Thank you
Remove the function rescale and try.

Sign in to comment.

Asked:

on 27 Jun 2019

Commented:

on 27 Jun 2019

Community Treasure Hunt

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

Start Hunting!