Rank: 295 based on 413 downloads (last 30 days) and 3 files submitted
photo

Aroh Barjatya

E-mail

Personal Profile:

Professional Interests:

 

Watch this Author's files

 

Files Posted by Aroh View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
03 Nov 2005 One Dimensional Finite Difference Time Domain A function to calculate 1D FDTD, and two test scripts. One test script includes a test ... Author: Aroh Barjatya 1d, script, cartesian, finite difference tim..., test, fdtd 58 0
  • 4.0
4.0 | 5 ratings
20 Oct 2005 Block Matching Algorithms for Motion Estimation Review of various block matching algorithms used for motion estimation in MPEG coding. Author: Aroh Barjatya block matching, block based motion es..., example, mpeg, tutorial, motion estimation 287 44
  • 4.2093
4.2 | 44 ratings
20 Oct 2005 Binary Search Binary search of values in a data vector. Author: Aroh Barjatya data, values, binary search, utilities 68 10
  • 4.2
4.2 | 5 ratings
Comments and Ratings on Aroh's Files View all
Updated File Comment by Comments Rating
11 Sep 2009 Binary Search Binary search of values in a data vector. Author: Aroh Barjatya gromi

I use it frequently and it works fine. Thanks
1 thing to mention - the following sentence

'If the values in 'var' are outside the range of 'x' then either 1 or length(x) are returned as indices for those values.'

is not included in M-file help text (first few lines description). So if you download this function, do not use it for some time and forget about this then you may be surprised using it and getting many ones or 'x' lengths. Reading M-file description does not help in this case. You have to analyze code or go to the website.
This is a minor thing, of course.

30 Aug 2009 Block Matching Algorithms for Motion Estimation Review of various block matching algorithms used for motion estimation in MPEG coding. Author: Aroh Barjatya santhi

can any one help me to run this file

27 Aug 2009 Binary Search Binary search of values in a data vector. Author: Aroh Barjatya C. Chaya

12 May 2009 Block Matching Algorithms for Motion Estimation Review of various block matching algorithms used for motion estimation in MPEG coding. Author: Aroh Barjatya Khan, Dr. Murtaza

The program my give incorrect results. For example in TSS method motionEstTSS.m. The following function call will give wrong results:
 costs(2,2) = costFuncMAD(imgP(i:i+mbSize-1,j:j+mbSize-1), ...
                    imgI(i:i+mbSize-1,j:j+mbSize-1),mbSize);
Because for video data pixel values are of type integer (0-255) i.e. imgP and imgI of type uint8. Therefore, first use casting to double then call this method.

e.g. a correct and more readable code would be

 currentBlk=imgP(i:i+mbSize-1,j:j+mbSize-1);
 refBlk=imgI(refBlkVer:refBlkVer+mbSize-1, refBlkHor:refBlkHor+mbSize-1);
                    thisCost=costFuncMAD(double(currentBlk),double(refBlk), mbSize);
  costs(costRow, costCol ) = thisCost;

15 Apr 2009 Binary Search Binary search of values in a data vector. Author: Aroh Barjatya Julio

Hi
The error prevention in the beginning is rejecting the (1x1, 1x1) case. To make it work in this case one can simply add an equal ('=') sign to line 20 and it will be as below:

elseif x(1) <= x(xLen) % means x is in ascending order

Thnks

Top Tags Applied by Aroh
1d, binary search, block matching, cartesian, data
Files Tagged by Aroh View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
03 Nov 2005 One Dimensional Finite Difference Time Domain A function to calculate 1D FDTD, and two test scripts. One test script includes a test ... Author: Aroh Barjatya 1d, script, cartesian, finite difference tim..., test, fdtd 58 0
  • 4.0
4.0 | 5 ratings
20 Oct 2005 Block Matching Algorithms for Motion Estimation Review of various block matching algorithms used for motion estimation in MPEG coding. Author: Aroh Barjatya block matching, block based motion es..., example, mpeg, tutorial, motion estimation 287 44
  • 4.2093
4.2 | 44 ratings
20 Oct 2005 Binary Search Binary search of values in a data vector. Author: Aroh Barjatya data, values, binary search, utilities 68 10
  • 4.2
4.2 | 5 ratings
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com