Rank: 6277 based on 14 downloads (last 30 days) and 1 file submitted
photo

Haya Mohammad

E-mail

Personal Profile:

 

Watch this Author's files

 

Files Posted by Haya Mohammad
Updated   File Tags Downloads
(last 30 days)
Comments Rating
01 Mar 2013 Screenshot Zoom an image by repeating pixels Zoom an image by repeating pixels first read an image then take small patch, after that enlarge it Author: Haya Mohammad zoom 14 2
  • 1.0
1.0 | 1 rating
Comments and Ratings on Haya Mohammad's Files View all
Updated File Comment by Comments Rating
04 Mar 2013 Zoom an image by repeating pixels Zoom an image by repeating pixels first read an image then take small patch, after that enlarge it Author: Haya Mohammad Jan Simon

A script, which kills all formerly existing data by an initial "clear all" is not a good idea for a code published in the FEX.

The submitted code is such specific (hard coded file name and zoom factor) and inefficient (a slow loop instead of a vectorized method), that it is neither useful nor usable for others. There is no documentation and the action is near to trivial. Therefore I rate it with 1 star only.

The FileExchange is thought to share useful programs with others. It is a good strategy to submit programs, which are useful for others. What kind of programs would you like to download from here?

01 Mar 2013 Zoom an image by repeating pixels Zoom an image by repeating pixels first read an image then take small patch, after that enlarge it Author: Haya Mohammad Rob Campbell

Why not just smooth the original image with interp2 then downsample? Two lines of code. There's also filter2. You've done the same thing but in 20 lines of code and used 3 nested loops. It's confusing and not well written because it doesn't make good use of the language. There are no comments and it converts to 8 bit for no reason. Also, you've created a sock-puppet account for this stuff rather than publishing under "Amarjot", as you have done previously.

People here, including me, would like to help beginners learn to code better. However, you're posting the same bad code with no modifications after at least two of us have given you advice and suggestions on virtually identical code in the past. What reaction are you expecting from the community if you have no interest in helping yourself?

Contact us