Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | ATOMS
File : Details
Login with GitLab

Function to Calculate Row and Column Number provided pixel Number

Pixel Number to Row, Column detail
(1445 downloads for this version - 1445 downloads for all versions)
Details
Version
1.0
Author
paawan sharma
Maintainer
paawan sharma
Category
License
Supported Scilab Version
5.0
Creation Date
April 10, 2015
Description
                //To calculate Row and Column details given image im and pixel number p
    //Example: im = imread('test_1.png');
    //         pix2rc(im,312)
    //Output displayed on console ------- 
    //Row Number = 2, Column no.=56
    //  ans  =     2.    56.  
    //
    //          pix2rc(im,65539)
    //          Pixel value is outside Range
    //ans  =      []            
Files (1)
[1.02 kB]
Miscellaneous file
	  
News (0)
Comments (1)     Leave a comment 
Comment from Ravindra Patil -- July 11, 2018, 03:46:19 AM    

Hi,
His is the error


[c]= pix2rc(img2,26);
                     !--error 4 
Undefined variable: pix2rc
at line      12 of exec file called by :    
exec('D:\New folder (6)\SCILAB_IMP\Basic calculator\try.sce', -1)
Leave a comment
You must register and log in before leaving a comment.
Login with GitLab
Email notifications
Send me email when this toolbox has changes, new files or a new release.
You must register and log in before setting up notifications.