ni.com is currently experiencing unexpected issues.

Some services may be unavailable at this time.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ Segmentation VI

Solved!
Go to solution

when using  IMAQ Segmentation VI,there is an error saying invalid image type.

and program is in the following:

7BB[WB7K3[YSZ@LH0@O{875.jpgwhat's the matter?i really appriciate your help.

0 Kudos
Message 1 of 10
(5,467 Views)
Dont you think the wiring can be better? Instead of attaching a part of your vi can you attach your vi instead or the entire screen shot after cleaning? What is the image type that you are trying to segment? Have you thresholded the image? Have you defined individual buffers(IMAQ create) for the each of the transformation/conversion (RGB,GReyscale,Binary)?
0 Kudos
Message 2 of 10
(5,459 Views)
sorry,this is a starting project,i'll deal with the wiring later.the shot screen has a problem,the image type of image7 is graysclale,but even that the same error is existing.i have threshholded the image and i have defined the buffers.
0 Kudos
Message 3 of 10
(5,451 Views)
In the "image 7" you have defined the image type as a RGB change it to grescale 8. The error should go off.
0 Kudos
Message 4 of 10
(5,449 Views)
i changed both the segmetion VI and the label VI's image type to GRAYSCALE U8,then the program went right but  the result is not what i want.i will check it .tk u very much muks.
0 Kudos
Message 5 of 10
(5,447 Views)
You should apply a proper threshold? I willsuggest you first try the segmentation with vision assistant to get an idea.Generate a vi from vi assistant.
0 Kudos
Message 6 of 10
(5,445 Views)
thk you,i will try.
0 Kudos
Message 7 of 10
(5,430 Views)
Solution
Accepted by tuming
Solved?
0 Kudos
Message 8 of 10
(5,365 Views)
Any update?
0 Kudos
Message 9 of 10
(5,307 Views)
sorry.too late to reply.it was solved,thank you.
0 Kudos
Message 10 of 10
(5,293 Views)