1. A fluid supply system comprising:
a tank to store a fluid, the fluid being changeable in volume in accordance with a change in pressure;
a shutoff valve provided in a port of the tank, the shutoff valve including a shared channel to enable fluid to flow from a fill hole to the tank and to flow from the tank to a fluid usage device;
a fluid fill channel including one end connected to the shared channel and another end connected to the fill hole;
a fluid supply channel including one end connected to the shared channel and another end connected to the fluid usage device;
a fill detector configured to detect that the fluid supply system is in a supplying state in which fluid is to be supplied to the tank via the fluid fill channel;
a pressure detector provided in the fluid supply channel; and
a controller configured to output a close instruction to the shutoff valve and configured to execute a processing to determine open valve malfunctions in the shutoff valve based on changes in pressure values which are input from the pressure detector, the controller stopping the processing to determine open valve malfunctions when the fill detector detects that the fluid supply system is in the supplying state.
2. The fluid supply system according to claim 1, wherein the controller prohibits the processing to determine open valve malfunctions when the fill detector detects that the fluid supply system is in the supplying state.
3. The fluid supply system according to claim 1, wherein the controller terminates the processing to determine open valve malfunctions when the fill detector detects that the fluid supply system is in the supplying state during an execution of the processing to determine open valve malfunctions.
4. The fluid supply system according to claim 1, wherein the fill detector detects that the fluid supply system is in the supplying state using at least one of
a fill communication signal which is input externally,
an open signal regarding a lid member provided to correspond to the fill hole,
pressure information which is input from the pressure detector, and
temperature information which is input from a temperature detector configured to detect a temperature inside the tank.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
1. An information processing apparatus, comprising:
an obtaining unit configured to obtain a plurality of object images, the plurality of object images being taken by an image pickup device while moving a focal position within a predetermined range, the image pickup device being capable of taking images of an object at arbitrary focal positions within the predetermined range;
a first calculator capable of calculating a first in-focus position within the predetermined range based on pieces of contrast information on a manually-taken object image group, the manually-taken object image group including the plurality of object images taken while manually moving the focal position within the predetermined range; and
a second calculator capable of calculating a second in-focus position within the search range based on pieces of contrast information on an automatically-taken object image group, the automatically-taken object image group including the plurality of object images taken while automatically moving the focal position within a search range, the search range being determined with reference to the calculated first in-focus position.
2. The information processing apparatus according to claim 1, further comprising:
a driver capable of moving the focal position within the predetermined range, wherein
the driver is configured
to move the focal position to one of end points of the search range at a first velocity, and
to move the focal position within the search range at a second velocity lower than the first velocity.
3. The information processing apparatus according to claim 1, further comprising:
an operation input unit, in which an instruction is input by a user, wherein
the first calculator is configured to calculate the first in-focus position in response to an operation to manually move the focal position by the user, and
the second calculator is configured to calculate the second in-focus position in response to an autofocus instruction input in the operation input unit by the user.
4. The information processing apparatus according to claim 1, further comprising:
a determining unit configured to determine that the first in-focus position is invalid if a predetermined time period passes after the first in-focus position is calculated and the autofocus instruction is not input within the predetermined time period.
5. The information processing apparatus according to claim 4, wherein
the first calculator is configured
to calculate a contrast peak value within the predetermined range based on pieces of contrast information on the manually-taken object image group, and
to calculate the first in-focus position, the first in-focus position being the focal position corresponding to the peak value, and
the determining unit is configured
to attenuate the contrast peak value at a predetermined rate, and
to set the predetermined time period, the predetermined time period being a time period until the attenuated peak value falls below a predetermined threshold.
6. The information processing apparatus according to claim 5, wherein
the first calculator is configured
to calculate a function based on pieces of contrast information on the manually-taken object image group, the function showing relation between the focal position within the predetermined and the contrast information, and
to calculate the contrast peak value, the contrast peak value being a peak value of the function.
7. The information processing apparatus according to claim 1, further comprising:
storage configured to store a map-for-calculation, the map-for-calculation including a plurality of divided areas, wherein
the first calculator is configured
to calculate divided-area in-focus positions based on pieces of contrast information on a plurality of divided areas, the divided-area in-focus positions being the first in-focus positions of the plurality of divided areas, the plurality of divided areas being obtained by dividing the object image corresponding to a plurality of areas of the map-for-calculation, and
to calculate the first in-focus position based on pieces of information on the divided-area in-focus positions.
8. The information processing apparatus according to claim 7, wherein
the first calculator is configured to calculate the first in-focus position based on the pieces of information on the divided-area in-focus positions for calculation-object areas, the calculation-object areas being some divided areas of the plurality of divided areas, the some divided areas overlapping with a reference area in the object image, the reference area being a reference to calculate the first in-focus position.
9. The information processing apparatus according to claim 8, wherein
the first calculator is configured
to weight the calculation-object areas based on sizes of areas overlapping with the reference area and based on pieces of contrast information on the calculation-object areas, and
to calculate the first in-focus position.
10. The information processing apparatus according to claim 7, further comprising:
a driver capable of moving the focal position within the predetermined range, wherein
the driver is configured
to move the focal position to one of end points of the search range at a first velocity, and
to move the focal position within the search range at a second velocity lower than the first velocity.
11. The information processing apparatus according to claim 10, wherein
the image pickup device is capable of taking an image of the object at an arbitrary image pickup position on a 2D (two-dimensional) plane parallel to a mount surface on which the object is mounted,
the driver is capable of moving the image pickup position on the 2D plane, and
the map-for-calculation has a larger area than an image pickup area of the object image, the map-for-calculation containing the image pickup area, the map-for-calculation being moved as the image pickup position is moved.
12. The information processing apparatus according to claim 11, wherein
the storage is configured to store pieces of contrast information and pieces of divided-area in-focus position information on divided areas of the object image for areas of the map-for-calculation, the divided areas of the object image corresponding to the areas of the map-for-calculation,
the first calculator is configured, if the image pickup position is moved,
to refer to the pieces of contrast information and the pieces of divided-area in-focus position information on the areas of the map-for-calculation, the pieces of contrast information and the pieces of divided-area in-focus position information being stored before the image pickup position is moved, and
to calculate the divided-area in-focus positions of divided areas of the moved object image.
13. The information processing apparatus according to claim 7, wherein
the obtaining unit is configured to obtain the plurality of object images, the plurality of object images being obtained by taking images of the object, the images of the object being formed by an optical system including an objective lens, and
the storage is configured to store the map-for-calculation for the objective lens of the optical system, the map-for-calculation being used to calculate the first in-focus position.
14. An information processing method, executed by a computer, comprising:
obtaining a plurality of object images, the plurality of object images being taken by an image pickup device while moving a focal position within a predetermined range, the image pickup device being capable of taking images of an object at arbitrary focal positions within the predetermined range;
calculating a first in-focus position within the predetermined range based on pieces of contrast information on a manually-taken object image group, the manually-taken object image group including the plurality of object images taken while manually moving the focal position within the predetermined range; and
calculating a second in-focus position within the search range based on pieces of contrast information on an automatically-taken object image group, the automatically-taken object image group including the plurality of object images taken while automatically moving the focal position within a search range, the search range being determined with reference to the calculated first in-focus position.
15. A program, causing a computer to execute the steps of:
obtaining a plurality of object images, the plurality of object images being taken by an image pickup device while moving a focal position within a predetermined range, the image pickup device being capable of taking images of an object at arbitrary focal positions within the predetermined range;
calculating a first in-focus position within the predetermined range based on pieces of contrast information on a manually-taken object image group, the manually-taken object image group including the plurality of object images taken while manually moving the focal position within the predetermined range; and
calculating a second in-focus position within the search range based on pieces of contrast information on an automatically-taken object image group, the automatically-taken object image group including the plurality of object images taken while automatically moving the focal position within a search range, the search range being determined with reference to the calculated first in-focus position.
16. A vision measuring apparatus, comprising:
an image pickup unit capable of taking images of an object at arbitrary focal positions within a predetermined range;
an obtaining unit configured to obtain a plurality of object images, the plurality of object images being taken by the image pickup unit while moving a focal position within the predetermined range;
a first calculator capable of calculating a first in-focus position within the predetermined range based on pieces of contrast information on a manually-taken object image group, the manually-taken object image group including the plurality of object images taken while manually moving the focal position within the predetermined range; and
a second calculator capable of calculating a second in-focus position within the search range based on pieces of contrast information on an automatically-taken object image group, the automatically-taken object image group including the plurality of object images taken while automatically moving the focal position within a search range, the search range being determined with reference to the calculated first in-focus position.
17. The information processing apparatus, comprising:
an obtaining unit configured to obtain a plurality of object images, the plurality of object images being taken by an image pickup device while moving a focal position within a predetermined range, the image pickup device being capable of taking images of an object at arbitrary focal positions within the predetermined range;
storage configured to store a map-for-calculation, the map-for-calculation including a plurality of divided areas;
a setup unit configured to set a plurality of divided areas for each of the plurality of object images, the plurality of divided areas being obtained by dividing the object image, the plurality of divided areas corresponding to the plurality of areas of the map-for-calculation; and
a calculator configured
to calculate divided-area in-focus positions for the divided areas based on pieces of contrast information on the plurality of divided areas, the plurality of divided areas being set for each object image, the divided-area in-focus positions being within the predetermined range, and
to calculate an in-focus position of the object image within the predetermined range based on pieces of information on the divided-area in-focus positions.