Finding objects in an image
I am trying to make an OCR program. The text I'm trying to OCR isn't in lines. Each character is in a random place in the image. I have the OCR part working, but I am having trouble locating the characters in the image. How can I quickly separate each character in the image?
I am trying to make an OCR program. The text I'm
trying to OCR isn't in lines. Each character is in a
random place in the image. I have the OCR part
working, but I am having trouble locating the
characters in the image. How can I quickly separate
each character in the image?Use thinning. Each character will be reduced to a dot.
Similar Messages
-
Algorithm to find the area and color of the objects in an image
Hello everyone,
I have some problems in finding the segmented objects once i find the threshold , i want to find the area of the objects in the image . for example i have some lymphocytes in the image and i need to seperate them from the background by labelling them. can i seperate them by using the colour as well . please give some idea .
my code till now is:
int data = -1;
try {
System.out.println("Is the input a FloatImage ?");
m_fi_in = (FloatImage)inputData[0];
data = 0;
catch (ClassCastException cce) {
System.out.println("Not a FloatImage");
data = -1;
try {
System.out.println("Is the input a Volume ?");
m_vol_in = (Volume)inputData[0];
data = 1;
catch (ClassCastException cce2) {
System.out.println("Not a Volume");
data = -1;
System.out.println(data);
// For the FloatImage
if (data == 0) {
// For the Volume
else if(data == 1) {
System.out.println("Entering Volume for segmentation....");
// Get target dimensions
int depth = m_vol_in.getDepth();
int height = m_vol_in.getHeight();
int width = m_vol_in.getWidth();
int region = 1;
// Create a label structure
// Consists of Image and region info
m_label = new Label(m_vol_in);
if(m_label == null) {
System.out.println("Label could not be created");
return false;
// apply the threshold set by user
float threshold = m_threshold.getValue();
float maxi = m_threshold.getMaximum();
float mini = m_threshold.getMinimum();
// label the center of the volume in the region part of label as region 1
m_label.setRegion(m_start_z.getValue(), m_start_y.getValue(), m_start_x.getValue(), region);
System.out.println("Set starting voxel ("+m_start_z.getValue()+","+m_start_y.getValue()+","+m_start_x.getValue()+" to "+region);
// Now process 8 partial volumina starting from a given point in the yz-plane in positive and then negative x directions
// check the neighbours if they are already segmented and set the region in the target volume accordingly
// do so for the whole yz-plane
int x,y,z;
int dir = 0; // the direction of the search. Only initialised here !
System.out.println("Processing Volume in z++");
for (z = m_start_z.getValue(); z < depth-1; z++) {
for (y = m_start_y.getValue(); y < height-1; y++) {
dir = 1;
for (x = m_start_x.getValue(); x < width-1; x++) {
checkRegion(m_label, z, y, x, threshold, region, dir);
dir = -1;
for (x = m_start_x.getValue(); x > 0; x--) {
checkRegion(m_label, z, y, x, threshold, region, dir);
for (y = m_start_y.getValue(); y > 0; y--) {
dir = 1;
for (x = m_start_x.getValue(); x < width-1; x++) {
checkRegion(m_label, z, y, x, threshold, region, dir);
dir = -1;
for (x = m_start_x.getValue(); x > 0; x--) {
checkRegion(m_label, z, y, x, threshold, region, dir);
System.out.println("Processing Volume in z--");
for (z = m_start_z.getValue(); z > 0 ; z--) {
for (y = m_start_y.getValue(); y < height-1; y++) {
dir = 1;
for (x = m_start_x.getValue(); x < width-1; x++) {
checkRegion(m_label, z, y, x, threshold, region, dir);
dir = -1;
for (x = m_start_x.getValue(); x > 0; x--) {
checkRegion(m_label, z, y, x, threshold, region, dir);
for (y = m_start_y.getValue(); y > 0; y--) {
dir = 1;
for (x = m_start_x.getValue(); x < width-1; x++) {
checkRegion(m_label, z, y, x, threshold, region, dir);
dir = -1;
for (x = m_start_x.getValue(); x > 0; x--) {
checkRegion(m_label, z, y, x, threshold, region, dir);
// Apply result to output
outputData[0] = m_label;
else {
return false;
}search for cluster analysis
spieler -
Find Object.vi function of 3D picture control - when object not found
I am using Labview 8.2, and this post is regarding the 3D Picture Control.
I am wanting to make use of the "Find Object" VI to either return a reference to a named object, or otherwise determine that it does not exist yet. However, if I call it with the name of an object that doesn't exist yet (i.e. just any random string), it returns an error message that arises from the attempt to release a queue (the reference to which gets lost when crossing a zero-iteration For Loop's tunnels), instead of an error message that says "Object not found" which I would find much more useful. With a simple modification of the "Find Object.vi" function, this behaviour can be changed, by replacing the For Loop's tunnels with shift registers.
The problem with the current function is that the error is not an intentionally thrown error, rather just the result of the queue's refnum being set to the default 0 as it "exits" the For Loop, since in the situation that an object is not found, the code passes a 0 to the N terminal.
The attached images show the problematic code and the simple modification
Attachments:
Find Object.png 2 KB
Find Object_modified.png 2 KBpauldavey,
I agree with you - the current way of handling the case of an object not being found does not appear to be ideal.
This was reported to R&D (# 43D8GSVQ) for further investigation.
Thanks for the feedback!
Regards,
Simon H
Applications Engineer
National Instruments -
Detecting an object in an image
hi all
i need to know how to detect a particular object like a ball or a rectangular block within an image
i tried opencv but it failed to detect an object within an image the C code used in JNI is given below
#include <stdio.h>
#include <stdlib.h>
#include <jni.h>
#include "sift.h"
#include "imgfeatures.h"
#include "kdtree.h"
#include "utils.h"
#include "xform.h"
#include <cv.h>
#include <cxcore.h>
#include <highgui.h>
#include "helloworld_HelloWorld.h"
#define KDTREE_BBF_MAX_NN_CHKS 200
/* threshold on squared ratio of distances between NN and 2nd NN */
#define NN_SQ_DIST_RATIO_THR 0.49
/******************************** Globals ************************************/
char img1_file[] = "..\\football.png";
char img2_file[] = "..\\sift.png";
JNIEXPORT jint JNICALL
Java_helloworld_HelloWorld_printNat(JNIEnv *env, jobject obj)
IplImage * img1, * img2, * stacked;
struct feature* feat1, * feat2, * feat;
struct feature** nbrs;
struct kd_node* kd_root;
CvPoint pt1, pt2;
double d0, d1;
int n1, n2, k, i, m = 0;
img1 = cvLoadImage( img1_file, 1 );
if( ! img1 )
fatal_error( "unable to load image from %s", img1_file );
img2 = cvLoadImage( img2_file, 1 );
if( ! img2 )
fatal_error( "unable to load image from %s", img2_file );
stacked = stack_imgs( img1, img2 );
fprintf( stderr, "Finding features in %s...\n", img1_file );
n1 = sift_features( img1, &feat1 );
fprintf( stderr, "Finding features in %s...\n", img2_file );
n2 = sift_features( img2, &feat2 );
kd_root = kdtree_build( feat2, n2 );
for( i = 0; i < n1; i++ )
feat = feat1 + i;
k = kdtree_bbf_knn( kd_root, feat, 2, &nbrs, KDTREE_BBF_MAX_NN_CHKS );
if( k == 2 )
d0 = descr_dist_sq( feat, nbrs[0] );
d1 = descr_dist_sq( feat, nbrs[1] );
if( d0 < d1 * NN_SQ_DIST_RATIO_THR )
pt1 = cvPoint( cvRound( feat->x ), cvRound( feat->y ) );
pt2 = cvPoint( cvRound( nbrs[0]->x ), cvRound( nbrs[0]->y ) );
pt2.y += img1->height;
cvLine( stacked, pt1, pt2, CV_RGB(255,0,255), 1, 8, 0 );
m++;
feat1.fwd_match = nbrs[0];
free( nbrs );
fprintf( stderr, "Found %d total matches\n", m );
cvNamedWindow( "Matches", 1 );
cvShowImage( "Matches", stacked );
cvWaitKey( 0 );
cvReleaseImage( &stacked );
cvReleaseImage( &img1 );
cvReleaseImage( &img2 );
kdtree_release( kd_root );
free( feat1 );
free( feat2 );
return m;
i donot want help exactly with opencv but a java code to detect an object within an image will be helpful and
help on any modification i can make on the above program will be also helpful
thank uHi friend!
I have the following issue:
I'm trying to build a C++ DLL that uses OpenCV.
But when I try to compile, I have the following errors:
[Link Error] undefined reference to 'cvQueryFrame'
[Link Error] undefined reference to 'cvReleaseCapture'
[Link Error] undefined reference to 'cvReleaseImage'
I'm using Dev-C++, and I set all the libraries directories correctly. If I try to compile an .exe file that uses OpenCV, it compiles successfully.
Please help me! I'm getting "crazy" with that... -
How to convert from Finder Object reference to POSIX path
I'm new to AppleScript. I'm super close to getting what I need done, but I've ran across a snag in the middle.
The error I'm getting is Can’t make quoted form of POSIX path of item 1 of {«class docf» \"filename\" of «class cfol» \"foldername\" of «class cfol» \"Desktop\" of «class cfol» \"Username\" of «class cfol» \"Users\" of «class sdsk» of application \"Finder\"} into type Unicode text. the problem area is highlighted and notated below. I've looked all around online but can't find what I need.
Thanks in advance for any and all help!
set text item delimiters to "."
tell application "Finder"
set theFilestoChoose to every item of (choose file with prompt "Please select the file(s) you would like to move and rename" with multiple selections allowed) as list
display dialog "Would you like to move these files to an existing folder and then rename them, or create a new folder and then rename them?" buttons {"Move to an existing folder and rename", "Create a new folder and rename"}
if result = {button returned:"Move to an existing folder and rename"} then
set firstnewname to "Aauuttoommaattoorr"
repeat with index from 1 to the count of theFilestoChoose
set theFilesChosenbeingrenamedfirsttime to item index of theFilestoChoose
set filenamecount to text items of (get name of theFilesChosenbeingrenamedfirsttime)
if number of filenamecount is 1 then
set fileextension to ""
else
set fileextension to "." & item -1 of filenamecount
end if
set the name of theFilesChosenbeingrenamedfirsttime to firstnewname & index & fileextension as string
end repeat
log theFilesChosenbeingrenamedfirsttime
set choosingtheplacetomove to choose folder with prompt "Select the folder to move to"
set thechosenfoldersname to name of folder choosingtheplacetomove -- sets the folder name as text
set AppleScript's text item delimiters to {"-"}
set Numberofthemonthatthebeginningofthefoldername to text item 1 of thechosenfoldersname as string -- for later to append the number back on without having to ask again!
set shortenedname to text item 2 of thechosenfoldersname as string
set the name of choosingtheplacetomove to shortenedname as string
set thefolderstemporarynameaslocation to choosingtheplacetomove as string
move theFilestoChoose to folder thefolderstemporarynameaslocation
log theFilestoChoose
set allfilesindestinationfolder to every file in choosingtheplacetomove as alias list --
set aInitials to the text returned of (display dialog "Whose camera were this/these pictures taken on?" default answer "")
set filteredList to my filterList(allfilesindestinationfolder, aInitials) as list
log filteredList
-- everything above this is correct so far and works perfect
--TROUBLE SECTION BELOW
set theSortedfilterList to (sort filteredList by creation date) -- something happens here with the theSortedfilterList that makes it unintelligible to convert to POSIX later. but I need the files in the order that this line puts them.
log theSortedfilterList
set timetorenamelasttime to theSortedfilterList
set newbasename to shortenedname
repeat with index from 1 to the count of timetorenamelasttime
set theonefile to item index of timetorenamelasttime
set theonefilenamecount to text items of (get name of theonetwothreefile)
if number of theonefilenamecount is 1 then
set fileextensionone to ""
else
set fileextensionone to "." & item -1 of theonefilenamecount
end if
tell application "System Events" to set CreaDate to creation date of file theonefile
set CreaDate2 to CreaDate as text -- need to trim down to the first 10 characters and eliminate the "-"
set AppleScript's text item delimiters to {""}
set shorteneddatename to text items 1 thru 10 of CreaDate2 as string
set the name of theonefile to shorteneddatename & {"-"} & newbasename & {"-"} & aInitials & {"-"} & index & fileextensionone as string
end repeat
--Trouble section above
set the name of choosingtheplacetomove to Numberofthemonthatthebeginningofthefoldername & "-" & shortenedname as string -- returns the month prefix to the foldername
else if result = {button returned:"Create a new folder and rename"} then
set repeatConfirmation to true --Boolean to decided if script should be repeated; default is to repeat
repeat while (repeatConfirmation = true) --Repeat if Any Tests Are Failed
set thefirstquestion to choose from list {"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"} with title "Event Month Selection" with prompt "Select the month in which the event started. Select only one month:"
set theMonthAnswer to result
if theMonthAnswer = false then --"For historical reasons, choose from list is the only dialog command that returns a result (false) instead of signaling an error when the user presses the “Cancel” button."
set repeatConfirmation to false
set exitingeventmonth to display dialog ("You are exiting selecting the event month phase of the program. You will need to manually fix this decision") buttons {"OK"} with title "Exiting Event Month Selection"
if button returned of exitingeventmonth = "OK" then
set theMonthAnswer to ""
end if
else
set confirmationanswer to display dialog "You selected " & theMonthAnswer & ", is this correct? " buttons {"Yes, that's correct.", "No, the picture(s) are from a different month."} with title "Confirm Event Month Selection"
if button returned of confirmationanswer = "Yes, that's correct." then
set repeatConfirmation to false
else
display dialog ("That's okay, you can select another again!") buttons {"OK"} with title "Return to Event Month Selection"
end if
end if
end repeat
log theMonthAnswer
if theMonthAnswer = "" then
set monthtonumber to "You have cancelled this action."
log monthtonumber
else if theMonthAnswer = {"January"} then
set monthtonumber to "01"
log monthtonumber
else if theMonthAnswer = {"February"} then
set monthtonumber to "02"
log monthtonumber
else if theMonthAnswer = {"March"} then
set monthtonumber to "03"
log monthtonumber
else if theMonthAnswer = {"April"} then
set monthtonumber to "04"
log monthtonumber
else if theMonthAnswer = {"May"} then
set monthtonumber to "05"
log monthtonumber
else if theMonthAnswer = {"June"} then
set monthtonumber to "06"
log monthtonumber
else if theMonthAnswer = {"July"} then
set monthtonumber to "07"
log monthtonumber
else if theMonthAnswer = {"August"} then
set monthtonumber to "08"
log monthtonumber
else if theMonthAnswer = {"September"} then
set monthtonumber to "09"
log monthtonumber
else if theMonthAnswer = {"October"} then
set monthtonumber to "10"
log monthtonumber
else if theMonthAnswer = {"November"} then
set monthtonumber to "11"
log monthtonumber
else if theMonthAnswer = {"December"} then
set monthtonumber to "12"
log monthtonumber
end if
set theNameofFoldertoMake to text returned of (display dialog "Please enter the name of the new folder you are creating:" default answer "" with title "New Folder Name")
set LocationOfNewFolder to choose folder with prompt "Choose the location of the new folder you are creating:"
set theNewNameofFoldertoMake to monthtonumber & "-" & theNameofFoldertoMake
set newfolderaction to make new folder at LocationOfNewFolder with properties {name:theNewNameofFoldertoMake}
move theFilestoChoose to newfolderaction
end if
end tell
--function
on filterList(allfilesindestinationfolder, aInitials)
set patterns to {aInitials as string, "Aauuttoommaattoorr"}
set output to {}
repeat with aFile in the allfilesindestinationfolder
repeat with aPattern in patterns
set filepath to aFile as string
if filepath contains aPattern then
set end of the output to aFile
exit repeat
end if
end repeat
end repeat
return output
end filterListOkay, so you wanted the debugging and error messages. Thank you for the coaching. Here is what I get from the following line:
set theSortedfilterList to (sort filteredList by creation date)
log theSortedfilterList
Log returns:
(*document file Aauuttoommaattoorr3.AVI of folder SnowDay of folder Desktop of folder Username of folder Users of startup disk, document file Aauuttoommaattoorr2.MOV of folder SnowDay of folder Desktop of folder Username of folder Users of startup disk, document file Aauuttoommaattoorr1.mov of folder SnowDay of folder Desktop of folder Username of folder Users of startup disk*)
set pxFile to POSIX path of ((theSortedfilterList) as alias)
Error: "Can’t make {«class docf» \"Aauuttoommaattoorr3.AVI\" of «class cfol» \"SnowDay\" of «class cfol» \"Desktop\" of «class cfol» \"Username\" of «class cfol» \"Users\" of «class sdsk» of application \"Finder\", «class docf» \"Aauuttoommaattoorr2.MOV\" of «class cfol» \"SnowDay\" of «class cfol» \"Desktop\" of «class cfol» \" Username \" of «class cfol» \"Users\" of «class sdsk» of application \"Finder\", «class docf» \"Aauuttoommaattoorr1.mov\" of «class cfol» \"SnowDay\" of «class cfol» \"Desktop\" of «class cfol» \" Username \" of «class cfol» \"Users\" of «class sdsk» of application \"Finder\"} into type alias." number -1700 from {«class docf» "Aauuttoommaattoorr3.AVI" of «class cfol» "SnowDay" of «class cfol» "Desktop" of «class cfol» "Username" of «class cfol» "Users" of «class sdsk», «class docf» "Aauuttoommaattoorr2.MOV" of «class cfol» "SnowDay" of «class cfol» "Desktop" of «class cfol» "Username" of «class cfol» "Users" of «class sdsk», «class docf» "Aauuttoommaattoorr1.mov" of «class cfol» "SnowDay" of «class cfol» "Desktop" of «class cfol» "Username" of «class cfol» "Users" of «class sdsk»} to alias
That is why I labeled it with Finder Object reference won’t return POSIX path, because I tried what was suggested about using the POSIX path of line. I thought seeing the lines above and around it would help set the context.
So I need those files, but I need them sorted by creation date so that they’re in that order for the next renaming step. -
In my Macbook Pro, the Finder folder has duplicate images in the 'all images' file. One image is small and the other is full size. First question is why do I have two of every image? Why is one small and the other large. Do I need two of everything? If not, which do I delete?
thanks, JeanHello fane,
Re: duplicate images in finder.
Nearly all images are JPG with a few GIF and PNG sprinkled in.
I opened the inspector so I do get info when opening each image, but it a slow process.
It seems that one image is around 70k while its twin can be up to 4Mb which is what comes unedited from my camera. Sometimes there will be 3 or 4 identical images in finder, but when I open iPhoto to see what ‘s really in the file, I find only one image, and it’s full sized.
Are all these extra images, even if they are aliases, taking up space on my drive? And should I delete them? The info bar says I have over 10,000 images, which is rather a lot for what I do.
I am unable to add the file size on the view menu as it is grayed out. Don’t know why it’s gray, but having that info on the screen would save a lot of time and fiddling with each image.
I am trying to resize selected pix so I can upload them to e-bay, which requires less than 70k. I have looked at resizing programs but most are for PC platform and not Mac, so I am trying to resize in the finder window under tools. Tedious at best. Any suggestions will be appreciated
Thanks for your help,
jeanfromwilsonville -
How can you find out an individual image size from multiple images on a canvas
This is probably a really really simple question but I can't for the life of me find how I can find out an individual image size from multiple images on a canvas. eg I have 3 photos i want to arrange 1 large and the other two next to it half the size. How can I edit individual image size on the canvas as when I select the image on a sperate layer I want to resize it just resizes the entire canvas and not the individual image
ThanksI want to know they exact dimensions though. You can get them by dragging to the 0,0 corner and then reading off of the ruler scale on the sides but its fiddily as you have to zoom right in and work it out. I know in photoshop there is a ruler but is there any other way in Elements?
-
As I can sometimes do, I did not read the directions before delving into LR. Now I find my self with image history in LR on 2 or 3 of my HD's. I would like to now consolidate it on one HD but fear in doing so I will lose the images I have created within LR. Is there a tutorio or some other way to get me back on track with this application?
Your image history (if I understand you properly) is stored in your catalog file, and nowhere else, and so it is only on a single drive.
Do you mean you have edited photos on multiple drives? This isn't a problem for Lightroom at all, the software doesn't care, and you can leave things just the way they are. But if it bothers you for some reason, you can move the photos to a single drive if you want. In Lightroom select the desired photos or folders (it's easier to do this using Folders) and drag them to the desired drive.
Alternative if you will be moving lots of folders: Adobe Lightroom - Find moved or missing files and folders -
How do I take an object from an image and save it so I can use it in other images?
I am trying to figure out how to take an object from an image and save it so I can re-use it again in other pictures? I know how to use the magic wand to select the object and place it in a blank image.... but I do not know how to re size the selected object or keep it for later use. Basically I would like to use the object the same way that I use the graphics ... so I guess I am wondering if there is a way that I can make my own graphics... I have Elements Photoshop 13. Thanks for any help/advice.... Jerrie
Hi Jerrie,
You can re-size using Transformation tool. Ctrl + T will give you a box to re-size the image or object.
You can save these object as PNG file with Transparent layer. You can use these objects later in another projects.
Regards,
Sandeep -
Render a swf object(contains an image) in navigator not possible
Hy, I have a swf object that is an image(a circle). I have tried to render it in firefox but it doesnt render anything but I have tried with other swf object(not an image, an application) and it renders it ok. So can I render a swf file that is an image or is not possible? should I extract the image in it first to render on the navigator?
ThanksTake a look at
http://developers.sun.com/jscreator/learning/tutorials
/2/file_upload.html#07.Thanks jetsons. That particular code sample (#7 in SJSC, #8 in Netbeans) shows only how to serialize a file to a different location on the server, not how to reference a file (not stored within the app forlder) to be rendered as a result of hyperlink click for example. Reading a little further in that page, it says:
Be careful when putting the uploaded files in the web application as anyone can access the files by URL, such as http://localhost:29080/MyWebApplication/faces/upload/images/myPicture.gif.
So, I am thinking that for added security, may be it is meant to be that I can't make an imageComponent reference a file outside of the wep app folder, but I am just guessing. In which case, I will simply have to store all such files within the web app folder before attempting to access them, unless someone has a better answer. -
Need help for finding objects impacted by size change for an infoobject
hi all,
need help for finding objects impacted by size change
for xxx infoobject, due to some requirements, the size to be changed from
char(4) to char(10), in the source database tables as well as adjustment
to be done in BI side.
this infoobject xxx is nav attribute of YYY as well as for WWW
infoobjects. and xxx is loaded from infopkg for www infoobject load.
now that i have to prepare an impact analysis doc for BI side.
pls help me with what all could be impacted and what to be done as a
solution to implement the size change.
FYI:
where used list for xxx infoobject - relveals these object types :
infocubes,
infosources,
tranfer rules,
DSO.
attribute of characteristic,
nav attribute,
ref infoobject,
in queries,
in variablesHi Swetha,
You will have to manually make the table adjustments in all the systems using SE14 trans since the changes done using SE14 cannot be collected in any TR.
How to adjust tables :
Enter the table name in SE14. For ex for any Z master data(Say ZABCD), master data table name would be /BIC/PZABCD, text table would be /BIC/TZABCD. Similarly any DSO(say ZXYZ) table name would be /BIC/AZXYZ00 etc.
Just enter the table name in SE14 trans --> Edit --> Select the radio button "Save Data" --> Click on Activate & adjust database table.
NOTE : Be very careful in using SE14 trans since there is possibility that the backend table could be deleted.
How to collect the changes in TR:
You can collect only the changes made to the IO --> When you activate, it will ask you for the TR --> Enter the correct package name & create a new TR. If it doesn't prompt you for TR, just goto Extras --> Write transport request from the IO properties Menu screen. Once these IO changes are moved successfully, then the above proceduce can be followed using SE14 trans.
Hope it helps!
Regards,
Pavan -
I have 10,000 images & documents(if you click on the finder icon & go to images or documents) on my computer - my question is: can I delete these? Some I do not know how they got there.
Or do I just leave them alone. Some of the documents are gobeldy goop!
thanks
DawneUnless you have a space problem, leave them. Only delete stuff when you know what it is, and are sure you don't need it.
-
3D Picture Control: Find Object function closes scene reference when it has no children
I am using Labview 8.2
The "Find Object.vi" function is causing me some problems as it is closing the reference to the Scene Object passed into it when that Scene object does not contain any child objects. The attached screengrab shows the relevant part of the "Find Object.vi" function - the input (parent) reference is added to the front of the queue, and if the "ObjectCount" method returns 0, then the reference is closed (and hence unavailable from that point on. By removing the "Close Reference" function, the reference remains valid, but I am unsure of what other consequences this would have (and I don't like editing NI VI's!).
I have attached an example VI to illustrate this, hopefully it is clear enough what is happening. Basically, I want to be able to check for the existence of a child object without risking losing the parent object's reference. I could always write my own but perhaps the "Find Object.vi" function is incorrect?
Attachments:
Find Object Testing.vi 30 KB
Find Object_closingreference.png 5 KBpauldavey,
I agree with you again that the behavior of "Find Object.vi" does not appear to be optimal. It is almost as if it should be called "Select Object.vi" as it doesn't appear to be handling the case in which no objects are found very well.
The help file states that it:
Takes a 3D scene reference
and an object name and returns the first object in the scene with a matching
name.
As it's behavior is not defined for the event that a matching object is not found I would recommend writing your own VI to perform the function you need.
I plan on looking a little further into this and I may end up filing a CAR for this behavior too.
We appreciate the feedback and I apologize for the difficulties this VI is causing you.
Regards,
Simon H
Applications Engineer
National Instruments -
Where does time machine store content that would be found in the Finder window under "All Images, All Movies, All Documents"? Also, I have many Garageband projects and mp3 files I can't find.
Easiest way to find time machine files is to open up the folder or application(works for email and iphoto) they were in - then click on time machine ICON or enter time machine from the time machine menu to go back through the files.
-
Finder doesn't show image dimensions
Hi!
I have a problem with image dimensions in Finder. Finder doesn't show image dimension info in preview column and Get Info window. But when I open in Preview app I can see dimensions in Get Info window. How to solve this problem. If I want to sort images by dimension, I can't do that. Because Finder doesn't know image dimensions. You can see images below.Terence Devlin wrote:
That's because the Finder is a file manager and works from file metadata. The data you're seeking is about the file contents. You need to use a Photo Manager or Browser.
There is someone who can sort images by dimensions and see dimensions in list view. Also if Finder will not show image dimensions, why give me "Dimensions" and "Resolution" option to select in list view.
VikingOSX wrote:
Launch a Finder window. Press command+J, and set Show Item Info. Now the image dimensions will show below each image icon. If it is a movie, then the duration of the movie is shown.
I have done this. But doesn't show information.
Maybe you are looking for
-
i have a old i pod that i use to used and i stop useing it for a few years and now i have a i phone and i want to put all my music on my i pod in to my iphone and it would not allow me to do so what can i do
-
Issues after upgrading to 6.0
Hi experts, After upgrading to 6.0 seems system overall is slow. Netflix app asks me for password everytime I open. Youtube buffering issues. I hope with software upgrade these issues might get resolved. But I could not able to install updates. I tri
-
I'm not a File Server tech-iCal Server setup decision? Was using NUTD
I've read thru the iCal Server Admin pdf multiple times. There is a ton of server related knowledge required to successfully set iCal Server up. I don't have it (the knowledge) and don't have time to dedicate to learning it. My company used to use No
-
XI cannot process one message and generate the following error: Copy Sender from Payload: Sender Is Missing in Payload Paste XML row input into ID for test. All passed. How to troubleshooting?
-
basucaly what has happened is i went onto my laptop, changed my hotmail password, then now i cannot access it on my ipod i have been onto Settings-Mail,Contacts,Calender and the box where it says "hotmail" the writing is in grey so i cannot access th